diff --git a/modules/fx-rates/assets/fx-rates.css b/modules/fx-rates/assets/fx-rates.css index 663266a..ba76b37 100644 --- a/modules/fx-rates/assets/fx-rates.css +++ b/modules/fx-rates/assets/fx-rates.css @@ -1,15 +1,6 @@ #fx-rates-app, #fx-rates-currencies { - display: grid; - gap: 16px; -} - -.fx-submenu-row { - display: flex; - gap: 14px; - justify-content: space-between; - align-items: center; - flex-wrap: wrap; + display: contents; } .fx-section-head { @@ -284,7 +275,6 @@ flex-direction: column; } - .fx-submenu-row, .fx-card-head { align-items: flex-start; } diff --git a/modules/fx-rates/pages/currencies.php b/modules/fx-rates/pages/currencies.php index d6e1967..fc06944 100644 --- a/modules/fx-rates/pages/currencies.php +++ b/modules/fx-rates/pages/currencies.php @@ -117,23 +117,15 @@ $tabs = [ ['label' => 'Waehrungen', 'href' => '/module/fx-rates/currencies', 'active' => true], ]; ?> + 'Waehrungen', + 'tabs' => $tabs, + 'actions' => [ + ['label' => 'Nexus Übersicht', 'href' => '/', 'variant' => 'secondary', 'size' => 'sm'], + ['label' => 'Setup', 'href' => '/modules/setup/fx-rates', 'variant' => 'secondary', 'size' => 'sm'], + ], +]) ?>
'> - -
@@ -285,3 +277,4 @@ $tabs = [
+ diff --git a/modules/fx-rates/pages/index.php b/modules/fx-rates/pages/index.php index 4b7e5f5..1dcd7a6 100644 --- a/modules/fx-rates/pages/index.php +++ b/modules/fx-rates/pages/index.php @@ -64,24 +64,16 @@ $tabs = [ ['label' => 'Waehrungen', 'href' => '/module/fx-rates/currencies'], ]; ?> + 'Ueberblick', + 'tabs' => $tabs, + 'actions' => [ + ['label' => 'Nexus Übersicht', 'href' => '/', 'variant' => 'secondary', 'size' => 'sm'], + ['label' => 'Setup', 'href' => '/modules/setup/fx-rates', 'variant' => 'secondary', 'size' => 'sm'], + ['label' => 'Aktuelle Kurse abrufen', 'href' => '/module/fx-rates?refresh=1', 'variant' => 'secondary', 'size' => 'sm'], + ], +]) ?>
'> - -
@@ -153,4 +145,5 @@ $tabs = [
- + +