asdasd
This commit is contained in:
@@ -13,7 +13,7 @@ if ($refreshSeconds < 0) {
|
||||
?>
|
||||
<?= module_shell_header('pihole', [
|
||||
'title' => 'Listen & Domains',
|
||||
'description' => 'Top-Domains, Listen-Updates und neue Eintraege auf der Primaer-Instanz.',
|
||||
'description' => 'Top-Domains, Listen-Updates fuer alle Instanzen und neue Eintraege auf der Primaer-Instanz.',
|
||||
]) ?>
|
||||
<div class="module-flow pihole-page" data-pihole-page="lists" data-refresh-seconds="<?= e((string)$refreshSeconds) ?>">
|
||||
<?php if (!$hasConfig): ?>
|
||||
@@ -26,10 +26,15 @@ if ($refreshSeconds < 0) {
|
||||
<section class="module-box">
|
||||
<div class="pihole-section-header">
|
||||
<strong>Listen-Updates</strong>
|
||||
<span class="muted">Gravity / Blocklisten neu laden</span>
|
||||
<span class="muted">Gravity / Blocklisten fuer alle oder einzelne Instanzen neu laden</span>
|
||||
</div>
|
||||
<div class="pihole-actions" data-list-actions>
|
||||
<button class="cta-button" data-action="gravity" data-instance="primary">Listen aktualisieren (Primaer)</button>
|
||||
<button class="cta-button" data-action="gravity" data-instance="all">Alle Instanzen aktualisieren</button>
|
||||
<?php foreach ($instances as $instance): ?>
|
||||
<button class="nav-link" data-action="gravity" data-instance="<?= e((string)($instance['id'] ?? '')) ?>">
|
||||
<?= e((string)($instance['name'] ?? $instance['id'] ?? 'Instanz')) ?>
|
||||
</button>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="pihole-update" data-list-update-status></div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user