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:
8
web.go
8
web.go
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user