passman/templates/views/edit_credential.html

32 lines
1.1 KiB
HTML
Raw Normal View History

2016-09-21 02:51:41 +08:00
<div id="controls">
<div class="actions creatable">
<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>
</div>
</div>
<ul class="tab_header">
<li ng-repeat="tab in tabs track by $index" class="tab"
ng-class="{active:isActiveTab(tab)}"
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>
2016-12-20 06:51:15 +08:00
<button ng-click="saveCredential()">{{ 'save' | translate}}</button>
<button ng-click="cancel()">{{ 'cancel' | translate}}</button>
</div>