ui: move version badge next to title in header left side
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
22ed2c6e12
commit
70c26121a8
2 changed files with 7 additions and 4 deletions
|
|
@ -2399,9 +2399,12 @@ tr.drawer-row-active {
|
||||||
Version badge in header
|
Version badge in header
|
||||||
----------------------------------------------------------------------- */
|
----------------------------------------------------------------------- */
|
||||||
.header-version {
|
.header-version {
|
||||||
font-size: 11px;
|
font-size: 10px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
opacity: .6;
|
opacity: .55;
|
||||||
padding: 0 2px;
|
font-weight: 400;
|
||||||
|
letter-spacing: 0;
|
||||||
|
align-self: flex-end;
|
||||||
|
padding-bottom: 1px;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
<line x1="6" y1="18" x2="6.01" y2="18"></line>
|
<line x1="6" y1="18" x2="6.01" y2="18"></line>
|
||||||
</svg>
|
</svg>
|
||||||
<span class="header-title">TrueNAS Burn-In</span>
|
<span class="header-title">TrueNAS Burn-In</span>
|
||||||
|
<span class="header-version">v{{ app_version if app_version is defined else '—' }}</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="header-meta">
|
<div class="header-meta">
|
||||||
<span class="live-indicator">
|
<span class="live-indicator">
|
||||||
|
|
@ -37,7 +38,6 @@
|
||||||
<a class="header-link" href="/audit">Audit</a>
|
<a class="header-link" href="/audit">Audit</a>
|
||||||
<a class="header-link" href="/settings">Settings</a>
|
<a class="header-link" href="/settings">Settings</a>
|
||||||
<a class="header-link" href="/docs" target="_blank" rel="noopener">API</a>
|
<a class="header-link" href="/docs" target="_blank" rel="noopener">API</a>
|
||||||
<span class="header-version">v{{ app_version if app_version is defined else '—' }}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue