mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
dev work on menu to prod link
This commit is contained in:
parent
01ae220674
commit
9abb198e82
7 changed files with 163 additions and 3 deletions
|
|
@ -2,8 +2,15 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Menu Item</th>
|
||||
<th>Date to Serve</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{#each thisMenuItems}}
|
||||
<tr class="clickable">
|
||||
<tr>
|
||||
<td>
|
||||
<span>
|
||||
{{#if $eq itemMade true}}
|
||||
|
|
@ -17,12 +24,16 @@
|
|||
{{serveDate}}
|
||||
</td>
|
||||
<td>
|
||||
<i class="material-icons clickable deleteMenuItem right modal-trigger" data-target="modalDelete">delete</i>
|
||||
<i class="material-icons tooltipped modal-trigger deleteMenuItem clickable" href="#modalDelete" data-position="top" data-tooltip-id="deleteMenuTip">delete</i>
|
||||
<i class="material-icons tooltipped modal-trigger linkToProducts clickable" href="#modalLinkProducts" data-position="top" data-tooltip-id="linkMenuTip">link</i>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</table>
|
||||
<div class="tooltip-content" style="display: none;" id="deleteMenuTip">Delete this menu item</div>
|
||||
<div class="tooltip-content" style="display: none;" id="linkMenuTip">Link Products that make up this menu item</div>
|
||||
</div>
|
||||
</div>
|
||||
{{> deleteConfirmationModal}}
|
||||
{{> modalLinkProducts}}
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue