* feature: allow configurable title

* feature: sidebar prototype

* Spelling fix - Thanks @jonny7read

Spelling fix - Thanks @jonny7read

Co-authored-by: Jonny Read <jonny7read@gmail.com>

* feature: sidebar support

* bugfix: pagetitle

* fmt: hide sidebar under feature toggle

* fmt: Codestyle in style.css and main.js

Co-authored-by: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com>
Co-authored-by: Jonny Read <jonny7read@gmail.com>
This commit is contained in:
James Read
2022-11-11 12:13:47 +04:00
committed by GitHub
co-authored by Jonny Read Matthew Strasiotto
parent eca3145b1a
commit 244404afbc
5 changed files with 106 additions and 1 deletions
+3
View File
@@ -19,6 +19,8 @@ type webUISettings struct {
ShowNewVersions bool
AvailableVersion string
CurrentVersion string
PageTitle string
}
func findWebuiDir() string {
@@ -52,6 +54,7 @@ func generateWebUISettings(w http.ResponseWriter, r *http.Request) {
ShowNewVersions: cfg.ShowNewVersions,
AvailableVersion: updatecheck.AvailableVersion,
CurrentVersion: updatecheck.CurrentVersion,
PageTitle: cfg.PageTitle,
})
_, err := w.Write([]byte(jsonRet))