diff options
Diffstat (limited to 'dashboard')
| -rw-r--r-- | dashboard/dashboard.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go index c3839f2..8daf375 100644 --- a/dashboard/dashboard.go +++ b/dashboard/dashboard.go @@ -11,6 +11,10 @@ import ( var Logger *slog.Logger var templates map[string]*template.Template +func getStatuses() { + +} + func Index(w http.ResponseWriter, req *http.Request) { t, ok := templates["dashboard"] @@ -44,5 +48,7 @@ func init() { filepath.Join("templates", "base.html"), filepath.Join("templates", "dashboard", "dashboard.html"), filepath.Join("templates", "dashboard", "server_status.html"), + filepath.Join("templates", "dashboard", "server_controls.html"), + filepath.Join("templates", "dashboard", "server_logs.html"), )) } |
