mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.0 KiB
48 lines
2.0 KiB
<div class="table-items-row">
|
|
<div class="row">
|
|
<div class="col-auto" [ngSwitch]="backup.status">
|
|
<sqx-status-icon size="lg" [status]="backup.status"></sqx-status-icon>
|
|
</div>
|
|
<div class="col-auto">
|
|
<div>
|
|
{{ 'backups.startedLabel' | sqxTranslate }}:
|
|
</div>
|
|
<div>
|
|
{{ 'backups.backupDuration' | sqxTranslate }}:
|
|
</div>
|
|
</div>
|
|
<div class="col-3">
|
|
<div>
|
|
{{backup.started | sqxFromNow}}
|
|
</div>
|
|
<div *ngIf="backup.stopped">
|
|
{{duration}}
|
|
</div>
|
|
</div>
|
|
<div class="col">
|
|
<div>
|
|
<span title="i18n:backups.backupCountEventsTooltip">
|
|
{{ 'backups.backupCountEventsLabel' | sqxTranslate }}: <strong class="backup-progress">{{backup.handledEvents | sqxKNumber}}</strong>
|
|
</span>,
|
|
<span title="i18n:backups.backupCountAssetsTooltip">
|
|
{{ 'backups.backupCountAssetsLabel' | sqxTranslate }}: <strong class="backup-progress">{{backup.handledAssets | sqxKNumber}}</strong>
|
|
</span>
|
|
</div>
|
|
<div *ngIf="backup.stopped && !backup.isFailed">
|
|
{{ 'backups.backupDownload' | sqxTranslate }}:
|
|
|
|
<a href="{{apiUrl.buildUrl(backup.downloadUrl)}}" sqxExternalLink="noicon">
|
|
{{ 'backups.backupDownloadLink' | sqxTranslate }} <i class="icon-external-link"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-auto">
|
|
<button type="button" class="btn btn-text-danger mt-1" [disabled]="!backup.canDelete"
|
|
(sqxConfirmClick)="delete()"
|
|
confirmTitle="i18n:backups.deleteConfirmTitle"
|
|
confirmText="i18n:backups.deleteConfirmText">
|
|
<i class="icon-bin2"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|