actube/src/webui/articles.html
7u83@mail.ru f1feb4bc0d Webui...
FossilOrigin-Name: 1347512fa601971a2b059929d532efbc74b254262bd0b6eef92e629df89a82f7
2015-04-26 06:40:59 +00:00

35 lines
998 B
HTML

<form>
<input type="text" ng-model="search">
<p ng-show="search">Du suchst gerade nach: {{search}}</p>
</form>
<table class="table" ng-controller="ArticlesCtrl">
<tr ng-repeat="article in articles | filter:search">
<td>{{article.id}}</td>
<td>{{article.name}}</td>
<td>{{article.active}}</td>
<td><price value="article.price" /></td>
<!-- <td><a href class="btn btn-default btn-sm" ng-click="cart.addArticle(article);">Hinzufügen</a></td>-->
</tr>
</table>
<!--
<div ng-controller="CartCtrl">
<div ng-hide="cart.getItems().length" class="alert alert-info">Ihr Warenkorb ist noch leer.</div>
<table ng-show="cart.getItems().length" class="table">
<tr ng-repeat="item in cart.getItems() track by
$index" class="cart-item">
<td>{{item.name}}</td>
<td>{{item.active | currency}}</td>
</tr>
<tr>
<td>{{cart.getItems().length}} Artikel</td>
<td>{{cart.sum() | currency}}</td>
<td></td>
</tr>
</table>
</div>
-->