-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from gaiaresources/1934-expand-groups-sections
1934 expand groups sections
- Loading branch information
Showing
6 changed files
with
127 additions
and
13 deletions.
There are no files selected for viewing
13 changes: 8 additions & 5 deletions
13
wildlifelicensing/apps/applications/handlebars_templates/group.handlebars
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,22 +1,25 @@ | ||
<div class="top-buffer bottom-buffer"> | ||
<h4>{{label}}</h4> | ||
<h4 class="inline">{{label}}</h4> | ||
{{#unless isRemovable}} | ||
{{#if help_text}} | ||
<p id="description_{{name}}" >{{{help_text}}}</p> | ||
{{/if}} | ||
{{/unless}} | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<div class="children-anchor-point" style="padding-left: 0px"> | ||
<a class="collapse-link-top pull-right"><span class="glyphicon glyphicon-chevron-down"></a> | ||
<div class="children-anchor-point collapse in" style="padding-left: 0px"> | ||
</div> | ||
{{#unless isPreviewMode }} | ||
{{#if isRepeatable }} | ||
<a id="copy_{{name}}">Copy {{label}}</a> | ||
{{/if}} | ||
<div class="pull-right"> | ||
<a id="remove_{{name}}" class="{{#unless isRemovable}}hidden{{/unless}}">Remove</a> | ||
</div> | ||
<span class="{{#unless isRemovable}}hidden{{/unless}}"> | ||
<span class="margin-left margin-right">|</span> | ||
<a id="remove_{{name}}" ">Remove {{label}}</a> | ||
</span> | ||
{{/unless}} | ||
<a class="collapse-link-bottom pull-right"><span class="glyphicon glyphicon-chevron-up"></a> | ||
</div> | ||
</div> | ||
</div> |
6 changes: 4 additions & 2 deletions
6
wildlifelicensing/apps/applications/handlebars_templates/section.handlebars
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,2 +1,4 @@ | ||
<h3 id="{{name}}" class="section">{{label}}</h3> | ||
<hr> | ||
<h3 id="{{name}}" class="section inline">{{label}}</h3><a class="collapse-link-top top-buffer-s pull-right"><span class="glyphicon glyphicon-chevron-down"></span></a> | ||
<hr> | ||
<div class="children-anchor-point collapse in"> | ||
</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
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
Oops, something went wrong.