1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +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,41 @@
<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">{{'passwordHistory' | i18n}}</span>
</div>
<div class="right">
<button appBlurClick type="button" (click)="clear()">
{{'clear' | i18n}}
</button>
</div>
</header>
<content>
<div class="box list full-list" *ngIf="history && history.length">
<div class="box-content">
<div class="box-content-row box-content-row-flex" *ngFor="let h of history">
<div class="row-main">
<div class="row-main-content">
<span class="text monospaced no-ellipsis">
{{h.password}}
</span>
<span class="detail">{{h.date | date:'medium'}}</span>
</div>
</div>
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick title="{{'copyPassword' | i18n}}"
(click)="copy(h.password)">
<i class="fa fa-lg fa-clipboard"></i>
</a>
</div>
</div>
</div>
</div>
<div class="no-items" *ngIf="!history || !history.length">
<p>{{'noPasswordsInList' | i18n}}</p>
</div>
</content>