From 9659ce27b4619078c11d11ca3737a12a6a756e14 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Mon, 4 May 2026 02:43:04 +0200 Subject: [PATCH] dsadas --- modules/boersenchecker/design.json | 4 ++-- partials/landingpages/modules/index.php | 8 ++++---- partials/landingpages/modules/install.php | 8 ++++---- partials/landingpages/modules/sql_import.php | 8 ++++---- src/App/functions.php | 7 +------ 5 files changed, 15 insertions(+), 20 deletions(-) diff --git a/modules/boersenchecker/design.json b/modules/boersenchecker/design.json index 82f6eaf..400f49b 100644 --- a/modules/boersenchecker/design.json +++ b/modules/boersenchecker/design.json @@ -3,8 +3,8 @@ "title": "Boersenchecker", "description": "Depotverwaltung fuer Aktien, Kaufdaten, Kursverlauf und Waehrungsumrechnung.", "actions": [ - { "label": "Nexus Übersicht", "href": "/", "variant": "ghost" }, - { "label": "Setup", "href": "/modules/setup/boersenchecker", "variant": "secondary" } + { "label": "Nexus Übersicht", "href": "/" }, + { "label": "Setup", "href": "/modules/setup/boersenchecker" } ], "tabs": [ { "label": "Ueberblick", "href": "/module/boersenchecker" }, diff --git a/partials/landingpages/modules/index.php b/partials/landingpages/modules/index.php index 0d32d12..5d7306b 100644 --- a/partials/landingpages/modules/index.php +++ b/partials/landingpages/modules/index.php @@ -50,13 +50,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } ?> -
+
- +
diff --git a/partials/landingpages/modules/install.php b/partials/landingpages/modules/install.php index c820f2f..0af9c5c 100644 --- a/partials/landingpages/modules/install.php +++ b/partials/landingpages/modules/install.php @@ -36,13 +36,13 @@ foreach ($modules as $m) { } ?> -
+
- +
diff --git a/partials/landingpages/modules/sql_import.php b/partials/landingpages/modules/sql_import.php index 310b20a..2b35297 100644 --- a/partials/landingpages/modules/sql_import.php +++ b/partials/landingpages/modules/sql_import.php @@ -33,13 +33,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } } ?> -
+
- +
diff --git a/src/App/functions.php b/src/App/functions.php index eeb8cf3..0a9dddd 100644 --- a/src/App/functions.php +++ b/src/App/functions.php @@ -359,12 +359,7 @@ function module_shell_header(string $module, array $options = []): string if ($label === '' || $href === '') { continue; } - $variant = trim((string) ($action['variant'] ?? 'secondary')); - $size = trim((string) ($action['size'] ?? 'sm')); - $class = $variant === 'ghost' ? 'module-button module-button--ghost' : 'module-button module-button--secondary'; - if ($size === 'sm') { - $class .= ' module-button--small'; - } + $class = 'module-button module-button--secondary module-button--small'; $html .= '' . e($label) . ''; } return $html;