ysdsd
This commit is contained in:
@@ -30,10 +30,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
<p style="margin-top:.75rem;">
|
<p style="margin-top:.75rem;">
|
||||||
<a class="nav-link" href="/modules/sql-import">Zentralen SQL-Import öffnen</a>
|
<a class="nav-link" href="/modules/sql-import">Zentralen SQL-Import öffnen</a>
|
||||||
</p>
|
</p>
|
||||||
<div class="module-admin-note">
|
|
||||||
<strong>Was bedeutet „Migrationen anwenden“?</strong>
|
|
||||||
<p>Damit werden neue Modulschritte aus <code>modules/<name>/migrations/</code> ausgeführt, meist für Datenbanktabellen, zusätzliche Spalten oder initiale Moduldaten. Bereits protokollierte Migrationen werden dabei nicht erneut ausgeführt.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<div class="bg-red-900 border-l-4 border-red-500 text-red-100 p-4 mb-6" role="alert">
|
<div class="bg-red-900 border-l-4 border-red-500 text-red-100 p-4 mb-6" role="alert">
|
||||||
|
|||||||
@@ -38,10 +38,6 @@ foreach ($modules as $m) {
|
|||||||
<p style="margin-top:.75rem;">
|
<p style="margin-top:.75rem;">
|
||||||
<a class="nav-link" href="/modules/sql-import">Zentralen SQL-Import öffnen</a>
|
<a class="nav-link" href="/modules/sql-import">Zentralen SQL-Import öffnen</a>
|
||||||
</p>
|
</p>
|
||||||
<div class="module-admin-note">
|
|
||||||
<strong>Migrationen</strong>
|
|
||||||
<p>Falls ein Modul neue Datenbankänderungen mitbringt, können sie hier einmalig angewendet werden, bevor das Modul genutzt oder aktualisiert wird.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<div class="bg-red-900 border-l-4 border-red-500 text-red-100 p-4 mb-6" role="alert">
|
<div class="bg-red-900 border-l-4 border-red-500 text-red-100 p-4 mb-6" role="alert">
|
||||||
|
|||||||
@@ -637,25 +637,6 @@ body.has-modal-open {
|
|||||||
gap: 14px;
|
gap: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-note {
|
|
||||||
margin-top: 1rem;
|
|
||||||
padding: 14px 16px;
|
|
||||||
border: 1px solid var(--line);
|
|
||||||
border-radius: 16px;
|
|
||||||
background: color-mix(in srgb, var(--surface) 94%, transparent);
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-admin-note strong {
|
|
||||||
display: block;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-admin-note p {
|
|
||||||
margin: 0.45rem 0 0;
|
|
||||||
color: var(--muted);
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.module-admin-grid {
|
.module-admin-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
||||||
@@ -705,49 +686,52 @@ body.has-modal-open {
|
|||||||
.module-admin-meta__item {
|
.module-admin-meta__item {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding: 12px 14px;
|
min-width: 0;
|
||||||
border: 1px solid var(--line);
|
padding: 11px 12px;
|
||||||
border-radius: 16px;
|
border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
|
||||||
background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
|
border-radius: 12px;
|
||||||
|
background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-meta__label {
|
.module-admin-meta__label {
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
font-size: 0.74rem;
|
font-size: 0.72rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.06em;
|
letter-spacing: 0.06em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-badge {
|
.module-admin-badge {
|
||||||
display: inline-flex;
|
display: inline-block;
|
||||||
align-items: center;
|
width: 100%;
|
||||||
width: fit-content;
|
max-width: 100%;
|
||||||
min-height: 28px;
|
padding: 5px 8px;
|
||||||
padding: 4px 10px;
|
border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
|
||||||
border: 1px solid var(--line);
|
border-radius: 10px;
|
||||||
border-radius: 999px;
|
background: color-mix(in srgb, var(--surface) 90%, transparent);
|
||||||
background: color-mix(in srgb, var(--surface) 92%, transparent);
|
|
||||||
font-size: 0.82rem;
|
font-size: 0.82rem;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
|
line-height: 1.25;
|
||||||
|
white-space: normal;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-badge--success {
|
.module-admin-badge--success {
|
||||||
border-color: color-mix(in srgb, var(--accent-green) 60%, var(--line));
|
border-color: color-mix(in srgb, var(--accent-green) 28%, var(--line));
|
||||||
color: color-mix(in srgb, var(--accent-green) 78%, var(--text));
|
color: color-mix(in srgb, var(--accent-green) 70%, var(--text));
|
||||||
background: color-mix(in srgb, var(--accent-green) 12%, transparent);
|
background: color-mix(in srgb, var(--accent-green) 8%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-badge--warning {
|
.module-admin-badge--warning {
|
||||||
border-color: color-mix(in srgb, var(--accent-orange) 72%, var(--line));
|
border-color: color-mix(in srgb, var(--accent-orange) 34%, var(--line));
|
||||||
color: color-mix(in srgb, var(--accent-orange) 88%, var(--text));
|
color: color-mix(in srgb, var(--accent-orange) 82%, var(--text));
|
||||||
background: color-mix(in srgb, var(--accent-orange) 12%, transparent);
|
background: color-mix(in srgb, var(--accent-orange) 8%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-badge--accent {
|
.module-admin-badge--accent {
|
||||||
border-color: color-mix(in srgb, var(--brand-accent) 64%, var(--line));
|
border-color: color-mix(in srgb, var(--brand-accent) 28%, var(--line));
|
||||||
color: color-mix(in srgb, var(--brand-accent) 86%, var(--text));
|
color: color-mix(in srgb, var(--brand-accent) 76%, var(--text));
|
||||||
background: color-mix(in srgb, var(--brand-accent) 12%, transparent);
|
background: color-mix(in srgb, var(--brand-accent) 8%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-admin-access,
|
.module-admin-access,
|
||||||
|
|||||||
Reference in New Issue
Block a user