passman/templates/views/share_credential.html

36 lines
1.1 KiB
HTML
Raw Normal View History

<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>
</div>
<div class="crumb svg" data-dir="/Test">
2016-09-23 18:30:50 +08:00
<a ng-click="cancel()">{{active_vault.name}}</a>
</div>
<div class="crumb svg last" data-dir="/Test">
2016-12-20 06:51:15 +08:00
<a ng-if="storedCredential.credential_id">
{{ 'share.credential' | translate}} {{storedCredential.label}}
</a>
</div>
</div>
</div>
</div>
2016-09-21 02:03:37 +08:00
<ul class="tab_header">
<li ng-repeat="tab in tabs track by $index" class="tab"
ng-class="{active:isActiveTab(tab)}"
2016-10-07 22:34:59 +08:00
ng-click="onClickTab(tab)" use-theme color="'true'">{{tab.title}}
<div class="indicator" use-theme negative="'true'"></div>
</li>
2016-09-21 02:03:37 +08:00
</ul>
<div class="tab_container share_credential" ng-show="currentTab">
2016-09-21 02:03:37 +08:00
<div ng-include="currentTab.url"></div>
2016-12-20 06:51:15 +08:00
<button ng-click="applyShare()">{{ 'share' | translate}}</button>
<button ng-click="cancel()">{{ 'cancel' | translate}}</button>
<button class="btn btn-danger" ng-click="unshareCredential(storedCredential)">{{ 'unshare' | translate}}</button>
2016-09-21 02:03:37 +08:00
</div>