mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-10 09:13:00 +08:00
Fixed sharing styles
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
parent
11005bd496
commit
02dfbdcf6e
6 changed files with 27 additions and 6 deletions
|
@ -42,7 +42,7 @@ var PassmanImporter = PassmanImporter || {};
|
|||
var item = parsed_json[i];
|
||||
var _credential = PassmanImporter.newCredential();
|
||||
_credential.label = item.label;
|
||||
_credential.username = item.account;
|
||||
_credential.username = item.username;
|
||||
_credential.password = item.password;
|
||||
_credential.email = item.email;
|
||||
_credential.url = item.url;
|
||||
|
|
|
@ -541,12 +541,12 @@
|
|||
|
||||
}
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 70%;
|
||||
max-width: 100%;
|
||||
}
|
||||
.tools {
|
||||
margin-left: 10px;
|
||||
margin-top: 8px;
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
.cell {
|
||||
|
|
|
@ -30,6 +30,16 @@ header {
|
|||
padding-top: 0;
|
||||
}
|
||||
|
||||
.share-controller{
|
||||
width: 100%;
|
||||
.share-container{
|
||||
margin-top: 50px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
.credential_container{
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
|
@ -45,6 +55,7 @@ header {
|
|||
}
|
||||
button, .text{
|
||||
margin: 0 auto;
|
||||
margin-bottom: 25px;
|
||||
display: block;
|
||||
i{
|
||||
margin-right: 5px;
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
|
||||
.sharing_table {
|
||||
|
||||
.button{
|
||||
min-height: 42px;
|
||||
margin: 5px 0 0 0;
|
||||
}
|
||||
|
||||
td:first-child {
|
||||
width: 55%;
|
||||
|
@ -52,6 +56,10 @@
|
|||
}
|
||||
}
|
||||
.shared_table {
|
||||
.pending{
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.fa-trash {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
@ -66,8 +66,9 @@ style('passman', 'app');
|
|||
style('passman', 'public-page');
|
||||
|
||||
?>
|
||||
<div ng-app="passmanApp" ng-controller="PublicSharedCredential">
|
||||
<div class="row">
|
||||
<div class="share-controller" ng-app="passmanApp" ng-controller="PublicSharedCredential">
|
||||
<div class="share-container">
|
||||
<div class="row">
|
||||
<div class="col-xs-8 col-xs-push-2 col-xs-pull-2 credential_container">
|
||||
<h2>Passman</h2>
|
||||
<div ng-if="!shared_credential && !expired">
|
||||
|
@ -204,4 +205,5 @@ style('passman', 'public-page');
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<i class="fa fa-user" ng-if="user.pending === false"></i>
|
||||
<i class="fa fa-user-times" ng-if="user.pending === true"></i>
|
||||
{{user.userId}}
|
||||
<small ng-if="user.pending === true" class="pull-right col-xs-4">{{ 'pending' | translate}}</small>
|
||||
<small ng-if="user.pending === true" class="pull-right pending">{{ 'pending' | translate}}</small>
|
||||
</td>
|
||||
<td><input type="checkbox" ng-click="setPermission(user.acl, default_permissions.permissions.READ)" ng-checked="hasPermission(user.acl, default_permissions.permissions.READ)"> </td>
|
||||
<td><input type="checkbox" ng-click="setPermission(user.acl, default_permissions.permissions.WRITE)" ng-checked="hasPermission(user.acl, default_permissions.permissions.WRITE)"></td>
|
||||
|
|
Loading…
Reference in a new issue