From 48ffebfb40b393bcd9cb72a5406e3cdf4d9aabd3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 3 Oct 2021 02:47:07 +0300 Subject: add basic JavaScript functionality This was the point of this little project: generating a bunch of config files. That's what main.js does. Also, rework the layout in index.html a bit. form-horizontal is not used that way. --- index.html | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 832fb1b..66d8e60 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,9 @@ layout: plain navbar: link: Main icon: home +custom_js: + - https://cdn.jsdelivr.net/npm/ipaddr.js@2.0.0/ipaddr.min.js + - main.js params: - id: server @@ -68,38 +71,41 @@ show the configuration that can be easily consumed by the new client.

-
+
{% for grp in page.params %}
-
-
+
+

{{ grp.desc }}

-
{% for param in grp.items %} -
-
+
- {{ param.help }} + + + {{ param.help }} +
-
{% endfor %} +
{% endfor %} -
-
-
-
- -
-
+
+
+ + + +
+ +
+
-- cgit v1.2.3