From e6354c27d5a94cce97d850450f12694ac1a9f3eb Mon Sep 17 00:00:00 2001 From: Dejan R Date: Mon, 20 Apr 2026 18:03:56 +0200 Subject: [PATCH] added index.html --- static/index.html | 1429 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1429 insertions(+) create mode 100644 static/index.html diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000..e541781 --- /dev/null +++ b/static/index.html @@ -0,0 +1,1429 @@ + + + + + + {{.Title}} + + + + + + +
+ + +
+
+

{{.Title}}

+

{{.Subtitle}}

+

MAX_TONNAGE = {{printf "%.1f" .MaxTonnage}} {{.UnitForce}}

+
+ +
+ {{if .ShowHeaderControls}} +
+ + +
+ {{end}} + +
+
+
+ Disconnected +
+ +
Last update: --:--:--.---
+ +
Dropped S: 0 | E: 0
+
+
+
+ +
+ {{if .ShowVerdict}} +
+
+
Machine verdict
+
NO DATA
+
+
Waiting for PLC data
+
+ {{end}} + + {{if .ShowSummaryBar}} +
+
+
+
+
+
FORCE
+
NO DATA
+
+
+
--
+
+ +
+
+
+
+
IMBALANCE
+
NO DATA
+
+
+
--
+
+ +
+
+
+
+
PLC
+
OFFLINE
+
+
+
Disconnected
+
+
+ {{end}} + + {{if .ShowOverview}} +
+
+
+
TOTAL PEAK FORCE
+
+
0.0
+
{{.UnitForce}}
+
+
+ +
+
+
TOTAL %
+
0.0 {{.UnitPct}}
+
+
+
IMBALANCE
+
0.0 {{.UnitPct}}
+
abs(L - R)
+
+
+
BIAS
+
0.0 {{.UnitPct}}
+
L - R
+
+
+
LIMITS
+
Force W {{printf "%.0f" .WarningPercent}} / C {{printf "%.0f" .CriticalPercent}}
+
Imb W {{printf "%.0f" .ImbalanceWarningPercent}} / C {{printf "%.0f" .ImbalanceCriticalPercent}}
+
+
+
+
+ {{end}} + + {{if .ShowIntelligence}} +
+
+
+

Drift / Deterioration Intelligence

+
Averages, drift direction, imbalance deterioration and process stability
+
+
+ + + + +
+ + +
+
+
+
+
+
AVG PEAK 5 MIN
+
--
+
No data
+
+
+
AVG PEAK 1 HOUR
+
--
+
No data
+
+
+
FORCE TREND
+
--
+
No data
+
+
+
IMBALANCE TREND
+
--
+
No data
+
+
+
PROCESS STABILITY
+
--
+
No data
+
+
+
+ {{end}} + + {{if .ShowAlarmTimeline}} +
+
+
+

Event / Alarm Timeline

+
Recent transitions show exactly when the process began drifting, overloading, losing balance, or losing PLC communication
+
+
Newest events first • clear events included
+
+
+ + + + + + + + + + + + + + +
TimeSeveritySourceEventValueLimit
No events yet
+
+
+ {{end}} + + {{if .ShowGauges}} +
+
+ {{if .ShowGaugeDigital}} +
+
+
+
+

{{.LeftLabel}}

+
NORMAL
+
+
+
+
0.0
+
{{.UnitPct}}
+
0.0 {{.UnitForce}}
+
+
+ {{else}} +
+
+
+

{{.LeftLabel}}

+
NORMAL
+
+
+ {{end}} +
+ +
+
+ +
+ {{if .ShowGaugeDigital}} +
+
+
+
+

{{.RightLabel}}

+
NORMAL
+
+
+
+
0.0
+
{{.UnitPct}}
+
0.0 {{.UnitForce}}
+
+
+ {{else}} +
+
+
+

{{.RightLabel}}

+
NORMAL
+
+
+ {{end}} +
+ +
+
+
+ {{end}} + + {{if .ShowTrendChart}} +
+
+
+
+

Peak Trend

+
Piezo peak/stroke history from SQLite with visible warning and critical limits
+
+
+ + + + + + + +
+ + +
+
+
+
+ +
+
+
+ {{end}} +
+
+ + + + \ No newline at end of file