From 578ea31b1cf28dd80c1a15baf71d3f2d4c45a155 Mon Sep 17 00:00:00 2001 From: Bruno Eckhardt Date: Tue, 26 May 2026 12:11:19 +0200 Subject: [PATCH] just form changes and css --- Framework/WEBROOT/index.php | 7 ++----- Framework/WEBROOT/src/MVC/Layout/Templates/main.php | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Framework/WEBROOT/index.php b/Framework/WEBROOT/index.php index 3b36ec1..346d62e 100644 --- a/Framework/WEBROOT/index.php +++ b/Framework/WEBROOT/index.php @@ -22,12 +22,9 @@ try { $headerActions = ''; if (isset($_SESSION['user_logged_in'])) { - $headerActions = '👤 ' . htmlspecialchars($_SESSION['username']) . '' . - '🚪 Logout ' . - $headerActions; + $headerActions = '👤 ' . htmlspecialchars($_SESSION['username']) . '' . '🚪 Logout ' . $headerActions; } else { - $headerActions = '🔑 Login ' . - $headerActions; + $headerActions = '🔑 Login ' . $headerActions; } $layout->setBlock('header_actions', $headerActions); diff --git a/Framework/WEBROOT/src/MVC/Layout/Templates/main.php b/Framework/WEBROOT/src/MVC/Layout/Templates/main.php index cd3664f..fe586ed 100644 --- a/Framework/WEBROOT/src/MVC/Layout/Templates/main.php +++ b/Framework/WEBROOT/src/MVC/Layout/Templates/main.php @@ -16,6 +16,8 @@ nav a { display: block; padding: 12px; text-decoration: none; color: inherit; border-radius: 5px; margin-bottom: 5px; } nav a:hover { background: rgba(0,0,0,0.05); } nav a.active { background: rgba(0,0,0,0.1); } + a:link { text-decoration: none; } + a:visited { color: inherit; } .logo { font-size: 1.4rem; font-weight: bold; }