fsdfdsf
This commit is contained in:
@@ -372,37 +372,43 @@ if ($primaryId === '') {
|
||||
</div>
|
||||
|
||||
<div class="modal" data-instance-modal aria-hidden="true">
|
||||
<div class="modal-card">
|
||||
<div class="modal-card pihole-modal-card" role="dialog" aria-modal="true" aria-labelledby="pihole-instance-modal-title">
|
||||
<div class="modal-header">
|
||||
<strong data-instance-modal-title>Neue Instanz</strong>
|
||||
<button class="icon-button" type="button" data-instance-close>×</button>
|
||||
<div>
|
||||
<strong id="pihole-instance-modal-title" data-instance-modal-title>Neue Instanz</strong>
|
||||
<div class="muted">Pi-hole Host anlegen oder bestehende Instanz bearbeiten.</div>
|
||||
</div>
|
||||
<button class="icon-button" type="button" data-instance-close aria-label="Modal schliessen">×</button>
|
||||
</div>
|
||||
<form method="post" class="form-grid" style="margin-top:.75rem;" data-instance-form>
|
||||
<form method="post" class="pihole-instance-form" data-instance-form>
|
||||
<input type="hidden" name="current_id" value="">
|
||||
<label class="form-field">
|
||||
<span class="muted">ID</span>
|
||||
<input type="text" name="instance_id" placeholder="z.B. pihole-main" required>
|
||||
<small class="muted">Die ID muss eindeutig sein und wird zum internen Speichern verwendet.</small>
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span class="muted">Name</span>
|
||||
<input type="text" name="name" placeholder="z.B. Pi-hole Main" required>
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span class="muted">URL</span>
|
||||
<input type="text" name="url" placeholder="http://pi-hole.local" required>
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span class="muted">Passwort / App-Passwort (leer lassen = unveraendert)</span>
|
||||
<input type="password" name="password" placeholder="Pi-hole Passwort oder App-Passwort" autocomplete="new-password">
|
||||
</label>
|
||||
<label class="form-field" style="align-items:center;">
|
||||
<span class="muted">Als Primaer verwenden</span>
|
||||
<input type="checkbox" name="is_primary" value="1">
|
||||
</label>
|
||||
<div style="display:flex; gap:10px; flex-wrap:wrap;">
|
||||
<div class="form-grid pihole-instance-form-grid">
|
||||
<label class="form-field pihole-form-field-wide">
|
||||
<span class="muted">ID</span>
|
||||
<input type="text" name="instance_id" placeholder="z.B. pihole-main" required>
|
||||
<small class="muted">Die ID muss eindeutig sein und wird nur intern verwendet.</small>
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span class="muted">Name</span>
|
||||
<input type="text" name="name" placeholder="z.B. Pi-hole Main" required>
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span class="muted">URL</span>
|
||||
<input type="text" name="url" placeholder="http://pi-hole.local" required>
|
||||
</label>
|
||||
<label class="form-field pihole-form-field-wide">
|
||||
<span class="muted">Passwort / App-Passwort</span>
|
||||
<input type="password" name="password" placeholder="Pi-hole Passwort oder App-Passwort" autocomplete="new-password">
|
||||
<small class="muted">Beim Bearbeiten leer lassen, um das gespeicherte Passwort unveraendert zu lassen.</small>
|
||||
</label>
|
||||
<label class="pihole-checkbox-field">
|
||||
<input type="checkbox" name="is_primary" value="1">
|
||||
<span>Als Primaer verwenden</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="pihole-modal-actions">
|
||||
<button class="cta-button" type="submit" data-instance-submit>Speichern</button>
|
||||
<button class="nav-link" type="button" data-instance-cancel>Zuruecksetzen</button>
|
||||
<button class="nav-link" type="button" data-instance-cancel>Abbrechen</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user