From a9fefa7779288c018242c04c24e384d7f3a4dab7 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Mon, 4 May 2026 03:13:30 +0200 Subject: [PATCH] asdasd --- partials/landingpages/modules/index.php | 154 ++++++++++++------------ 1 file changed, 76 insertions(+), 78 deletions(-) diff --git a/partials/landingpages/modules/index.php b/partials/landingpages/modules/index.php index b570495..5d7306b 100644 --- a/partials/landingpages/modules/index.php +++ b/partials/landingpages/modules/index.php @@ -74,87 +74,85 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { -
-
- - - $authUserLabels[$user] ?? $user, - $authUsers - ); - $accessParts[] = 'Nutzer: ' . implode(', ', $userLabels); - } - $accessLabel = implode(' · ', $accessParts); - $accessClass = ' module-admin-badge--success'; - } elseif ($authRequired) { - $accessLabel = 'Login erforderlich'; - $accessClass = ' module-admin-badge--warning'; - } else { - $accessLabel = 'Offen ohne Modulschutz'; - $accessClass = ' module-admin-badge--danger'; - } - $migrationStatus = modules()->migrationStatus($module['name']); - $pendingMigrations = $migrationStatus['pending'] ?? []; - $changedMigrations = $migrationStatus['changed'] ?? []; - $migrationLabel = $pendingMigrations !== [] - ? count($pendingMigrations) . ' ausstehend' - : (($migrationStatus['available'] ?? 0) > 0 ? 'Schema aktuell' : 'Keine Migrationen'); - ?> -
-
-
-

-

-
+
+ + + $authUserLabels[$user] ?? $user, + $authUsers + ); + $accessParts[] = 'Nutzer: ' . implode(', ', $userLabels); + } + $accessLabel = implode(' · ', $accessParts); + $accessClass = ' module-admin-badge--success'; + } elseif ($authRequired) { + $accessLabel = 'Login erforderlich'; + $accessClass = ' module-admin-badge--warning'; + } else { + $accessLabel = 'Offen ohne Modulschutz'; + $accessClass = ' module-admin-badge--danger'; + } + $migrationStatus = modules()->migrationStatus($module['name']); + $pendingMigrations = $migrationStatus['pending'] ?? []; + $changedMigrations = $migrationStatus['changed'] ?? []; + $migrationLabel = $pendingMigrations !== [] + ? count($pendingMigrations) . ' ausstehend' + : (($migrationStatus['available'] ?? 0) > 0 ? 'Schema aktuell' : 'Keine Migrationen'); + ?> +
+
+
+

+

-
-
- Status - Aktiv -
-
- Zugriff - -
-
- Migrationen - -
+
+
+
+ Status + Aktiv
- -
- Achtung: bereits angewendete Migration(en) wurden verändert. -
- -
- Öffnen - Setup - Zugriff - -
- - -
- +
+ Zugriff + +
+
+ Migrationen + +
+
+ +
+ Achtung: bereits angewendete Migration(en) wurden verändert. +
+ +
+ Öffnen + Setup + Zugriff +
- +
-
-
- -
-
+ +
+ + +
+ + + +