Graphical overhaul.

Remove all legacy pixeldrain pages, handlers and assets.
Remove old theming engine.
Make logo responsive to the accent colour.
Lots of other stuff.
This commit is contained in:
2026-10-01 02:06:00 +02:00
parent 7b2e4b4240
commit 58db683fc8
98 changed files with 1025 additions and 6475 deletions

8
web.go
View File

@@ -24,7 +24,6 @@ api_url_internal = "https://nova.storage/api"
# prefix will be derived from there
api_socket_path = ""
session_cookie_domain = ""
resource_dir = "res"
# Parse all the templates every time a request comes in
@@ -33,13 +32,10 @@ debug_mode = true
# Create proxy listeners to forward all requests made to /api to
# api_url_internal
proxy_api_requests = true
# When this is true every request will return a maintainance HTML page
maintenance_mode = false
`
// Init initializes the Nova Web UI controllers
func Init(r *httprouter.Router, prefix string, setLogLevel bool) {
func Init(r *httprouter.Router, setLogLevel bool) {
log.Colours = true
log.Info("Starting web UI server (PID %v)", os.Getpid())
@@ -60,5 +56,5 @@ func Init(r *httprouter.Router, prefix string, setLogLevel bool) {
log.SetLogLevel(log.LevelInfo)
}
webcontroller.New(r, prefix, conf)
webcontroller.New(r, conf)
}