salix/modules/worker/front/pbx/index.html

25 lines
689 B
HTML
Raw Normal View History

2019-03-08 08:41:53 +00:00
<vn-watcher
vn-id="watcher"
data="$ctrl.worker.sip">
2019-03-08 08:41:53 +00:00
</vn-watcher>
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
<vn-card class="vn-pa-lg">
2019-03-08 08:41:53 +00:00
<vn-vertical>
<vn-horizontal>
<vn-textfield
2019-03-08 08:41:53 +00:00
label="Extension"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.worker.sip.extension">
2019-03-08 08:41:53 +00:00
</vn-textfield>
</vn-horizontal>
</vn-vertical>
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
<vn-button
label="Undo changes"
ng-if="form.$dirty"
ng-click="watcher.loadOriginalData()">
</vn-button>
2019-03-08 08:41:53 +00:00
</vn-button-bar>
</form>