All files / app/components/warning-modal warning-modal.html

0% Statements 0/24
0% Branches 0/8
0% Functions 0/3
0% Lines 0/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
<div class="modal-content">
  <div class="modal-header">
    <h2 class="modal-title">{{ data()?.title || ('modals.warning.defaultTitle' | transloco) }}</h2>
    <button type="button" class="close-btn" (click)="cancel()" [attr.aria-label]="'modals.warning.closeAria' | transloco">
      <lucide-icon [img]="icons.X" [size]="24" [strokeWidth]="2"></lucide-icon>
    </button>
  </div>
 
  <p class="modal-message">{{ data()?.message || '' }}</p>
 
  <div class="actions">
    <button type="button" class="cancel-btn" (click)="cancel()">{{ data()?.cancelText || ('common.cancel' | transloco) }}</button>
    <button type="button" class="confirm-btn" (click)="confirm()">{{ data()?.confirmText || ('common.confirm' | transloco) }}</button>
  </div>
</div>