diff --git a/internal/routes/misc.go b/internal/routes/misc.go index 6e2ac52..918885b 100644 --- a/internal/routes/misc.go +++ b/internal/routes/misc.go @@ -69,7 +69,7 @@ func (ctrl *MiscController) Index(w http.ResponseWriter, r *auth.AuthenticatedRe // Note the call to ParseFS instead of Parse t, err := template.ParseFS(TemplatesFS, "templates/index.html.tmpl") if err != nil { - log.Fatal(err) + logrus.Fatalln(err) } // Header @@ -116,7 +116,7 @@ func (ctrl *MiscController) getConfiguration(w http.ResponseWriter, r *auth.Auth // Note the call to ParseFS instead of Parse t, err := template.ParseFS(TemplatesFS, "templates/configuration.html.tmpl") if err != nil { - log.Fatal(err) + logrus.Fatalln(err) } // Header diff --git a/templates/configuration.html.tmpl b/templates/configuration.html.tmpl index 29d7320..182fe2d 100644 --- a/templates/configuration.html.tmpl +++ b/templates/configuration.html.tmpl @@ -130,8 +130,8 @@ -
- +
+
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl index 71122d5..8249dba 100644 --- a/templates/index.html.tmpl +++ b/templates/index.html.tmpl @@ -111,12 +111,12 @@ {{ range $key, $value := .Cameras }} -