mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
webui: drop Status > Keystore page
GET /keystore was just an http.Redirect to /configure/keystore — no actual status view ever existed; the link landed users in Configure and folded the Status group on the way, which was confusing. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -293,9 +293,6 @@ func New(
|
||||
mux.HandleFunc("GET /interfaces/{name}", iface.Detail)
|
||||
mux.HandleFunc("GET /interfaces/{name}/counters", iface.Counters)
|
||||
mux.HandleFunc("GET /firewall", fw.Overview)
|
||||
mux.HandleFunc("GET /keystore", func(w http.ResponseWriter, r *http.Request) {
|
||||
http.Redirect(w, r, "/configure/keystore", http.StatusMovedPermanently)
|
||||
})
|
||||
mux.HandleFunc("GET /software", sys.Software)
|
||||
mux.HandleFunc("GET /software/progress", sys.SoftwareProgress)
|
||||
mux.HandleFunc("POST /software/install", sys.SoftwareInstall)
|
||||
|
||||
@@ -49,16 +49,6 @@
|
||||
Services
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/keystore"
|
||||
hx-get="/keystore"
|
||||
hx-target="#content"
|
||||
hx-push-url="true"
|
||||
class="nav-link {{if eq .ActivePage "keystore"}}active{{end}}">
|
||||
<span class="nav-icon" style="--icon: url('/assets/img/icons/keystore.svg')"></span>
|
||||
Keystore
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/nacm"
|
||||
hx-get="/nacm"
|
||||
|
||||
Reference in New Issue
Block a user