This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continued to make patterns more dynamic with mustache
- Loading branch information
1 parent
a861476
commit abc8457
Showing
28 changed files
with
296 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
<div class="panel {{panelClass}}"> | ||
{{# panelHeading }} | ||
<div class="panel-heading">{{ panelHeading }}</h3></div> | ||
{{/ panelHeading }} | ||
<div class="panel-body"> | ||
{{ text }} | ||
</div> | ||
{{# panelFooter }} | ||
<div class="panel-footer">{{ panelFooter}}</div> | ||
{{/ panelFooter }} | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="well {{ wellClass }}"> | ||
{{ wellText }} | ||
{{ text }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<div class="jumbotron"> | ||
<h1>{{ heading }}</h1> | ||
<p>{{ text }}</p> | ||
<p><a class="btn btn-primary btn-lg" href="#" role="button">{{ cta }}</a></p> | ||
{{# cta }} | ||
<p><a class="btn btn-primary btn-lg" href="{{ url }}" role="button">{{ cta }}</a></p> | ||
{{/ cta }} | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
<div class="media"> | ||
<div class="media-left"> | ||
<a href="#"> | ||
{{# mediaLeft }} | ||
<div class="media-left {{ mediaClass }}"> | ||
<a href="{{ url }}"> | ||
<img class="media-object" src="{{ mediaImage }}" alt="{{ alt }}"> | ||
</a> | ||
</div> | ||
{{/ mediaLeft }} | ||
<div class="media-body"> | ||
<h4 class="media-heading">{{ heading }}</h4> | ||
{{ text }} | ||
</div> | ||
{{# mediaRight }} | ||
<div class="media-right {{ mediaClass }}"> | ||
<a href="{{ url }}"> | ||
<img class="media-object" src="{{ mediaImage }}" alt="{{ alt }}"> | ||
</a> | ||
</div> | ||
{{/ mediaRight }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
dist/_patterns/01-molecules/03-media/03-responsive-embed.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="embed-responsive embed-responsive-16by9"> | ||
<div class="embed-responsive {{ embedClass }}"> | ||
<iframe class="embed-responsive-item" src="{{ mediaEmbed }}" allowfullscreen></iframe> | ||
</div> |
4 changes: 2 additions & 2 deletions
4
dist/_patterns/01-molecules/03-media/04-thumbnails-caption.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<div class="thumbnail"> | ||
<img src="{{ src }}" alt="{{ alt }}"> | ||
{{# captionClass }} | ||
{{# caption }} | ||
<div class="caption"> | ||
{{{ caption }}} | ||
</div> | ||
{{/ captionClass }} | ||
{{/ caption }} | ||
</div> | ||
|
9 changes: 7 additions & 2 deletions
9
dist/_patterns/01-molecules/04-forms/00-input-groups.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
dist/_patterns/01-molecules/04-forms/02-input-groups-checkbox.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div class="input-group"> | ||
<span class="input-group-addon"> | ||
<input type="checkbox" aria-label="Checkbox for following text input"> | ||
<input type="checkbox" aria-label="{{ ariaLabel }}"> | ||
</span> | ||
{{> atoms-input }} | ||
</div><!-- /input-group --> |
2 changes: 1 addition & 1 deletion
2
dist/_patterns/01-molecules/04-forms/03-input-groups-radio.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
dist/_patterns/01-molecules/05-navigation/00-breadcrumbs.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{{# breadcrumbs}} | ||
<ol class="breadcrumb"> | ||
{{# breadList }} | ||
<li><a href="#">{{ listText }}</a></li> | ||
{{/ breadList }} | ||
{{# breadcrumbs }} | ||
<li><a href="{{ url }}">{{ text }}</a></li> | ||
{{/ breadcrumbs }} | ||
</ol> | ||
{{/ breadcrumbs}} | ||
|
||
|
8 changes: 4 additions & 4 deletions
8
dist/_patterns/01-molecules/05-navigation/01-button-dropdown.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{{# buttonDropdown }} | ||
<button type="button" class="btn {{ buttonClass }} dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ cta }} <span class="caret"></span></button> | ||
<div class="btn-group"> | ||
<button type="button" class="btn {{ buttonClass }} dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ cta }} {{# caret }}<span class="{{ caret }}"></span>{{/ caret }}</button> | ||
<ul class="dropdown-menu"> | ||
{{# dropdownList }} | ||
<li><a href="#">{{ listText }}</a></li> | ||
<li {{# separator }}role="separator"{{/ separator }} {{# listItemClass }} class="{{ listItemClass }}"{{/ listItemClass }}><a href="{{ url }}">{{ text }}</a></li> | ||
{{/ dropdownList }} | ||
</ul> | ||
{{/ buttonDropdown }} | ||
</div> |
Oops, something went wrong.