mirror of
https://github.com/nextcloud/passman.git
synced 2025-09-19 19:34:47 +08:00
Fixed Shares
This commit is contained in:
parent
201a070e19
commit
35b5a1487f
3 changed files with 15 additions and 13 deletions
|
@ -441,6 +441,9 @@
|
|||
height:auto;
|
||||
overflow:auto;
|
||||
width:100%;
|
||||
.share{
|
||||
overflow:hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.app_sidebar {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div off-click="closeSelected()" class="main_list ">
|
||||
<div off-click="closeSelected()" class="main_list">
|
||||
<div id="passman-controls">
|
||||
<div class="actions creatable">
|
||||
<div class="breadcrumb">
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<div id="controls">
|
||||
<div class="main_list.share">
|
||||
<div id="passman-controls">
|
||||
<div class="actions creatable">
|
||||
<div class="breadcrumb">
|
||||
<div class="crumb svg ui-droppable" data-dir="/">
|
||||
|
@ -15,21 +16,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="tab_header">
|
||||
<li ng-repeat="tab in tabs track by $index" class="tab"
|
||||
ng-class="{active:isActiveTab(tab)}"
|
||||
ng-click="onClickTab(tab)" use-theme color="'true'">{{tab.title}}
|
||||
<div class="indicator" use-theme negative="'true'"></div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="tab_container share_credential" ng-show="currentTab">
|
||||
<ul class="tab_header">
|
||||
<li ng-repeat="tab in tabs track by $index" class="tab"
|
||||
ng-class="{active:isActiveTab(tab)}"
|
||||
ng-click="onClickTab(tab)" use-theme color="'true'">{{tab.title | translate}}
|
||||
<div class="indicator" use-theme negative="'true'"></div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab_container share_credential" ng-show="currentTab">
|
||||
<div ng-include="currentTab.url"></div>
|
||||
|
||||
<button ng-click="applyShare()" ng-disabled="share_settings.linkSharing.enabled === false && share_settings.credentialSharedWithUserAndGroup.length === 0">{{ 'share' | translate}}</button>
|
||||
<button ng-click="cancel()">{{ 'cancel' | translate}}</button>
|
||||
<button class="btn btn-danger" ng-disabled="!storedCredential.shared_key" ng-click="unshareCredential(storedCredential)">{{ 'unshare' | translate}}</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue