Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

871 B
Raw Blame
<div class="modal-header">
  <h4 class="modal-title">
    <svg [lucideIcon]="icons.LucideTrash"></svg>
    <span>{{ trashName }}</span>
    @if (submitted) {
      <svg [lucideIcon]="icons.LucideLoader" class="ms-2 icon-spin"></svg>
    }
  </h4>
  <button (click)="layout.closeDialog()" aria-label="Close" class="btn-close btn-close-white" type="button"></button>
</div>
<div class="modal-body">
  <div class="mb-3" l10nTranslate>Would you like to empty the trash ?</div>
  <small l10nTranslate>All items will be permanently deleted</small>
</div>
<div class="modal-footer">
  <button (click)="layout.closeDialog()" class="btn btn-secondary" data-dismiss="modal" type="button" l10nTranslate>Cancel</button>
  <button (click)="onSubmit()" [disabled]="submitted" [autoSelect]="false" appAutofocus class="btn btn-danger" type="button" l10nTranslate>Confirm</button>
</div>