2019-02-12 16:24:37 +00:00
|
|
|
<div style="position: relative;">
|
2020-07-20 09:31:47 +00:00
|
|
|
<div style="position: absolute; top: 0; left: 0; z-index: 1">
|
2019-02-12 16:24:37 +00:00
|
|
|
<vn-icon-button
|
2020-07-20 09:31:47 +00:00
|
|
|
class="vn-pt-sm"
|
|
|
|
icon="more_vert"
|
|
|
|
ng-click="$ctrl.showSmartTable($event)">
|
2019-02-12 16:24:37 +00:00
|
|
|
</vn-icon-button>
|
2020-07-20 09:31:47 +00:00
|
|
|
<vn-popover
|
2019-02-12 16:24:37 +00:00
|
|
|
class="modal-form"
|
2020-07-20 09:31:47 +00:00
|
|
|
vn-id="smart-table"
|
2020-05-06 12:38:09 +00:00
|
|
|
message="Fields to show">
|
2019-02-12 16:24:37 +00:00
|
|
|
<tpl-body>
|
2019-10-04 22:16:57 +00:00
|
|
|
<div class="vn-pa-md">
|
2019-02-12 16:24:37 +00:00
|
|
|
<vn-horizontal ng-repeat="field in fields">
|
|
|
|
<vn-check
|
2019-02-15 16:30:22 +00:00
|
|
|
vn-one label="{{titles[field]}}"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="tableConfiguration.configuration[field]">
|
2019-02-12 16:24:37 +00:00
|
|
|
</vn-check>
|
|
|
|
</vn-horizontal>
|
2019-02-15 16:30:22 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-button
|
|
|
|
label="Save"
|
|
|
|
ng-click="$ctrl.saveConfiguration(tableConfiguration)">
|
|
|
|
</vn-button>
|
|
|
|
</vn-horizontal>
|
2019-02-12 16:24:37 +00:00
|
|
|
</div>
|
|
|
|
</tpl-body>
|
2020-07-20 09:31:47 +00:00
|
|
|
</vn-popover>
|
2019-02-12 16:24:37 +00:00
|
|
|
</div>
|
|
|
|
</div>
|