account or user module refactors
This commit is contained in:
parent
e9f73c3299
commit
2a63a3b0a4
|
@ -53,33 +53,32 @@
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-button-bar>
|
<vn-button-bar>
|
||||||
|
<vn-submit
|
||||||
|
disabled="!watcher.dataChanged()"
|
||||||
|
label="Save">
|
||||||
|
</vn-submit>
|
||||||
<vn-button
|
<vn-button
|
||||||
label="Undo changes"
|
disabled="!watcher.dataChanged()"
|
||||||
ng-if="watcher.dataChanged()"
|
|
||||||
ng-click="watcher.loadOriginalData()">
|
|
||||||
</vn-button>
|
|
||||||
<vn-button
|
|
||||||
ng-if="!watcher.dataChanged()"
|
|
||||||
label="Synchronize all"
|
label="Synchronize all"
|
||||||
ng-click="$ctrl.onSynchronizeAll()">
|
ng-click="$ctrl.onSynchronizeAll()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
ng-if="!watcher.dataChanged()"
|
disabled="!watcher.dataChanged()"
|
||||||
label="Synchronize user"
|
label="Synchronize user"
|
||||||
ng-click="syncUser.show()">
|
ng-click="syncUser.show()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
ng-if="!watcher.dataChanged()"
|
disabled="!watcher.dataChanged()"
|
||||||
label="Synchronize roles"
|
label="Synchronize roles"
|
||||||
ng-click="$ctrl.onSynchronizeRoles()">
|
ng-click="$ctrl.onSynchronizeRoles()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
|
label="Undo changes"
|
||||||
|
disabled="!watcher.dataChanged()"
|
||||||
|
ng-click="watcher.loadOriginalData()">
|
||||||
|
</vn-button>
|
||||||
</vn-button-bar>
|
</vn-button-bar>
|
||||||
<vn-submit
|
|
||||||
icon="save"
|
|
||||||
vn-tooltip="Save"
|
|
||||||
class="round"
|
|
||||||
fixed-bottom-right>
|
|
||||||
</vn-submit>
|
|
||||||
</form>
|
</form>
|
||||||
<vn-dialog
|
<vn-dialog
|
||||||
vn-id="syncUser"
|
vn-id="syncUser"
|
||||||
|
|
|
@ -56,10 +56,15 @@
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-submit
|
<vn-button-bar>
|
||||||
icon="check"
|
<vn-submit
|
||||||
vn-tooltip="Create"
|
disabled="!watcher.dataChanged()"
|
||||||
class="round"
|
label="Create">
|
||||||
fixed-bottom-right>
|
</vn-submit>
|
||||||
</vn-submit>
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
|
label="Cancel"
|
||||||
|
ui-sref="account.acl">
|
||||||
|
</vn-button>
|
||||||
|
</vn-button-bar>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -24,10 +24,15 @@
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-submit
|
<vn-button-bar>
|
||||||
icon="check"
|
<vn-submit
|
||||||
vn-tooltip="Create"
|
disabled="!watcher.dataChanged()"
|
||||||
class="round"
|
label="Create">
|
||||||
fixed-bottom-right>
|
</vn-submit>
|
||||||
</vn-submit>
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
|
label="Cancel"
|
||||||
|
ui-sref="account.alias">
|
||||||
|
</vn-button>
|
||||||
|
</vn-button-bar>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -44,10 +44,14 @@
|
||||||
</vn-check>
|
</vn-check>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-submit
|
<vn-button-bar>
|
||||||
icon="check"
|
<vn-submit
|
||||||
vn-tooltip="Create"
|
label="Create">
|
||||||
class="round"
|
</vn-submit>
|
||||||
fixed-bottom-right>
|
<vn-button
|
||||||
</vn-submit>
|
class="cancel"
|
||||||
|
label="Cancel"
|
||||||
|
ui-sref="account.index">
|
||||||
|
</vn-button>
|
||||||
|
</vn-button-bar>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -48,21 +48,20 @@
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-button-bar>
|
<vn-button-bar>
|
||||||
|
<vn-submit
|
||||||
|
disabled="!watcher.dataChanged()"
|
||||||
|
label="Save">
|
||||||
|
</vn-submit>
|
||||||
<vn-button
|
<vn-button
|
||||||
disabled="watcher.dataChanged()"
|
disabled="watcher.dataChanged()"
|
||||||
label="Test connection"
|
label="Test connection"
|
||||||
ng-click="$ctrl.onTestConection()">
|
ng-click="$ctrl.onTestConection()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
label="Undo changes"
|
label="Undo changes"
|
||||||
ng-if="watcher.dataChanged()"
|
disabled="!watcher.dataChanged()"
|
||||||
ng-click="watcher.loadOriginalData()">
|
ng-click="watcher.loadOriginalData()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
</vn-button-bar>
|
</vn-button-bar>
|
||||||
<vn-submit
|
|
||||||
icon="save"
|
|
||||||
vn-tooltip="Save"
|
|
||||||
class="round"
|
|
||||||
fixed-bottom-right>
|
|
||||||
</vn-submit>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -24,10 +24,15 @@
|
||||||
</vn-textfield>
|
</vn-textfield>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-submit
|
<vn-button-bar>
|
||||||
icon="check"
|
<vn-submit
|
||||||
vn-tooltip="Create"
|
disabled="!watcher.dataChanged()"
|
||||||
class="round"
|
label="Create">
|
||||||
fixed-bottom-right>
|
</vn-submit>
|
||||||
</vn-submit>
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
|
label="Cancel"
|
||||||
|
ui-sref="account.role">
|
||||||
|
</vn-button>
|
||||||
|
</vn-button-bar>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -47,21 +47,20 @@
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
<vn-button-bar>
|
<vn-button-bar>
|
||||||
|
<vn-submit
|
||||||
|
disabled="!watcher.dataChanged()"
|
||||||
|
label="Save">
|
||||||
|
</vn-submit>
|
||||||
<vn-button
|
<vn-button
|
||||||
disabled="watcher.dataChanged()"
|
disabled="watcher.dataChanged()"
|
||||||
label="Test connection"
|
label="Test connection"
|
||||||
ng-click="$ctrl.onTestConection()">
|
ng-click="$ctrl.onTestConection()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
|
class="cancel"
|
||||||
label="Undo changes"
|
label="Undo changes"
|
||||||
ng-if="watcher.dataChanged()"
|
disabled="!watcher.dataChanged()"
|
||||||
ng-click="watcher.loadOriginalData()">
|
ng-click="watcher.loadOriginalData()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
</vn-button-bar>
|
</vn-button-bar>
|
||||||
<vn-submit
|
</form>
|
||||||
icon="save"
|
|
||||||
vn-tooltip="Save"
|
|
||||||
class="round"
|
|
||||||
fixed-bottom-right>
|
|
||||||
</vn-submit>
|
|
||||||
</form>
|
|
Loading…
Reference in New Issue