From 820b15f71a4ac4aeb0c31dc6b929f2d022cff3b8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 Mar 2024 21:07:44 +0100 Subject: Replace appdata completely by embed package The embed package makes it useless to handle static files from the source tree during runtime. All those files go simply to the embed.FS variable and are thus embedded into the binary which is easier to handle. --- templates/index.html | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 templates/index.html (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..c9fa2f4 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,53 @@ + + + + + + + webiot + + + + + + + + + +
+

webiot

+

A simple IoT web server

+
+ +
{{range .Hs100}} +
+

{{.Name}}

+ + +
{{end}} + + + + + +
+ + + + -- cgit v1.2.3-70-g09d2