文件
admin 261c0116ba
Theme CD / Package Theme (release) Failing after 13m8s
Theme CD / Release (release) Failing after 14m59s
refactor(alpine): restructure components and remove unused utilities for better modularity and maintainability
2026-06-14 08:31:42 +08:00

33 行
1.2 KiB
HTML

<header class="devcm-topbar header" th:fragment="header (pageType)" th:with="menu = ${menuFinder.getPrimary()}">
<div class="devcm-topbar__main header__inner">
<a class="devcm-brand logo" href="/" th:aria-label="#{devcm.explorer.home}">
<img
class="devcm-brand__image icon"
th:if="${not #strings.isEmpty(theme.config.basic.logo)}"
th:src="${theme.config.basic.logo}"
alt="Logo"
/>
<span class="devcm-brand__mark" th:unless="${not #strings.isEmpty(theme.config.basic.logo)}">DEV<br />CM</span>
<span class="devcm-brand__name">DevCM</span>
</a>
<div class="devcm-prompt-stream header__center">
<span class="devcm-prompt-stream__name" th:text="|${terminalUser}@devcm:~$|">admin@devcm:~$</span>
<span class="devcm-prompt-stream__line dividing" aria-hidden="true"></span>
</div>
<div class="devcm-topbar__actions">
<button
type="button"
class="devcm-icon-button button"
x-data="themeMode()"
@click="handleToggleThemeMode()"
th:aria-label="#{devcm.action.toggleTheme}"
th:title="#{devcm.action.toggleTheme}"
>
<i class="i-pixelarticons-sun-alt"></i>
</button>
</div>
</div>
</header>