bitwarden-estensione-browser/src/app/vault/export.component.html

52 lines
2.9 KiB
HTML
Raw Normal View History

<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="exportTitle">
2019-04-02 05:27:54 +02:00
<div class="modal-dialog" role="document">
2018-08-02 05:21:32 +02:00
<form class="modal-content" #form (ngSubmit)="submit()">
<div class="modal-body">
<app-callout type="warning" title="{{'vaultExportDisabled' | i18n}}" *ngIf="disabledByPolicy">
{{'personalVaultExportPolicyInEffect' | i18n}}
</app-callout>
2018-08-02 05:21:32 +02:00
<div class="box">
2019-04-02 05:27:54 +02:00
<div class="box-header" id="exportTitle">
2018-08-02 05:21:32 +02:00
{{'exportVault' | i18n}}
</div>
<div class="box-content">
2018-12-17 17:04:48 +01:00
<div class="box-content-row" appBoxRow>
<label for="format">{{'fileFormat' | i18n}}</label>
<select id="format" name="Format" [(ngModel)]="format" [disabled]="disabledByPolicy">
2018-12-17 17:04:48 +01:00
<option value="json">.json</option>
<option value="csv">.csv</option>
<option value="encrypted_json">.json (Encrypted)</option>
2018-12-17 17:04:48 +01:00
</select>
</div>
2018-08-02 05:21:32 +02:00
<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 [disabled]="disabledByPolicy">
2018-08-02 05:21:32 +02:00
</div>
<div class="action-buttons">
2019-04-03 06:04:42 +02:00
<a class="row-btn" href="#" appStopClick appBlurClick role="button"
2019-04-02 04:43:42 +02:00
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
2019-04-02 04:56:28 +02:00
<i class="fa fa-lg" aria-hidden="true"
2018-08-02 05:21:32 +02:00
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
</a>
</div>
</div>
</div>
<div class="box-footer">
<p>{{'exportMasterPassword' | i18n}}</p>
</div>
</div>
</div>
<div class="modal-footer">
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'submit' | i18n}}"
[disabled]="disabledByPolicy">
2019-04-02 04:56:28 +02:00
<i class="fa fa-download fa-lg fa-fw" aria-hidden="true"></i>
2018-08-02 05:21:32 +02:00
</button>
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
</div>
</form>
</div>
</div>