2018-03-13 13:30:25 +00:00
|
|
|
<mg-ajax path="/item/api/Items/filter" options="vnIndexNonAuto"></mg-ajax>
|
2017-12-19 11:29:35 +00:00
|
|
|
<div margin-medium>
|
2018-03-01 20:18:43 +00:00
|
|
|
<div class="vn-list">
|
2017-12-19 11:29:35 +00:00
|
|
|
<vn-card>
|
2018-04-19 13:16:11 +00:00
|
|
|
<vn-horizontal>
|
2017-12-19 11:29:35 +00:00
|
|
|
<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"
|
2018-02-14 10:33:21 +00:00
|
|
|
ignore-keys = "['page', 'size', 'search']">
|
2017-12-19 11:29:35 +00:00
|
|
|
</vn-searchbar>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
|
|
|
<vn-card margin-medium-top>
|
2018-03-01 20:18:43 +00:00
|
|
|
<vn-item-product
|
|
|
|
ng-repeat="item in index.model.instances"
|
|
|
|
item="item">
|
|
|
|
</vn-item-product>
|
2017-12-19 11:29:35 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-paging index="index" total="index.model.count"></vn-paging>
|
|
|
|
</div>
|
2018-03-01 20:18:43 +00:00
|
|
|
</div>
|
2018-04-23 09:17:30 +00:00
|
|
|
<a ui-sref="item.create" vn-bind="+" fixed-bottom-right>
|
2018-03-01 20:18:43 +00:00
|
|
|
<vn-float-button icon="add"></vn-float-button>
|
|
|
|
</a>
|
|
|
|
<vn-dialog vn-id="preview" class="dialog-summary">
|
|
|
|
<tpl-body>
|
|
|
|
<vn-item-summary item="$ctrl.itemSelected"></vn-item-summary>
|
|
|
|
</tpl-body>
|
|
|
|
</vn-dialog>
|
|
|
|
<vn-confirm
|
|
|
|
vn-id="clone"
|
|
|
|
on-response="$ctrl.onCloneAccept(response)"
|
|
|
|
question="Do you want to clone this item?"
|
|
|
|
message="All it's properties will be copied">
|
|
|
|
</vn-confirm>
|