salix/front/core/directives/uvc.html

32 lines
1.2 KiB
HTML
Raw Normal View History

<div style="position: relative;">
<div style="position: absolute; top: 0; left: 0; padding: .3em; z-index: 1">
<vn-icon-button
icon="menu"
ng-click="$ctrl.showUvc($event)">
</vn-icon-button>
<vn-dialog
class="modal-form"
vn-id="uvc">
<tpl-body>
<vn-horizontal class="vn-pa-md header">
<h5><span translate>Fields to show</span></h5>
</vn-horizontal>
<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>
</vn-dialog>
</div>
</div>