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

This commit is contained in:
2026-04-23 00:21:47 +02:00
parent ac3ac0803b
commit 39bddf39e2
11 changed files with 375 additions and 71 deletions

View File

@@ -1,3 +1,12 @@
<?= module_shell_header('boersenchecker', [
'title' => 'Depot-Ueberblick',
'description' => 'Depots, Aktien und Kursverlaeufe in einer Oberflaeche.',
'tabs' => [
['label' => 'Ueberblick', 'href' => '/module/boersenchecker', 'active' => true],
['label' => 'Depotverwaltung', 'href' => '/module/boersenchecker/depotverwaltung'],
['label' => 'Aktienverwaltung', 'href' => '/module/boersenchecker/aktienverwaltung'],
],
]) ?>
<div class="bc-app">
<div class="bc-grid-bg">
<div class="bc-shell bc-stack" data-bc-home data-chart-endpoint="<?= e($chartEndpoint) ?>">
@@ -10,29 +19,6 @@
];
}, $positions), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) ?></script>
<header class="bc-hero">
<div class="bc-hero-top">
<div class="bc-hero-copy">
<div class="bc-eyebrow">Boersenchecker Modul</div>
<h1 class="bc-title">Depot-Ueberblick</h1>
<p class="bc-text">Depots, Aktien und Kursverlaeufe in einer Oberflaeche. Die Navigation folgt jetzt dem gleichen sichtbaren Prinzip wie beim Mining-Checker.</p>
</div>
<div class="bc-hero-controls">
<a class="bc-button bc-button--ghost" href="/">Zur Startseite</a>
<div class="bc-form-card">
<div class="bc-field-label">Aktives Depot</div>
<div class="bc-text" style="margin-top:8px;"><?= $selectedPortfolioId > 0 && $portfolios !== [] ? e((string) (($portfolios[array_search($selectedPortfolioId, array_column($portfolios, 'id'), true)]['name'] ?? 'Auswahl aktiv'))) : 'Kein Depot ausgewaehlt' ?></div>
</div>
</div>
</div>
<div class="bc-tabs">
<a class="bc-button bc-button--tab-active" href="/module/boersenchecker">Ueberblick</a>
<a class="bc-button bc-button--tab" href="/module/boersenchecker/depotverwaltung">Depotverwaltung</a>
<a class="bc-button bc-button--tab" href="/module/boersenchecker/aktienverwaltung">Aktienverwaltung</a>
</div>
</header>
<?php if ($error): ?>
<div class="bc-alert bc-alert--error"><?= e($error) ?></div>
<?php elseif ($notice): ?>
@@ -207,3 +193,4 @@
</div>
</div>
</div>
<?= module_shell_footer() ?>