1
0
mirror of https://github.com/bitwarden/desktop.git synced 2025-02-27 03:01:57 +01:00
bitwarden-desktop/src/app/vault/ciphers.component.html

29 lines
1.2 KiB
HTML
Raw Normal View History

2018-01-24 04:21:14 +01:00
<div class="header header-search">
<div class="search">
2018-01-30 03:54:39 +01:00
<input type="search" placeholder="{{searchPlaceholder || ('searchVault' | i18n)}}" id="search"
[(ngModel)]="searchText" />
2018-01-24 04:21:14 +01:00
<i class="fa fa-search"></i>
</div>
</div>
<div class="content">
<div class="list">
<a *ngFor="let c of ciphers | searchCiphers: searchText" appStopClick (click)="cipherClicked(c)"
href="#" title="{{'viewItem' | i18n}}" [ngClass]="{'active': c.id === activeCipherId}">
<app-vault-icon [cipher]="c"></app-vault-icon>
2018-01-27 19:07:36 +01:00
<span class="text">
{{c.name}}
<i class="fa fa-share-alt text-muted" *ngIf="c.organizationId"
2018-01-27 19:47:48 +01:00
title="{{'shared' | i18n}}"></i>
<i class="fa fa-paperclip text-muted" *ngIf="c.hasAttachments"
2018-01-27 19:47:48 +01:00
title="{{'attachments' | i18n}}"></i>
2018-01-27 19:07:36 +01:00
</span>
<span class="detail">{{c.subTitle}}</span>
2018-01-27 19:07:36 +01:00
</a>
2018-01-24 04:21:14 +01:00
</div>
</div>
<div class="footer">
2018-01-27 19:47:48 +01:00
<button appBlurClick (click)="addCipher()" class="block primary" title="{{'addItem' | i18n}}">
2018-01-26 00:00:03 +01:00
<i class="fa fa-plus fa-lg"></i>
</button>
2018-01-24 04:21:14 +01:00
</div>