-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.html
More file actions
35 lines (33 loc) · 947 Bytes
/
menu.html
File metadata and controls
35 lines (33 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<div>
<h3>{{items.getMessage()}}</h3>
<table class="table table-striped">
<thead>
<tr ng-hide="items.menu == null || items.menu.length == 0">
<th>#</th>
<th>Name</th>
<th>Codename</th>
<th>Price</th>
<th>Min. Price</th>
<th>Description</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="entry in items.menu">
<td>{{entry.id}}</td>
<td><span class="glyphicon glyphicon-check"></span> {{entry.name}}</td>
<td>{{entry.short_name}}</td>
<td>{{entry.price_large}}</td>
<td>{{entry.price_small}}</td>
<td title="{{entry.description}}">
<span class="glyphicon glyphicon-info-sign"></span> Hover for full description
</td>
<td>
<button href="#" class="btn btn-info" ng-click="items.onRemove({indexToDelete: $index})">
<span class="glyphicon glyphicon-remove"></span> Don't want this one!
</button>
</td>
</tr>
</tbody>
</table>
</div>