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">
|
|
|
|
<a ng-if="storedCredential.credential_id">Edit credential
|
|
|
|
"{{storedCredential.label}}"</a>
|
|
|
|
<a ng-if="!storedCredential.credential_id">Create new
|
|
|
|
credential</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-13 06:10:24 +08:00
|
|
|
<ul class="tab_header">
|
|
|
|
<li ng-repeat="tab in tabs track by $index" class="tab"
|
|
|
|
ng-class="{active:isActiveTab(tab)}"
|
2016-09-21 02:51:41 +08:00
|
|
|
ng-click="onClickTab(tab)">{{tab.title}}
|
|
|
|
</li>
|
2016-09-13 06:10:24 +08:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="tab_container edit_credential">
|
|
|
|
<div ng-include="currentTab.url"></div>
|
2016-09-21 02:51:41 +08:00
|
|
|
<button ng-click="saveCredential()">Save</button>
|
|
|
|
<button ng-click="cancel()">Cancel</button>
|
2016-09-13 06:10:24 +08:00
|
|
|
</div>
|