Added filtering option to Lists and Products views.

This commit is contained in:
Brian McGonagill 2022-08-25 15:39:27 -05:00
parent 0768e707b8
commit 7641b17e6f
6 changed files with 208 additions and 20 deletions

View file

@ -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>