mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-26 08:24:00 +08:00
Added friendly reminder to create your first password
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
This commit is contained in:
parent
730e954176
commit
0884375b1f
3 changed files with 20 additions and 1 deletions
|
@ -385,6 +385,13 @@
|
|||
|
||||
});
|
||||
|
||||
|
||||
$scope.getListSize = function(){
|
||||
var l = $scope.filtered_credentials;//$scope.active_vault.credentials.length
|
||||
console.log(l.length);
|
||||
return l.length;
|
||||
};
|
||||
|
||||
$scope.filterAll = function(){
|
||||
$scope.selectedtags=[];
|
||||
$scope.filterOptions.filterText="";
|
||||
|
|
|
@ -168,7 +168,6 @@
|
|||
}
|
||||
|
||||
.searchboxContainer {
|
||||
|
||||
/*display: inline-block;*/
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
|
@ -460,6 +459,12 @@
|
|||
.share{
|
||||
overflow:hidden;
|
||||
}
|
||||
.nopasswords{
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-top: 10%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.app_sidebar {
|
||||
|
|
|
@ -89,6 +89,13 @@
|
|||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div ng-if="getListSize()==0" class="nopasswords">
|
||||
<b>{{'Hello there!' | translate}}</b><br>
|
||||
<div>{{'It does not seem that you have any passwords. Do you want to add one?' | translate}}</div>
|
||||
<div class="">
|
||||
<button ng-click="addCredential()">+</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue