chore(webui): redesign the settings page and fix a few display elements

This commit is contained in:
Julien Dessaux 2025-04-07 00:43:35 +02:00
parent 59b3d49a4f
commit f604bb98ab
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 24 additions and 32 deletions

View file

@ -48,9 +48,8 @@ func handleVersionsGET(db *database.DB) http.Handler {
versionData := string(version.Data[:])
render(w, versionsTemplate, http.StatusOK, VersionsData{
Page: makePage(r, &Page{
Precedent: path.Join("/states/", state.Id.String()),
Section: "states",
Title: state.Path,
Section: "states",
Title: state.Path,
}),
Account: account,
State: state,