Fix: ClamAV – kein blockierendes Overlay mehr, Spinner nur auf Klick
Vollflächiges wire:loading-Overlay entfernt das beim Seitenaufruf blockierte. wire:loading.class animate-spin nur noch auf wire:target=refresh beschränkt damit kein Spinner beim Laden erscheint. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main v1.1.334
parent
68e7635f6d
commit
d0e1d5613c
|
|
@ -12,8 +12,8 @@
|
|||
Virenschutz (ClamAV)
|
||||
</div>
|
||||
<div class="mbx-page-actions">
|
||||
<button wire:click="refresh" class="mbx-btn-mute">
|
||||
<svg width="12" height="12" viewBox="0 0 14 14" fill="none" wire:loading.class="animate-spin" wire:target="refresh,enable,disable,updateDb"><path d="M12 7A5 5 0 1 1 7 2" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/><path d="M7 2l2-2v4H5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
<button wire:click="refresh" wire:loading.attr="disabled" wire:target="refresh" class="mbx-btn-mute">
|
||||
<svg width="12" height="12" viewBox="0 0 14 14" fill="none" wire:loading.class="animate-spin" wire:target="refresh"><path d="M12 7A5 5 0 1 1 7 2" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/><path d="M7 2l2-2v4H5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
Aktualisieren
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -38,12 +38,7 @@
|
|||
<div style="min-width:0;display:flex;flex-direction:column;gap:16px">
|
||||
|
||||
{{-- Status-Karte --}}
|
||||
<div class="mbx-section" style="position:relative">
|
||||
<div wire:loading wire:target="disable,install" style="position:absolute;inset:0;background:rgba(0,0,0,.45);border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;z-index:10">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" style="color:#a78bfa;animation:spin 1s linear infinite"><path d="M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>
|
||||
<span style="font-size:12.5px;color:#e2d9fa;font-weight:500" wire:loading wire:target="disable">ClamAV wird gestoppt…</span>
|
||||
<span style="font-size:12.5px;color:#e2d9fa;font-weight:500" wire:loading wire:target="install">ClamAV wird installiert… (ca. 1 Min.)</span>
|
||||
</div>
|
||||
<div class="mbx-section">
|
||||
|
||||
<div class="mbx-domain-head">
|
||||
<div class="mbx-domain-info">
|
||||
|
|
|
|||
Loading…
Reference in New Issue