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-05 13:40:12 -0400
commit0f28b1981fc386f6171ae14939a1b7aca86640ba (patch)
tree1c3109c972b904ff71565ffa953a62746cf503a3 /dashboard
parent50df0f7b61462a6bfad9e74f7c7917c6b19d4b92 (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"),
))
}