1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 07:03:26 +00:00

folder listing, add/edit components, cleanup

This commit is contained in:
Kyle Spearrin
2018-04-13 00:06:48 -04:00
parent 225f5077e3
commit 082a74c241
14 changed files with 203 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
<header>
<div class="left">
<button appBlurClick type="button" (click)="close()">
<span class="header-icon"><i class="fa fa-chevron-left"></i></span>
<span>{{'back' | i18n}}</span>
</button>
</div>
<div class="center">
<span class="title">{{'folders' | i18n}}</span>
</div>
<div class="right">
<button appBlurClick (click)="addFolder()" title="{{'addFolder' | i18n}}">
<i class="fa fa-plus fa-lg fa-fw"></i>
</button>
</div>
</header>
<content>
<div class="box list full-list" *ngIf="folders && folders.length">
<div class="box-content">
<a href="#" appStopClick (click)="folderSelected(f)" class="box-content-row padded"
*ngFor="let f of folders">{{f.name}}</a>
</div>
</div>
<div class="no-items" *ngIf="!folders || !folders.length">
<p>{{'noFolders' | i18n}}</p>
</div>
</content>