From ae7ef10b67737f08a86743f687bca30a12e9e17a Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 12 Jul 2026 19:38:03 +0200 Subject: first stable --- templates/dashboard.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 templates/dashboard.html (limited to 'templates/dashboard.html') diff --git a/templates/dashboard.html b/templates/dashboard.html new file mode 100644 index 0000000..571a43e --- /dev/null +++ b/templates/dashboard.html @@ -0,0 +1,45 @@ +{% extends "base.html" %} +{% block content %} +

Dashboard

+ +{% if let Some(inst) = active_instance %} +
+

Active: {{ inst.name }}

+
+ Version: {{ inst.version }} + Type: {{ inst.server_type }} + Max Players: {{ inst.max_players }} +
+ +
+
+ {% if container_state == "running" %} + Running + {% else if container_state == "pulling" %} + Pulling image… + {% else if container_state == "starting" %} + Starting… + {% else if container_state == "stopped" %} + Stopped + {% else if container_state == "error" %} + SOMETHING BAD IS HAPPENING, CHECK DOCKER LOGS + {% else %} + {{ container_state }} + {% endif %} +
+
+ +
+ Player Management +
+ +
+
+
+{% else %} +
+

No active instance

+

Choose a server instance to start from the Instances page.

+
+{% endif %} +{% endblock %} -- cgit v1.2.3