From 2430bf57c22948e66b2c918d324d6e0bff4f6792 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Wed, 17 Feb 2021 13:48:13 +0100 Subject: add i18n'd html templates, newer patch for web.go --- v0.9.5/views/i18n/about.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 v0.9.5/views/i18n/about.html (limited to 'v0.9.5/views/i18n/about.html') diff --git a/v0.9.5/views/i18n/about.html b/v0.9.5/views/i18n/about.html new file mode 100644 index 0000000..962e7c3 --- /dev/null +++ b/v0.9.5/views/i18n/about.html @@ -0,0 +1,15 @@ +{{ template "header.html" . }} +
+
+{{ .AboutMsg }}
+

+ + +
{{ .i18n.Version }}:{{ .HonkVersion }} +
{{ .i18n.Memory }}:{{ printf "%.02f" .Sensors.Memory }}MB +
{{ .i18n.Uptime }}:{{ printf "%.02f" .Sensors.Uptime }}s +
{{ .i18n.Cputime }}:{{ printf "%.02f" .Sensors.CPU }}s +
+

+

+
-- cgit v1.2.3-70-g09d2