From d7ce7860bf47ad1f51a44a9705eb0dbf1825eb66 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 27 Mar 2023 17:57:19 +0200 Subject: Pass appdata directory by argument Passing this as part of the configuration file is not flexible. With args it can be easily tweaked for the debug use case while the default path for production is included in the argument parsing. --- appdata/index.html.tmpl | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ appdata/webiot.css | 1 + 2 files changed, 50 insertions(+) create mode 100644 appdata/index.html.tmpl create mode 120000 appdata/webiot.css (limited to 'appdata') diff --git a/appdata/index.html.tmpl b/appdata/index.html.tmpl new file mode 100644 index 0000000..17c67c1 --- /dev/null +++ b/appdata/index.html.tmpl @@ -0,0 +1,49 @@ + + + + + + + + + IoT + + + + + + + + + +
+ +

IoT

+ + {{range .Hs100}} +
+

{{.Name}}

+ + +
+ {{end}} + + + +
+ + + + diff --git a/appdata/webiot.css b/appdata/webiot.css new file mode 120000 index 0000000..9dd798c --- /dev/null +++ b/appdata/webiot.css @@ -0,0 +1 @@ +../libweb/libweb.css \ No newline at end of file -- cgit v1.2.3-70-g09d2