assets(); $assets->addStyle('/module/pihole/asset?file=pihole.css'); $assets->addScript('/module/pihole/asset?file=pihole.js', 'footer', true); $settings = modules()->settings('pihole'); $instances = module_fn('pihole', 'instances'); $hasConfig = !empty($instances); $refreshSeconds = (int)($settings['dashboard_refresh_sec'] ?? 1); if ($refreshSeconds < 0) { $refreshSeconds = 1; } ?> = module_shell_header('pihole', [ 'title' => 'Pi-hole Dashboard', 'description' => 'Status, Blockings, Usage und Steuerung fuer beide Instanzen.', ]) ?>