From 1fe243fb277ac1624e53a483507936dad855fc46 Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Tue, 2 May 2023 14:06:10 +0200 Subject: [PATCH] The webinterface is splitted into two inner tabs now --- firmware/data/config_template.html | 3 ++- firmware/data/index_template_bottom.html | 20 ++++++++++++++++++ firmware/data/index_template_middle.html | 1 + firmware/data/index_template_top.html | 22 ++++++++++++++++++++ firmware/data/org/config_template.html | 2 +- firmware/data/org/index_template_bottom.html | 6 ++++++ firmware/data/org/index_template_middle.html | 1 + firmware/data/org/index_template_top.html | 8 ++++--- tools/html_gen_files.sh | 7 +++++++ 9 files changed, 65 insertions(+), 5 deletions(-) create mode 100644 tools/html_gen_files.sh diff --git a/firmware/data/config_template.html b/firmware/data/config_template.html index bf94325..ad5e681 100644 --- a/firmware/data/config_template.html +++ b/firmware/data/config_template.html @@ -1,3 +1,4 @@ +

Config

@@ -59,4 +60,4 @@
- +
diff --git a/firmware/data/index_template_bottom.html b/firmware/data/index_template_bottom.html index af0a134..128182b 100644 --- a/firmware/data/index_template_bottom.html +++ b/firmware/data/index_template_bottom.html @@ -1,5 +1,25 @@ + + +
@@ -27,6 +39,13 @@
+ +
+Main +Config +
+
+

+
+
+ diff --git a/firmware/data/org/config_template.html b/firmware/data/org/config_template.html index 802760a..1cee8e5 100644 --- a/firmware/data/org/config_template.html +++ b/firmware/data/org/config_template.html @@ -1,4 +1,4 @@ -
+

Config

diff --git a/firmware/data/org/index_template_bottom.html b/firmware/data/org/index_template_bottom.html index 78a6769..e905837 100644 --- a/firmware/data/org/index_template_bottom.html +++ b/firmware/data/org/index_template_bottom.html @@ -2,15 +2,21 @@ -

+
+ diff --git a/tools/html_gen_files.sh b/tools/html_gen_files.sh new file mode 100644 index 0000000..87de9ac --- /dev/null +++ b/tools/html_gen_files.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +bash ../../tools/html2string.sh org/index_template_top.html > index_template_top.html +bash ../../tools/html2string.sh org/index_template_middle.html > index_template_middle.html +bash ../../tools/html2string.sh org/index_template_bottom.html > index_template_bottom.html +bash ../../tools/html2string.sh org/config_template.html > config_template.html +bash ../../tools/html2string.sh org/light_control_template.html > light_control_template.html