2021-10-25 08:26:12 +02:00
|
|
|
<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">
|
2021-11-09 19:00:01 +01:00
|
|
|
<form class="modal-content" #form (ngSubmit)="submit()" [formGroup]="exportForm">
|
2018-08-02 05:21:32 +02:00
|
|
|
<div class="modal-body">
|
2021-09-15 20:02:17 +02:00
|
|
|
<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>
|
2021-11-09 19:00:01 +01:00
|
|
|
<select class="form-control" id="format" name="Format" formControlName="format">
|
|
|
|
<option *ngFor="let f of formatOptions" [value]="f.value">{{f.name}}</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">
|
2021-11-09 19:00:01 +01:00
|
|
|
<app-verify-master-password ngDefaultControl formControlName="secret" name="secret">
|
|
|
|
</app-verify-master-password>
|
2018-08-02 05:21:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
<p>{{'exportMasterPassword' | i18n}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2021-09-15 20:02:17 +02:00
|
|
|
<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>
|