admin: remove Alpha badge and unused Metrics/Logs menu items (#8525)

* admin: remove Alpha badge and unused Metrics/Logs menu items

* Update layout_templ.go
This commit is contained in:
Chris Lu
2026-03-05 11:51:11 -08:00
committed by GitHub
parent fcd5de9710
commit 1f3df6e9ef
2 changed files with 11 additions and 25 deletions

View File

@@ -58,7 +58,6 @@ templ Layout(view ViewContext, content templ.Component) {
<a class="navbar-brand fw-bold" href="/admin">
<i class="fas fa-server me-2"></i>
SeaweedFS Admin
<span class="badge bg-warning text-dark ms-2">ALPHA</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
@@ -245,19 +244,6 @@ templ Layout(view ViewContext, content templ.Component) {
</div>
}
</li>
<!-- Commented out for later -->
<!--
<li class="nav-item">
<a class="nav-link" href="/metrics">
<i class="fas fa-chart-line me-2"></i>Metrics
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/logs">
<i class="fas fa-file-alt me-2"></i>Logs
</a>
</li>
-->
</ul>
<h6 class="sidebar-heading px-3 mt-4 mb-1 text-muted">