75 lines
3.4 KiB
PHP
75 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-Limits</h2>
|
|
<span class="mw-modal-sub">Speicher- und Mengenbeschränkungen</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">
|
|
<form wire:submit.prevent="save" id="domain-limits-form">
|
|
|
|
<div class="mw-modal-grid2">
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Max. Aliasse</label>
|
|
<input type="number" wire:model.defer="max_aliases" class="mw-modal-input">
|
|
@error('max_aliases')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Max. Postfächer</label>
|
|
<input type="number" wire:model.defer="max_mailboxes" class="mw-modal-input">
|
|
@error('max_mailboxes')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
</div>
|
|
|
|
<hr class="mw-modal-sep" style="margin:14px 0">
|
|
|
|
<div class="mw-modal-grid2">
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Standard-Quota je Postfach (MiB)</label>
|
|
<input type="number" wire:model.defer="default_quota_mb" class="mw-modal-input">
|
|
@error('default_quota_mb')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Max. Quota je Postfach (MiB)</label>
|
|
<input type="number" wire:model.defer="max_quota_per_mailbox_mb" class="mw-modal-input">
|
|
@error('max_quota_per_mailbox_mb')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mw-modal-row" style="margin-top:12px">
|
|
<label class="mw-modal-label">Domain-Speicher gesamt (MiB)</label>
|
|
<input type="number" wire:model.defer="total_quota_mb" class="mw-modal-input">
|
|
@error('total_quota_mb')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
|
|
<hr class="mw-modal-sep" style="margin:14px 0">
|
|
|
|
<div class="mw-modal-grid2">
|
|
<div class="mw-modal-row">
|
|
<label class="mw-modal-label">Mails pro Stunde (leer = kein Limit)</label>
|
|
<input type="number" wire:model.defer="rate_limit_per_hour" placeholder="—" class="mw-modal-input">
|
|
@error('rate_limit_per_hour')<div class="mw-modal-error">{{ $message }}</div>@enderror
|
|
</div>
|
|
<div style="display:flex;align-items:flex-end;padding-bottom:1px;">
|
|
<label class="mw-modal-check">
|
|
<input type="checkbox" wire:model.defer="rate_limit_override">
|
|
<span class="mw-modal-check-label">Postfach-Overrides erlauben</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<div class="mw-modal-foot">
|
|
<button type="button" wire:click="$dispatch('closeModal')" class="mw-btn-cancel">Abbrechen</button>
|
|
<button type="submit" form="domain-limits-form" class="mw-btn-save">Speichern</button>
|
|
</div>
|
|
|
|
</div>
|