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>
|
2022-02-28 17:44:10 +01:00
|
|
|
<app-export-scope-callout *ngIf="!disabledByPolicy"></app-export-scope-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>
|
2018-08-02 05:21:32 +02:00
|
|
|
</div>
|
2021-11-17 20:32:00 +01:00
|
|
|
<app-verify-master-password ngDefaultControl formControlName="secret" name="secret">
|
|
|
|
</app-verify-master-password>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-08-02 05:21:32 +02:00
|
|
|
<div class="box-footer">
|
2021-11-17 20:32:00 +01:00
|
|
|
<p>{{ "confirmIdentity" | i18n }}</p>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-02 05:21:32 +02:00
|
|
|
<div class="modal-footer">
|
2021-09-15 20:02:17 +02:00
|
|
|
<button
|
|
|
|
appBlurClick
|
|
|
|
type="submit"
|
|
|
|
class="primary"
|
|
|
|
appA11yTitle="{{ 'submit' | i18n }}"
|
|
|
|
[disabled]="disabledByPolicy"
|
|
|
|
>
|
2022-01-27 18:21:53 +01:00
|
|
|
<i class="bwi bwi-download bwi-lg bwi-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>
|