adsd
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user