sfdsf
This commit is contained in:
@@ -9,12 +9,6 @@ $hasConfig = !empty($instances);
|
||||
<?= module_shell_header('pihole', [
|
||||
'title' => 'Pi-hole Dashboard',
|
||||
'description' => 'Status, Blockings, Usage und Steuerung fuer beide Instanzen.',
|
||||
'tabs' => [
|
||||
['label' => 'Dashboard', 'href' => '/module/pihole', 'active' => true],
|
||||
['label' => 'Instanzen', 'href' => '/module/pihole/instances'],
|
||||
['label' => 'Listen', 'href' => '/module/pihole/lists'],
|
||||
['label' => 'Queries', 'href' => '/module/pihole/queries'],
|
||||
],
|
||||
]) ?>
|
||||
<div class="card pihole-page" data-pihole-page="dashboard">
|
||||
|
||||
|
||||
@@ -135,12 +135,6 @@ if ($primaryId === '') {
|
||||
<?= module_shell_header('pihole', [
|
||||
'title' => 'Pi-hole Instanzen',
|
||||
'description' => 'Pi-hole Instanzen hinzufuegen, bearbeiten und loeschen.',
|
||||
'tabs' => [
|
||||
['label' => 'Dashboard', 'href' => '/module/pihole'],
|
||||
['label' => 'Instanzen', 'href' => '/module/pihole/instances', 'active' => true],
|
||||
['label' => 'Listen', 'href' => '/module/pihole/lists'],
|
||||
['label' => 'Queries', 'href' => '/module/pihole/queries'],
|
||||
],
|
||||
]) ?>
|
||||
<div class="card">
|
||||
<div style="display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;">
|
||||
|
||||
@@ -6,11 +6,11 @@ $assets->addScript('/module/pihole/asset?file=pihole.js', 'footer', true);
|
||||
$instances = module_fn('pihole', 'instances');
|
||||
$hasConfig = !empty($instances);
|
||||
?>
|
||||
<?= module_shell_header('pihole', [
|
||||
'title' => 'Listen & Domains',
|
||||
'description' => 'Top-Domains, Listen-Updates und neue Eintraege auf der Primaer-Instanz.',
|
||||
]) ?>
|
||||
<div class="card pihole-page" data-pihole-page="lists">
|
||||
<div class="pill">Pi-hole</div>
|
||||
<h1 style="margin-top:.75rem;">Listen & Domains</h1>
|
||||
<p class="muted">Top-Domains, Listen-Updates und neue Eintraege (Primaer-Instanz).</p>
|
||||
|
||||
<?php if (!$hasConfig): ?>
|
||||
<div class="card" style="margin-top:1rem; border-color:var(--accent);">
|
||||
<strong>Keine Instanzen konfiguriert</strong>
|
||||
@@ -84,3 +84,4 @@ $hasConfig = !empty($instances);
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?= module_shell_footer() ?>
|
||||
|
||||
@@ -6,11 +6,11 @@ $assets->addScript('/module/pihole/asset?file=pihole.js', 'footer', true);
|
||||
$instances = module_fn('pihole', 'instances');
|
||||
$hasConfig = !empty($instances);
|
||||
?>
|
||||
<?= module_shell_header('pihole', [
|
||||
'title' => 'Zugriffe & Blockings',
|
||||
'description' => 'Aktuelle Blockings, Top Clients und Status pro Instanz.',
|
||||
]) ?>
|
||||
<div class="card pihole-page" data-pihole-page="queries">
|
||||
<div class="pill">Pi-hole</div>
|
||||
<h1 style="margin-top:.75rem;">Zugriffe & Blockings</h1>
|
||||
<p class="muted">Aktuelle Blockings, Top Clients und Status pro Instanz.</p>
|
||||
|
||||
<?php if (!$hasConfig): ?>
|
||||
<div class="card" style="margin-top:1rem; border-color:var(--accent);">
|
||||
<strong>Keine Instanzen konfiguriert</strong>
|
||||
@@ -36,3 +36,4 @@ $hasConfig = !empty($instances);
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?= module_shell_footer() ?>
|
||||
|
||||
Reference in New Issue
Block a user