diff options
Diffstat (limited to 'templates/dashboard')
| -rw-r--r-- | templates/dashboard/dashboard.html | 9 | ||||
| -rw-r--r-- | templates/dashboard/server_controls.html | 7 | ||||
| -rw-r--r-- | templates/dashboard/server_logs.html | 10 | ||||
| -rw-r--r-- | templates/dashboard/server_status.html | 15 |
4 files changed, 0 insertions, 41 deletions
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" }} -<h1>Dashboard Home</h1> -<p>Welcome to the Dashboard! It is still under construction so please be patient :) </p> -<main> - {{template "server_status" . }} - {{template "server_controls" . }} - {{template "server_logs" . }} -</main> -{{ 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" }} -<section class="dashboard-item server-controls"> - <h2>Server Controls</h2> - <button>Start</button> - <button>Stop</button> -</section> -{{ 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" }} -<section class="dashboard-item server-logs"> - <h2>Server Logs</h2> - <div class="logs-viewer"> - <label for="logs-viewer-area">Foundry Logs</label> - <textarea id="logs-viewer-area" name="logs-viewer-area" readonly="true" placeholder="Loading..."></textarea> - <button>Download</button> - </div> -</section> -{{ 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"}} -<section class="dashboard-item server-status"> - <h2>Server Status</h2> - <div id=uptime> - <dl> - <dt>Url</dt> - <dd>{{ .ServerStatus.Site }}</dd> - <dt>Online</dt> - <dd>{{ .ServerStatus.Online }}</dd> - <dt>Timestamp</dt> - <dd>{{ .ServerStatus.Timestamp }}</dd> - </dl> - </div> -</section> -{{end}} |
