salix/modules/account/front/accounts/index.html

76 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2020-10-31 21:56:02 +00:00
<vn-watcher
vn-id="watcher"
url="AccountConfigs"
data="$ctrl.config"
id-value="1"
form="form">
</vn-watcher>
<form
name="form"
ng-submit="watcher.submit()"
class="vn-w-md">
2020-11-07 20:05:14 +00:00
<vn-card class="vn-pa-lg" vn-focus>
2020-10-31 21:56:02 +00:00
<vn-vertical>
<vn-textfield
2023-11-16 22:07:26 +00:00
label="Homedir base"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.homedir"
2020-11-07 20:05:14 +00:00
rule="AccountConfig">
2020-10-31 21:56:02 +00:00
</vn-textfield>
<vn-textfield
2023-11-16 22:07:26 +00:00
label="Shell"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.shell"
rule="AccountConfig">
</vn-textfield>
<vn-input-number
2023-11-16 22:07:26 +00:00
label="User and role base id"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.idBase"
rule="AccountConfig">
</vn-input-number>
<vn-horizontal>
<vn-input-number
2023-11-16 22:07:26 +00:00
label="Min"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.min"
rule="AccountConfig">
</vn-input-number>
<vn-input-number
2023-11-16 22:07:26 +00:00
label="Max"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.max"
rule="AccountConfig">
</vn-input-number>
</vn-horizontal>
<vn-horizontal>
<vn-input-number
2023-11-16 22:07:26 +00:00
label="Warn"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.warn"
rule="AccountConfig">
</vn-input-number>
<vn-input-number
2023-11-16 22:07:26 +00:00
label="Inact"
2020-10-31 21:56:02 +00:00
ng-model="$ctrl.config.inact"
rule="AccountConfig">
</vn-input-number>
</vn-horizontal>
</vn-vertical>
</vn-card>
<vn-button-bar>
2020-12-16 10:07:06 +00:00
<vn-submit
disabled="!watcher.dataChanged()"
label="Save">
</vn-submit>
2020-10-31 21:56:02 +00:00
<vn-button
label="Synchronize all"
ng-click="$ctrl.onSynchronizeAll()">
</vn-button>
<vn-button
label="Synchronize roles"
ng-click="$ctrl.onSynchronizeRoles()">
</vn-button>
2020-12-16 10:07:06 +00:00
<vn-button
disabled="!watcher.dataChanged()"
2020-12-16 10:07:06 +00:00
class="cancel"
label="Undo changes"
ng-click="watcher.loadOriginalData()">
</vn-button>
2020-10-31 21:56:02 +00:00
</vn-button-bar>
</form>