mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 08:18:50 +00:00
Added filtering option to Lists and Products views.
This commit is contained in:
parent
0768e707b8
commit
7641b17e6f
6 changed files with 208 additions and 20 deletions
|
|
@ -4,7 +4,15 @@
|
|||
<table class="highlight striped responsive-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Product Name</th>
|
||||
<th>
|
||||
{{#if $eq searchProd false}}
|
||||
Product Name <i class="material-icons clickable right" id="filterProds">search</i>
|
||||
{{else}}
|
||||
<div style="width: 100%;">
|
||||
<input type="text" class="searchProds" id="searchProds" style="width:85%" /> <i class="material-icons clickable" id="closeFilter">close</i>
|
||||
</div>
|
||||
{{/if}}
|
||||
</th>
|
||||
<th>Category</th>
|
||||
<th>Store</th>
|
||||
<th>Location</th>
|
||||
|
|
@ -14,7 +22,7 @@
|
|||
<tbody>
|
||||
{{#each products}}
|
||||
<tr>
|
||||
<td>{{prodName}}</td>
|
||||
<td>{{prodName}} </td>
|
||||
<td>{{prodCategory}}</td>
|
||||
<td>{{prodStore}}</td>
|
||||
<td>{{prodLocation}}</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue