diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-02 17:26:41 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-02 17:27:46 -0400 |
| commit | 50df0f7b61462a6bfad9e74f7c7917c6b19d4b92 (patch) | |
| tree | 50f478d0cacfcb57acdc8edd0f357db304b249ae /templates/dashboard/server_status.html | |
| parent | e8d9040688925304edad469d92518da84e1b8d96 (diff) | |
Add first pass at dashboard
Diffstat (limited to 'templates/dashboard/server_status.html')
| -rw-r--r-- | templates/dashboard/server_status.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/dashboard/server_status.html b/templates/dashboard/server_status.html new file mode 100644 index 0000000..8019659 --- /dev/null +++ b/templates/dashboard/server_status.html @@ -0,0 +1,15 @@ +{{define "server_status"}} +<section class="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}} |
