This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2017-05-05 11:08:19 +02:00
|
|
|
<h1>List of Products</h1>
|
2017-04-07 15:05:56 +02:00
|
|
|
<table class="ui very compact table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-05-12 10:17:27 +02:00
|
|
|
<th class="two wide">#</th>
|
|
|
|
<th class="twelve wide">Productname</th>
|
|
|
|
<th class="one wide">Amount</th>
|
|
|
|
<th class="one wide"></th>
|
2017-04-07 15:05:56 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="item in list">
|
|
|
|
<td>{{item.id}}</td>
|
|
|
|
<td><a ui-sref="item({productid: item.id})">{{item.title}}</a></td>
|
|
|
|
<td>
|
2017-05-12 13:05:04 +02:00
|
|
|
<img class="icon" ng-src="{{'/api/good/availablity/'+item.id| reloadSrc}}"/>
|
2017-05-12 10:17:27 +02:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a class="ui icon button" ui-sref="item-add({productid: item.id})"><i class="icon plus"></i></a>
|
2017-04-07 15:05:56 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|