mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 02:23:44 +00:00
added support for sidebar
This commit is contained in:
@@ -109,6 +109,10 @@ angular
|
||||
});
|
||||
};
|
||||
|
||||
$scope.refresh = function () {
|
||||
loadVault();
|
||||
};
|
||||
|
||||
$scope.$on('syncCompleted', function (event, successfully) {
|
||||
if ($scope.loaded) {
|
||||
setTimeout(loadVault, 500);
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
<div class="header header-search">
|
||||
<div class="left">
|
||||
<div class="left" ng-if="!main.inSidebar">
|
||||
<a href="" ng-click="main.expandVault()"><i class="fa fa-external-link fa-rotate-270 fa-lg"></i></a>
|
||||
</div>
|
||||
<div class="left" ng-if="main.inSidebar">
|
||||
<a href="" ng-click="refresh()"><i class="fa fa-refresh fa-lg"></i></a>
|
||||
</div>
|
||||
<div class="search" ng-style="{'visibility': main.disableSearch ? 'hidden' : 'visible'}">
|
||||
<input type="search" placeholder="{{i18n.searchVault}}" id="search" ng-model="searchText" ng-change="searchVault()" />
|
||||
<i class="fa fa-search"></i>
|
||||
@@ -16,7 +19,7 @@
|
||||
<div class="list-grouped">
|
||||
<a href="#" stop-click ng-click="fillLogin(login)" class="list-grouped-item condensed"
|
||||
title="{{i18n.autoFill}} {{login.name}}"
|
||||
ng-repeat="login in theLogins = (logins | orderBy: [sortUriMatch, sortLastUsed, 'name', 'username'])
|
||||
ng-repeat="login in theLogins = (logins | orderBy: [sortUriMatch, sortLastUsed, 'name', 'username'])
|
||||
track by $index">
|
||||
<span class="btn-list" stop-prop stop-click title="{{i18n.copyPassword}}"
|
||||
ngclipboard ngclipboard-error="clipboardError(e)"
|
||||
|
||||
Reference in New Issue
Block a user