asdasd
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-04 01:26:08 +02:00
parent 2c1a751e82
commit 0385864f1a
2 changed files with 13 additions and 4 deletions

View File

@@ -4,10 +4,7 @@ $error = null;
$notice = null;
$GLOBALS['layout_header_title'] = 'Aktive Module verwalten';
$GLOBALS['layout_header_text'] = '';
$GLOBALS['layout_header_actions'] = [
['href' => '/modules/install', 'label' => 'Module installieren/aktivieren'],
['href' => '/modules/sql-import', 'label' => 'Zentralen SQL-Import öffnen'],
];
$GLOBALS['layout_header_actions'] = [];
$knownAuthUsers = modules()->knownAuthUsers();
$authUserLabels = [];
foreach ($knownAuthUsers as $knownAuthUser) {
@@ -62,6 +59,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
</div>
<?php endif; ?>
<div class="module-box-soft module-admin-toolbar">
<a class="module-button module-button--secondary module-button--small" href="/modules/install">Module installieren/aktivieren</a>
<a class="module-button module-button--secondary module-button--small" href="/modules/sql-import">Zentralen SQL-Import öffnen</a>
</div>
<div class="module-admin-grid">
<?php foreach ($modules as $module): ?>
<?php if (empty($module['enabled'])) { continue; } ?>

View File

@@ -655,6 +655,13 @@ body.has-modal-open {
margin-top: 1rem;
}
.module-admin-toolbar {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.module-admin-grid--compact {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}