2019-04-02 05:27:54 +02:00
|
|
|
<div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="exportTitle">
|
|
|
|
<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">
|
|
|
|
<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">
|
|
|
|
<option value="json">.json</option>
|
|
|
|
<option value="csv">.csv</option>
|
2020-12-08 18:09:31 +01:00
|
|
|
<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>
|
|
|
|
</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">
|
2019-04-02 04:43:42 +02:00
|
|
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'submit' | i18n}}">
|
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>
|