mirror of
https://github.com/nextcloud/passman.git
synced 2025-11-09 13:44:40 +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.filterAll = function(){
|
||||||
$scope.selectedtags=[];
|
$scope.selectedtags=[];
|
||||||
$scope.filterOptions.filterText="";
|
$scope.filterOptions.filterText="";
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchboxContainer {
|
.searchboxContainer {
|
||||||
|
|
||||||
/*display: inline-block;*/
|
/*display: inline-block;*/
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
display: none;
|
display: none;
|
||||||
|
|
@ -460,6 +459,12 @@
|
||||||
.share{
|
.share{
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
.nopasswords{
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-top: 10%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.app_sidebar {
|
.app_sidebar {
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,13 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue