salix/client/item/src/list/list.html

24 lines
948 B
HTML
Raw Normal View History

2017-12-19 11:29:35 +00:00
<mg-ajax path="/item/api/Items/filter" options="mgIndex"></mg-ajax>
<div margin-medium>
<div style="max-width: 40em; margin: 0 auto;">
<vn-card>
<vn-horizontal pad-medium>
<vn-searchbar vn-one
index="index"
on-search="$ctrl.search(index)"
advanced="true"
2017-12-20 11:20:59 +00:00
popover="vn-item-filter-panel"
2017-12-19 11:29:35 +00:00
ignore-keys = "['page', 'size', 'search']"
>
</vn-searchbar>
</vn-horizontal>
</vn-card>
<vn-card margin-medium-top>
<vn-item-product ng-repeat="item in index.model.instances" title="View item" item="item"></vn-item-product>
</vn-card>
<vn-paging index="index" total="index.model.count"></vn-paging>
</div>
<a ui-sref="item.create" fixed-bottom-right>
<vn-float-button icon="add"></vn-float-button>
</a>
</div>