From 9b13628980d48e5efd0cc582c80a4a3e94a59a25 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Tue, 8 Oct 2024 15:22:58 -0400 Subject: Remove dashboard rendering The dashboard html falls out of the responsibility of the backend. The static site provides the html. --- templates/dashboard/dashboard.html | 9 --------- templates/dashboard/server_controls.html | 7 ------- templates/dashboard/server_logs.html | 10 ---------- templates/dashboard/server_status.html | 15 --------------- 4 files changed, 41 deletions(-) delete mode 100644 templates/dashboard/dashboard.html delete mode 100644 templates/dashboard/server_controls.html delete mode 100644 templates/dashboard/server_logs.html delete mode 100644 templates/dashboard/server_status.html (limited to 'templates/dashboard') diff --git a/templates/dashboard/dashboard.html b/templates/dashboard/dashboard.html deleted file mode 100644 index b0f7eb3..0000000 --- a/templates/dashboard/dashboard.html +++ /dev/null @@ -1,9 +0,0 @@ -{{ define "body" }} -

Dashboard Home

-

Welcome to the Dashboard! It is still under construction so please be patient :)

-
- {{template "server_status" . }} - {{template "server_controls" . }} - {{template "server_logs" . }} -
-{{ end }} diff --git a/templates/dashboard/server_controls.html b/templates/dashboard/server_controls.html deleted file mode 100644 index eba93e8..0000000 --- a/templates/dashboard/server_controls.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "server_controls" }} -
-

Server Controls

- - -
-{{ end }} diff --git a/templates/dashboard/server_logs.html b/templates/dashboard/server_logs.html deleted file mode 100644 index f1977ac..0000000 --- a/templates/dashboard/server_logs.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "server_logs" }} -
-

Server Logs

-
- - - -
-
-{{ end }} diff --git a/templates/dashboard/server_status.html b/templates/dashboard/server_status.html deleted file mode 100644 index d118714..0000000 --- a/templates/dashboard/server_status.html +++ /dev/null @@ -1,15 +0,0 @@ -{{define "server_status"}} -
-

Server Status

-
-
-
Url
-
{{ .ServerStatus.Site }}
-
Online
-
{{ .ServerStatus.Online }}
-
Timestamp
-
{{ .ServerStatus.Timestamp }}
-
-
-
-{{end}} -- cgit v1.2.3