aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dashboard
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-10-05 13:40:12 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-10-08 15:21:16 -0400
commit9e255c7a19da5e4249f1c069e3dcabfa42fc5db1 (patch)
tree6d085374edc508a316d7de6a20d1a849c5adbfad /dashboard
parentfc9d3f4dfea54fb8cad3dda316295a25a2e08056 (diff)
Add server controls to dashboard, update styling
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/dashboard.go6
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"),
))
}