feature: Show/Hide footer

This commit is contained in:
Russell Jones
2022-03-22 00:43:28 +00:00
parent 420105ec99
commit af78385759
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@ type webUISettings struct {
Rest string
ThemeName string
HideNavigation bool
ShowFooter bool
AvailableVersion string
CurrentVersion string
ShowNewVersions bool
@@ -53,6 +54,7 @@ func generateWebUISettings(w http.ResponseWriter, r *http.Request) {
Rest: restAddress + "/api/",
ThemeName: cfg.ThemeName,
HideNavigation: cfg.HideNavigation,
ShowFooter: cfg.ShowFooter,
AvailableVersion: updatecheck.AvailableVersion,
CurrentVersion: updatecheck.CurrentVersion,
ShowNewVersions: cfg.ShowNewVersions,