Last active
August 29, 2015 13:57
-
-
Save pward123/9644134 to your computer and use it in GitHub Desktop.
Simple search panel block helper
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
<template name='editableList'> | |
<div class="panel panel-default search-panel"> | |
<div class="panel-heading"> | |
<span style="color:#428BCA;font-size:17px;line-height:19.5px">{{name}}</span> | |
<div class="panel-toolbar pull-right"> | |
<form class="nav-search" style="right:40px;"> | |
<span class="input-icon"> | |
<input type="text" placeholder="Search ..." class="nav-search-input" autocomplete="off" name="search"/> | |
<i class="icon-search nav-search-icon"></i> | |
</span> | |
</form> | |
<a action="new"> | |
<i class="icon-plus"></i> | |
</a> | |
</div> | |
</div> | |
<div class="list-group"> | |
{{> UI.contentBlock}} | |
</div> | |
</div> | |
</template> |
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
<template name='displayBankList'> | |
{{#editableList name="Display Banks"}} | |
{{#each displayBanks}} | |
<a href={{pathFor 'displayBankEdit'}} class="driver list-group-item"> | |
{{name}} | |
<div class="action-buttons pull-right"> | |
<a class="red" action="delete"> | |
<i class="icon-trash bigger-130"></i> | |
</a> | |
</div> | |
</a> | |
{{/each}} | |
{{/editableList}} | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment