passman/templates/views/edit_credential.html

36 lines
1.2 KiB
HTML
Raw Normal View History

2018-09-30 01:06:54 +08:00
<div id="passman-controls">
<div class="breadcrumb">
2016-09-21 02:51:41 +08:00
<div class="breadcrumb">
<div class="crumb svg ui-droppable" data-dir="/">
2016-09-23 18:30:50 +08:00
<a ng-click="logout()"><i class="fa fa-home"></i></a>
2016-09-21 02:51:41 +08:00
</div>
<div class="crumb svg" data-dir="/Test">
2016-09-23 18:30:50 +08:00
<a ng-click="cancel()">{{active_vault.name}}</a>
2016-09-21 02:51:41 +08:00
</div>
<div class="crumb svg last" data-dir="/Test">
2016-12-20 06:51:15 +08:00
<a ng-if="storedCredential.credential_id">{{ 'edit.credential' | translate}}
2016-09-21 02:51:41 +08:00
"{{storedCredential.label}}"</a>
2016-12-20 06:51:15 +08:00
<a ng-if="!storedCredential.credential_id">{{ 'create.credential' | translate}}</a>
2016-09-21 02:51:41 +08:00
</div>
</div>
2016-09-21 02:51:41 +08:00
</div>
</div>
2018-09-30 01:06:54 +08:00
<div>
<ul class="tab_header">
<li ng-repeat="tab in tabs track by $index" class="tab"
ng-class="isActiveTab(tab)? 'active' : 'inactive'"
2016-10-07 22:29:51 +08:00
ng-click="onClickTab(tab)" use-theme color="'true'"
2016-09-28 07:23:57 +08:00
>{{tab.title}}
2016-10-07 22:29:51 +08:00
<div class="indicator" use-theme negative="'true'"></div>
2016-09-21 02:51:41 +08:00
</li>
</ul>
2016-10-07 22:29:51 +08:00
<div class="tab_container edit_credential" use-theme type="'border-top-color'">
<div ng-include="currentTab.url"></div>
<button ng-click="saveCredential()" ng-disabled="saving"><i class="fa fa-spinner fa-spin" ng-show="saving"></i> {{ 'save' | translate}}</button>
2016-12-20 06:51:15 +08:00
<button ng-click="cancel()">{{ 'cancel' | translate}}</button>
</div>
2018-09-30 01:06:54 +08:00
</div>