From 719bad774b770dc8c185debb78e2286a06815a6b Mon Sep 17 00:00:00 2001 From: florianthepro Date: Wed, 5 Aug 2026 14:12:18 +0200 Subject: [PATCH] Update and rename index(4).php to split.php --- old/v8/{index(4).php => split.php} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename old/v8/{index(4).php => split.php} (99%) diff --git a/old/v8/index(4).php b/old/v8/split.php similarity index 99% rename from old/v8/index(4).php rename to old/v8/split.php index f816248..84e7e46 100644 --- a/old/v8/index(4).php +++ b/old/v8/split.php @@ -1,5 +1,5 @@ 'This needs the session cookie. Please accept on the sign-in page.', ]; -const SW_CSS_FILE = 'app.css'; // Stylesheet im selben Ordner +const SW_CSS_FILE = 'buergerabstimmung.css'; // Stylesheet im selben Ordner const SW_JS = <<<'JS' @@ -4617,7 +4617,7 @@ function web_main(): void serve_asset('css'); } if (preg_match('#^/a/(app\.css|app\.js|icon\.svg)$#', $path, $m) === 1) { - $kindMap = ['app.css' => 'css', 'app.js' => 'js', 'icon.svg' => 'icon']; + $kindMap = ['buergerabstimmung.css' => 'css', 'app.js' => 'js', 'icon.svg' => 'icon']; serve_asset($kindMap[$m[1]]); } if ($path === '/robots.txt') { @@ -5353,8 +5353,8 @@ function cli_selftest(): int echo "== Stylesheet ==\n"; $css = asset_source('css'); - $check('app.css liegt neben index.php', $css !== '', SW_CSS_FILE . ' fehlt'); - $check('app.css enthält die Balkenanteile', strpos($css, '.w-100 {') !== false); + $check('buergerabstimmung.css liegt neben index.php', $css !== '', SW_CSS_FILE . ' fehlt'); + $check('buergerabstimmung.css enthält die Balkenanteile', strpos($css, '.w-100 {') !== false); echo "== Sprachtabellen ==\n"; $dupes = static function (string $const): array {