salix/front/core/directives/smart-table.html

31 lines
1.1 KiB
HTML
Raw Permalink Normal View History

<div style="position: relative;">
2020-07-20 09:31:47 +00:00
<div style="position: absolute; top: 0; left: 0; z-index: 1">
<vn-icon-button
2020-07-20 09:31:47 +00:00
class="vn-pt-sm"
icon="more_vert"
ng-click="$ctrl.showSmartTable($event)">
</vn-icon-button>
2020-07-20 09:31:47 +00:00
<vn-popover
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">
<tpl-body>
<div class="vn-pa-md">
<vn-horizontal ng-repeat="field in fields">
<vn-check
vn-one label="{{titles[field]}}"
2019-10-09 22:47:29 +00:00
ng-model="tableConfiguration.configuration[field]">
</vn-check>
</vn-horizontal>
<vn-horizontal>
<vn-button
label="Save"
ng-click="$ctrl.saveConfiguration(tableConfiguration)">
</vn-button>
</vn-horizontal>
</div>
</tpl-body>
2020-07-20 09:31:47 +00:00
</vn-popover>
</div>
</div>