dsadas
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
"title": "Boersenchecker",
|
"title": "Boersenchecker",
|
||||||
"description": "Depotverwaltung fuer Aktien, Kaufdaten, Kursverlauf und Waehrungsumrechnung.",
|
"description": "Depotverwaltung fuer Aktien, Kaufdaten, Kursverlauf und Waehrungsumrechnung.",
|
||||||
"actions": [
|
"actions": [
|
||||||
{ "label": "Nexus Übersicht", "href": "/", "variant": "ghost" },
|
{ "label": "Nexus Übersicht", "href": "/" },
|
||||||
{ "label": "Setup", "href": "/modules/setup/boersenchecker", "variant": "secondary" }
|
{ "label": "Setup", "href": "/modules/setup/boersenchecker" }
|
||||||
],
|
],
|
||||||
"tabs": [
|
"tabs": [
|
||||||
{ "label": "Ueberblick", "href": "/module/boersenchecker" },
|
{ "label": "Ueberblick", "href": "/module/boersenchecker" },
|
||||||
|
|||||||
@@ -50,13 +50,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php require_auth(); ?>
|
<?php require_auth(); ?>
|
||||||
<div class="module-flow">
|
<div class="module-shell"><div class="module-page-bg"><div class="module-page-stack">
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<div class="module-box-soft bg-red-900 border-l-4 border-red-500 text-red-100" role="alert">
|
<div class="section-box bg-red-900 border-l-4 border-red-500 text-red-100" role="alert">
|
||||||
<?= e($error) ?>
|
<?= e($error) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ($notice): ?>
|
<?php elseif ($notice): ?>
|
||||||
<div class="module-box-soft" style="border-color:var(--accent-2);">
|
<div class="section-box" style="border-color:var(--accent-2);">
|
||||||
<?= e($notice) ?>
|
<?= e($notice) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@@ -155,4 +155,4 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
</article>
|
</article>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div></div></div>
|
||||||
|
|||||||
@@ -36,13 +36,13 @@ foreach ($modules as $m) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php require_auth(); ?>
|
<?php require_auth(); ?>
|
||||||
<div class="module-flow">
|
<div class="module-shell"><div class="module-page-bg"><div class="module-page-stack">
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<div class="module-box-soft bg-red-900 border-l-4 border-red-500 text-red-100" role="alert">
|
<div class="section-box bg-red-900 border-l-4 border-red-500 text-red-100" role="alert">
|
||||||
<?= e($error) ?>
|
<?= e($error) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ($notice): ?>
|
<?php elseif ($notice): ?>
|
||||||
<div class="module-box-soft" style="border-color:var(--accent-2);">
|
<div class="section-box" style="border-color:var(--accent-2);">
|
||||||
<?= e($notice) ?>
|
<?= e($notice) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@@ -161,4 +161,4 @@ foreach ($modules as $m) {
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div></div></div>
|
||||||
|
|||||||
@@ -33,13 +33,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="module-flow">
|
<div class="module-shell"><div class="module-page-bg"><div class="module-page-stack">
|
||||||
<?php if ($error): ?>
|
<?php if ($error): ?>
|
||||||
<div class="module-box-soft bg-red-900 border-l-4 border-red-500 text-red-100" role="alert">
|
<div class="section-box bg-red-900 border-l-4 border-red-500 text-red-100" role="alert">
|
||||||
<?= e($error) ?>
|
<?= e($error) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ($notice): ?>
|
<?php elseif ($notice): ?>
|
||||||
<div class="module-box-soft" style="border-color:var(--accent-2);">
|
<div class="section-box" style="border-color:var(--accent-2);">
|
||||||
<?= e($notice) ?>
|
<?= e($notice) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@@ -126,4 +126,4 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div></div></div>
|
||||||
|
|||||||
@@ -359,12 +359,7 @@ function module_shell_header(string $module, array $options = []): string
|
|||||||
if ($label === '' || $href === '') {
|
if ($label === '' || $href === '') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$variant = trim((string) ($action['variant'] ?? 'secondary'));
|
$class = 'module-button module-button--secondary module-button--small';
|
||||||
$size = trim((string) ($action['size'] ?? 'sm'));
|
|
||||||
$class = $variant === 'ghost' ? 'module-button module-button--ghost' : 'module-button module-button--secondary';
|
|
||||||
if ($size === 'sm') {
|
|
||||||
$class .= ' module-button--small';
|
|
||||||
}
|
|
||||||
$html .= '<a class="' . e($class) . '" href="' . e($href) . '">' . e($label) . '</a>';
|
$html .= '<a class="' . e($class) . '" href="' . e($href) . '">' . e($label) . '</a>';
|
||||||
}
|
}
|
||||||
return $html;
|
return $html;
|
||||||
|
|||||||
Reference in New Issue
Block a user