58 lines
2.4 KiB
PHP
58 lines
2.4 KiB
PHP
<div class="mw-modal-frame">
|
|
|
|
<div class="mw-modal-head">
|
|
<div class="mw-modal-title-wrap">
|
|
<h2 class="mw-modal-title">Postfach bearbeiten</h2>
|
|
<span class="mw-modal-sub">{{ $email_readonly }}</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">
|
|
|
|
<label class="mw-modal-check">
|
|
<input type="checkbox" wire:model="is_active">
|
|
<span class="mw-modal-check-label">Postfach aktivieren</span>
|
|
</label>
|
|
|
|
<div class="mw-modal-grid2">
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Anzeigename</label>
|
|
<input type="text" wire:model.defer="display_name" placeholder="z. B. Office" class="mw-modal-input">
|
|
@error('display_name')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Passwort</label>
|
|
<input type="password" wire:model.defer="password" placeholder="leer = unverändert" class="mw-modal-input">
|
|
@error('password')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mw-modal-grid2">
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Quota (MiB)</label>
|
|
<input type="number" min="0" wire:model.defer="quota_mb" class="mw-modal-input">
|
|
@error('quota_mb')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Mails pro Stunde (optional)</label>
|
|
<input type="number" min="1" wire:model.defer="rate_limit_per_hour" placeholder="z. B. 120" class="mw-modal-input">
|
|
@error('rate_limit_per_hour')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
</div>
|
|
|
|
@if($quota_hint)
|
|
<div class="mw-modal-info">{{ $quota_hint }}</div>
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<div class="mw-modal-foot">
|
|
<button type="button" wire:click="$dispatch('closeModal')" class="mw-btn-cancel">Abbrechen</button>
|
|
<button type="submit" wire:click="$dispatch('mailbox:edit:save')" class="mw-btn-save">Speichern</button>
|
|
</div>
|
|
|
|
</div>
|