From 7d75d02c1e8536940a0cb4b9b6b49d8bb10eef4d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 24 Apr 2026 17:13:35 +0800 Subject: [PATCH] feat: add nodes.html page with node list and config form --- web/html/nodes.html | 255 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 web/html/nodes.html diff --git a/web/html/nodes.html b/web/html/nodes.html new file mode 100644 index 00000000..b7c32376 --- /dev/null +++ b/web/html/nodes.html @@ -0,0 +1,255 @@ +{{ template "page/head_start" .}} +{{ template "page/head_end" .}} + +{{ template "page/body_start" .}} + + + + + + + + + + + + + + + + + +
+ + + [[ nodes[0].nodeId ]] + + + + [[ nodes[0].lastHeartbeatAt ? formatTime(nodes[0].lastHeartbeatAt) : '-' ]] + [[ nodes[0].lastSyncAt ? formatTime(nodes[0].lastSyncAt) : '-' ]] + [[ nodes[0].lastSeenVersion ]] + [[ nodes[0].lastError || '-' ]] + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + SQLite + MySQL/MariaDB + + + + + + + + + + + + + + + {{ i18n "pages.nodes.dbHost" }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ i18n "pages.nodes.save" }} + + + + + +
+
+
+
+
+
+{{template "page/body_scripts" .}} + +{{ template "page/body_end" }} +