bitwarden-estensione-browser/src/popup2/vault/current-tab.component.html

54 lines
2.3 KiB
HTML
Raw Normal View History

2018-04-06 20:03:35 +02:00
<header>
<div class="left">
2018-04-06 20:18:28 +02:00
<app-pop-out *ngIf="showPopout"></app-pop-out>
<button type="button" appBlurClick (click)="refresh()" title="{{'refresh' | i18n}}" *ngIf="inSidebar">
<i class="fa fa-refresh fa-lg"></i>
</button>
2018-04-06 20:03:35 +02:00
</div>
2018-04-09 16:50:28 +02:00
<div class="search">
<input type="search" placeholder="{{'searchVault' | i18n}}" id="search"
[(ngModel)]="searchText" (input)="searchVault()" appAutofocus>
<i class="fa fa-search"></i>
2018-04-06 20:03:35 +02:00
</div>
<div class="right">
2018-04-06 20:18:28 +02:00
<button type="button" appBlurClick (click)="addCipher()" title="{{'addItem' | i18n}}">
2018-04-06 20:03:35 +02:00
<i class="fa fa-plus fa-lg"></i>
</button>
</div>
</header>
<content>
<p *ngIf="!loaded" class="text-muted">{{'loading' | i18n}}</p>
<ng-container *ngIf="loaded">
<div class="box list" *ngIf="loginCiphers">
<div class="box-header">
{{'typeLogins' | i18n}}
<span class="flex-right">{{loginCiphers.length}}</span>
</div>
<div class="box-content">
<app-ciphers-list [ciphers]="loginCiphers" title="{{'autoFill' | i18n}}" [showView]="true"
(onSelected)="fillCipher($event)" (onView)="viewCipher($event)"></app-ciphers-list>
</div>
</div>
<div class="box list" *ngIf="cardCiphers">
<div class="box-header">
{{'cards' | i18n}}
<span class="flex-right">{{cardCiphers.length}}</span>
</div>
<div class="box-content">
<app-ciphers-list [ciphers]="cardCiphers" title="{{'autoFill' | i18n}}" [showView]="true"
(onSelected)="fillCipher($event)" (onView)="viewCipher($event)"></app-ciphers-list>
</div>
</div>
<div class="box list" *ngIf="identityCiphers">
<div class="box-header">
{{'identities' | i18n}}
<span class="flex-right">{{identityCiphers.length}}</span>
</div>
<div class="box-content">
<app-ciphers-list [ciphers]="identityCiphers" title="{{'autoFill' | i18n}}" [showView]="true"
(onSelected)="fillCipher($event)" (onView)="viewCipher($event)"></app-ciphers-list>
</div>
</div>
</ng-container>
</content>