asdasd
This commit is contained in:
@@ -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; } ?>
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user