mirror of
https://github.com/OliveTin/OliveTin
synced 2026-08-28 13:36:32 +00:00
Sidebar (#88)
* 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:
co-authored by
Jonny Read
Matthew Strasiotto
parent
eca3145b1a
commit
244404afbc
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user