61 lines
3.4 KiB
PHP
61 lines
3.4 KiB
PHP
<div class="mw-modal-frame">
|
|
|
|
<div class="mw-modal-head">
|
|
<div class="mw-modal-title-wrap">
|
|
<h2 class="mw-modal-title">Domain löschen</h2>
|
|
<span class="mw-modal-sub">{{ $domain }}</span>
|
|
</div>
|
|
<button wire:click="$dispatch('closeModal')" class="mw-modal-close">
|
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M2 2l10 10M12 2L2 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="mw-modal-body">
|
|
|
|
<div class="mw-modal-danger">
|
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" style="flex-shrink:0"><path d="M7 1L13 12H1L7 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/><path d="M7 5.5v3" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/><circle cx="7" cy="10" r=".7" fill="currentColor"/></svg>
|
|
Diese Aktion kann nicht rückgängig gemacht werden.
|
|
</div>
|
|
|
|
<div style="margin-top:14px;font-size:13px;color:var(--mw-t2);">
|
|
Du bist im Begriff, die Domain <strong style="color:var(--mw-t1)">{{ $domain }}</strong> zu löschen.
|
|
</div>
|
|
|
|
<div style="display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;">
|
|
<span class="mbx-badge-mute">
|
|
<svg width="11" height="11" viewBox="0 0 14 14" fill="none" style="display:inline-block;vertical-align:middle;margin-right:3px"><rect x=".5" y="2.5" width="13" height="9" rx="1.5" stroke="currentColor" stroke-width="1.2"/><path d="M.5 5l6.5 4.5L13.5 5" stroke="currentColor" stroke-width="1.2"/></svg>
|
|
{{ $mailboxes }} Postfächer
|
|
</span>
|
|
<span class="mbx-badge-mute">
|
|
<svg width="11" height="11" viewBox="0 0 14 14" fill="none" style="display:inline-block;vertical-align:middle;margin-right:3px"><path d="M1 7L5 11 13 3" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
{{ $aliases }} Aliasse
|
|
</span>
|
|
</div>
|
|
|
|
@if($mailboxes > 0 || $aliases > 0)
|
|
<div class="mw-modal-warn" style="margin-top:12px;display:flex;gap:8px;align-items:flex-start;">
|
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" style="flex-shrink:0;margin-top:1px"><path d="M7 1L13 12H1L7 1Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/><path d="M7 5.5v3" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/><circle cx="7" cy="10" r=".7" fill="currentColor"/></svg>
|
|
Löschen blockiert: Entferne zuerst alle Postfächer und Aliasse.
|
|
</div>
|
|
@endif
|
|
|
|
<div class="mw-modal-row" style="margin-top:14px;">
|
|
<label class="mw-modal-label">Zur Bestätigung Domain-Namen eingeben</label>
|
|
<input type="text" wire:model.defer="confirm" placeholder="{{ $domain }}" class="mw-modal-input">
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mw-modal-foot">
|
|
<button type="button" wire:click="$dispatch('closeModal')" class="mw-btn-cancel">Abbrechen</button>
|
|
@php $blocked = ($mailboxes > 0 || $aliases > 0); @endphp
|
|
<button type="button" wire:click="$dispatch('domain:delete')"
|
|
class="{{ $blocked ? 'mw-btn-cancel' : 'mw-btn-del' }}"
|
|
@if($blocked) disabled style="opacity:.4;cursor:not-allowed" @endif>
|
|
<svg width="13" height="13" viewBox="0 0 13 13" fill="none"><path d="M2 3.5h9M5 3.5V2h3v1.5M5.5 6v4M7.5 6v4M3 3.5l.5 7.5h6L10 3.5" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
Endgültig löschen
|
|
</button>
|
|
</div>
|
|
|
|
</div>
|