From 3b9940d03001a363c9c820c4363c7645afbd35df Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sun, 3 May 2026 02:02:32 +0200 Subject: [PATCH] modul layout --- partials/landingpages/modules/index.php | 64 +++++---- partials/landingpages/modules/install.php | 64 +++++++-- public/assets/css/app.css | 158 ++++++++++++++++++++++ 3 files changed, 246 insertions(+), 40 deletions(-) diff --git a/partials/landingpages/modules/index.php b/partials/landingpages/modules/index.php index 4dc8d66..1fbb0af 100644 --- a/partials/landingpages/modules/index.php +++ b/partials/landingpages/modules/index.php @@ -28,8 +28,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {

Module verwalten

Hier siehst du nur aktive Module. Installierte Module kannst du unten verwalten.

- Zentralen SQL-Import oeffnen + Zentralen SQL-Import öffnen

+
+ Was bedeutet „Migrationen anwenden“? +

Damit werden neue Modulschritte aus modules/<name>/migrations/ ausgeführt, meist für Datenbanktabellen, zusätzliche Spalten oder initiale Moduldaten. Bereits protokollierte Migrationen werden dabei nicht erneut ausgeführt.

+
-
+
migrationStatus($module['name']); $pendingMigrations = $migrationStatus['pending'] ?? []; $changedMigrations = $migrationStatus['changed'] ?? []; + $migrationLabel = $pendingMigrations !== [] + ? count($pendingMigrations) . ' ausstehend' + : (($migrationStatus['available'] ?? 0) > 0 ? 'Schema aktuell' : 'Keine Migrationen'); ?> -
-
-
- -
+
+
+
+

+

-
- aktiv - - - - - - Migration(en) - - 0): ?> - Schema aktuell - +
+
+
+ Status + Aktiv +
+
+ Zugriff + +
+
+ Migrationen +
-
- Achtung: bereits angewendete Migration(en) wurden veraendert. +
+ Achtung: bereits angewendete Migration(en) wurden verändert.
- -
+ +
Gruppen: + + Anmeldung erforderlich · @@ -95,7 +105,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
+
Öffnen Setup Zugriff @@ -110,11 +120,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
+
diff --git a/partials/landingpages/modules/install.php b/partials/landingpages/modules/install.php index c1ed671..57905f8 100644 --- a/partials/landingpages/modules/install.php +++ b/partials/landingpages/modules/install.php @@ -36,8 +36,12 @@ foreach ($modules as $m) {

Module installieren/aktivieren

Erkannte Module basieren auf Ordnern in modules/.

- Zentralen SQL-Import oeffnen + Zentralen SQL-Import öffnen

+
+ Migrationen +

Falls ein Modul neue Datenbankänderungen mitbringt, können sie hier einmalig angewendet werden, bevor das Modul genutzt oder aktualisiert wird.

+