1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 18:53:29 +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,40 @@
<form (ngSubmit)="submit()">
<header>
<div class="left">
<button type="button" appBlurClick (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">{{'exportVault' | i18n}}</span>
</div>
<div class="right">
<button appBlurClick type="submit">{{'submit' | i18n}}</button>
</div>
</header>
<content>
<div class="box">
<div class="box-content">
<div class="box-content-row box-content-row-flex" appBoxRow>
<div class="row-main">
<label for="masterPassword">{{'masterPass' | i18n}}</label>
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}" name="MasterPassword"
class="monospaced" [(ngModel)]="masterPassword" required appAutofocus>
</div>
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appBlurClick
title="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
<i class="fa fa-lg"
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
</a>
</div>
</div>
</div>
<div class="box-footer">
<p>{{'exportMasterPassword' | i18n}}</p>
<strong>{{'warning' | i18n}}</strong>: {{'exportWarning' | i18n}}
</div>
</div>
</content>
</form>