mirror of
https://github.com/bitwarden/desktop
synced 2026-01-11 04:53:14 +00:00
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<div class="header header-search">
|
|
<div class="search">
|
|
<input type="search" placeholder="{{searchPlaceholder || ('searchVault' | i18n)}}" id="search"
|
|
[(ngModel)]="searchText" />
|
|
<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>
|
|
<span class="text">
|
|
{{c.name}}
|
|
<i class="fa fa-share-alt text-muted" *ngIf="c.organizationId"
|
|
title="{{'shared' | i18n}}"></i>
|
|
<i class="fa fa-paperclip text-muted" *ngIf="c.hasAttachments"
|
|
title="{{'attachments' | i18n}}"></i>
|
|
</span>
|
|
<span class="detail">{{c.subTitle}}</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<button appBlurClick (click)="addCipher()" class="block primary" title="{{'addItem' | i18n}}">
|
|
<i class="fa fa-plus fa-lg"></i>
|
|
</button>
|
|
</div>
|