1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

split vault into components

This commit is contained in:
Kyle Spearrin
2018-01-23 22:21:14 -05:00
parent f7b8bef465
commit d3fdaed4c2
10 changed files with 161 additions and 133 deletions

View File

@@ -0,0 +1,28 @@
<div class="header header-search">
<div class="search">
<input type="search" placeholder="Search vault" id="search" />
<i class="fa fa-search"></i>
</div>
<div class="right">
<a href="" title="Add Item"><i class="fa fa-plus fa-lg"></i></a>
</div>
</div>
<div class="content">
<div class="list">
<div class="list-section" style="padding-top: 0; padding-bottom: 0;">
<a *ngFor="let cipher of ciphers"
href="#" class="list-section-item condensed" title="View Item">
<app-vault-icon [cipher]="cipher"></app-vault-icon>
<span class="text">
{{cipher.name}}
<i class="fa fa-share-alt text-muted" *ngIf="cipher.organizationId"></i>
<i class="fa fa-paperclip text-muted" *ngIf="cipher.attachments"></i>
</span>
<span class="detail">{{cipher.subTitle}}</span>
</a>
</div>
</div>
</div>
<div class="footer">
Add Item
</div>