mailwolt/resources/views/livewire/ui/domain/dkim-status.blade.php

20 lines
847 B
PHP

<div class="flex items-center gap-4 text-sm">
<div class="flex items-center gap-2">
<i class="ph-bold {{ $dkimOk ? 'ph-shield-check text-emerald-400' : 'ph-warning-octagon text-rose-400' }} text-[18px]"></i>
<span class="{{ $dkimOk ? 'text-emerald-400' : 'text-rose-400' }}">
{{ $dkimOk ? 'DKIM aktiv' : 'DKIM fehlt' }}
</span>
</div>
<button
wire:click="regenerate"
wire:loading.attr="disabled"
class="inline-flex items-center gap-2 rounded-lg px-3 py-1.5 text-xs font-medium
border border-slate-600/40 bg-slate-800/40 hover:bg-slate-800
disabled:opacity-50">
<i class="ph-bold ph-arrows-counter-clockwise"></i>
<span wire:loading.remove>DKIM reparieren</span>
<span wire:loading>Erzeuge…</span>
</button>
</div>