Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
feat(links): move design toolbar to include
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Jolicoeur authored and dgutride committed Jun 29, 2017
1 parent e9b61c0 commit cdbb538
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
28 changes: 28 additions & 0 deletions _includes/design-toolbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<div class="row toolbar-pf table-view-pf-toolbar" id="toolbar1">
<div class="col-sm-12">
<form class="toolbar-pf-actions">
<div class="form-group toolbar-pf-filter">
<label class="sr-only" for="filter">
Filter Designs
</label>
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" id="filter" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Filter Designs <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li>
<a data-target="#" id="design">Design Title</a>
</li>
<li>
<a data-target="#" id="designer">Designer</a>
</li>
</ul>
</div>
<input type="text" class="form-control" placeholder="by Design Title..." autocomplete="off" id="designFilter" onkeyup="titleFunction()">
<input type="text" class="form-control hide" placeholder="by Designer..." autocomplete="off" id="designerFilter" onkeyup="designerFunction()">
</div>
</div>
</form>
</div>
</div>
29 changes: 1 addition & 28 deletions _layouts/links-current.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,7 @@
.hide { display: none; }
</style>
<!-- Toolbar -->
<div class="row toolbar-pf table-view-pf-toolbar" id="toolbar1">
<div class="col-sm-12">
<form class="toolbar-pf-actions">
<div class="form-group toolbar-pf-filter">
<label class="sr-only" for="filter">
Filter Designs
</label>
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" id="filter" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Filter Designs <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li>
<a data-target="#" id="design">Design Title</a>
</li>
<li>
<a data-target="#" id="designer">Designer</a>
</li>
</ul>
</div>
<input type="text" class="form-control" placeholder="by Design Title..." autocomplete="off" id="designFilter" onkeyup="titleFunction()">
<input type="text" class="form-control hide" placeholder="by Designer..." autocomplete="off" id="designerFilter" onkeyup="designerFunction()">
</div>
</div>
</form>
</div>
</div>
{% include design-toolbar.html %}
<section>
<div class="container-fluid">
<div class="col-sm-12">
Expand Down

0 comments on commit cdbb538

Please sign in to comment.