2023-08-01 21:40:25 +08:00
|
|
|
<DModal
|
|
|
|
@title={{i18n "admin.backups.operations.backup.confirm"}}
|
|
|
|
@closeModal={{@closeModal}}
|
2023-08-31 12:51:07 +08:00
|
|
|
class="start-backup-modal"
|
2023-08-01 21:40:25 +08:00
|
|
|
>
|
|
|
|
<:body>
|
|
|
|
{{#if this.warningMessage}}
|
2023-08-31 12:51:07 +08:00
|
|
|
<div class={{this.warningCssClasses}}>{{html-safe
|
|
|
|
this.warningMessage
|
|
|
|
}}</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if this.canManageUploadsInBackup}}
|
|
|
|
<label>
|
|
|
|
<Input @type="checkbox" @checked={{this.includeUploads}} />
|
|
|
|
{{i18n "admin.backups.operations.backup.include_uploads"}}
|
|
|
|
</label>
|
2023-08-01 21:40:25 +08:00
|
|
|
{{/if}}
|
|
|
|
</:body>
|
|
|
|
<:footer>
|
|
|
|
<DButton
|
2023-08-31 12:51:07 +08:00
|
|
|
class="btn-primary"
|
|
|
|
@action={{this.startBackup}}
|
|
|
|
@label="yes_value"
|
2023-08-01 21:40:25 +08:00
|
|
|
/>
|
2023-08-31 12:51:07 +08:00
|
|
|
<DButton class="btn-flat" @action={{@closeModal}} @label="cancel" />
|
2023-08-01 21:40:25 +08:00
|
|
|
</:footer>
|
|
|
|
</DModal>
|