Fix: Mailbox Stats über Dovecot mit config/mailpool.php

main v1.0.30
boban 2025-10-25 13:59:34 +02:00
parent d3a949ea80
commit facf4bf844
1 changed files with 33 additions and 20 deletions

View File

@ -145,28 +145,41 @@
</div> </div>
</div> </div>
{{-- Badge rechts --}} <div class="flex flex-col items-end gap-1">
<span class="shrink-0 inline-flex items-center gap-1.5 rounded-full text-[11px] border px-3 py-1 <span class="inline-flex items-center gap-1.5 rounded-full text-[11px] border px-3 py-1 w-fit
{{ $this->hasUpdate {{ $this->hasUpdate
? 'text-yellow-200 bg-yellow-500/10 border-yellow-400/30' ? 'text-yellow-200 bg-yellow-500/10 border-yellow-400/30'
: 'text-emerald-200 bg-emerald-500/10 border-emerald-400/30' }}"> : 'text-emerald-200 bg-emerald-500/10 border-emerald-400/30' }}">
<i class="ph {{ $this->hasUpdate ? 'ph-arrow-fat-line-up' : 'ph-check-circle' }} text-[12px]"></i> <i class="ph {{ $this->hasUpdate ? 'ph-arrow-fat-line-up' : 'ph-check-circle' }} text-[12px]"></i>
{{ $this->hasUpdate ? 'Update verfügbar' : 'Aktuell' }} {{ $this->hasUpdate ? 'Update verfügbar' : 'Aktuell' }}
</span> </span>
@if(!$this->hasUpdate)
<button wire:click="runUpdate"
@disabled($state==='running')
class="inline-flex items-center gap-1.5 rounded-full text-[11px] px-3 py-1 w-fit
text-emerald-200 bg-emerald-500/10 border border-emerald-400/30
hover:bg-emerald-500/15 hover:border-emerald-300/50
disabled:opacity-60">
<i class="ph ph-arrow-fat-lines-up text-[14px]"></i>
Jetzt aktualisieren
</button>
@endif
</div>
</div> </div>
<div class="mt-4 flex items-center gap-2"> {{-- <div class="mt-4 flex items-center gap-2">--}}
@if($this->hasUpdate) {{-- @if($this->hasUpdate)--}}
<button wire:click="runUpdate" {{-- <button wire:click="runUpdate"--}}
@disabled($state==='running') {{-- @disabled($state==='running')--}}
class="inline-flex items-center gap-2 rounded-lg px-3 py-1.5 {{-- class="inline-flex items-center gap-2 rounded-lg px-3 py-1.5--}}
text-emerald-200 bg-emerald-500/10 border border-emerald-400/30 {{-- text-emerald-200 bg-emerald-500/10 border border-emerald-400/30--}}
hover:bg-emerald-500/15 hover:border-emerald-300/50 {{-- hover:bg-emerald-500/15 hover:border-emerald-300/50--}}
disabled:opacity-60"> {{-- disabled:opacity-60">--}}
<i class="ph ph-arrow-fat-lines-up text-[14px]"></i> Jetzt aktualisieren {{-- <i class="ph ph-arrow-fat-lines-up text-[14px]"></i> Jetzt aktualisieren--}}
</button> {{-- </button>--}}
@endif {{-- @endif--}}
</div> {{-- </div>--}}
{{-- Fortschritt nur während running --}} {{-- Fortschritt nur während running --}}
@if($state === 'running') @if($state === 'running')