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

This commit is contained in:
2026-06-17 23:29:25 +02:00
parent 35d3d856b4
commit 26b4355898
6 changed files with 126 additions and 51 deletions

View File

@@ -112,7 +112,7 @@ $renderStartIcon = static function (array $profile): string {
<div id="start-menu-actions"></div>
</div>
<div class="start-menu-block">
<p class="eyebrow">Widgets</p>
<p class="eyebrow">Infobereich</p>
<div id="start-menu-widgets"></div>
</div>
</div>
@@ -132,13 +132,18 @@ $renderStartIcon = static function (array $profile): string {
<div class="taskbar-apps" id="taskbar-apps"></div>
<div class="tray">
<?php foreach ($desktopPayload['tray'] as $trayItem): ?>
<span class="tray-pill" data-tray-id="<?= htmlspecialchars((string) $trayItem['id'], ENT_QUOTES) ?>"><?= htmlspecialchars($trayItem['label'], ENT_QUOTES) ?></span>
<button class="tray-pill tray-pill-button" type="button" data-tray-id="<?= htmlspecialchars((string) $trayItem['id'], ENT_QUOTES) ?>"><?= htmlspecialchars($trayItem['label'], ENT_QUOTES) ?></button>
<?php endforeach; ?>
<?php if (($desktopPayload['session']['authenticated'] ?? false) === true && !empty($desktopPayload['session']['logout_url'])): ?>
<a class="tray-action" href="<?= htmlspecialchars((string) $desktopPayload['session']['logout_url'], ENT_QUOTES) ?>">Logout</a>
<?php endif; ?>
<time id="clock"></time>
</div>
<div class="tray-menu" id="tray-account-menu" hidden>
<button class="tray-menu-entry" type="button" data-account-action="settings">Einstellungen</button>
<?php if (($desktopPayload['session']['authenticated'] ?? false) === true && !empty($desktopPayload['session']['logout_url'])): ?>
<a class="tray-menu-entry" data-account-action="logout" href="<?= htmlspecialchars((string) $desktopPayload['session']['logout_url'], ENT_QUOTES) ?>">Logout</a>
<?php else: ?>
<button class="tray-menu-entry" type="button" data-account-action="login">Login</button>
<?php endif; ?>
</div>
</footer>
</main>
</div>