aboutsummaryrefslogtreecommitdiffstats
path: root/templates/settings.html
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-02 15:12:47 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-02 15:12:47 +0100
commit4ba802d0c73a1a1664b4d3e17757e54aeefd81f7 (patch)
tree7c793de9b284e5212a7872a7fb2b74fec303895b /templates/settings.html
parent8d79d7640cadab30ff1e7bfa8df41eb08ffbdf48 (diff)
downloadcats-radio-node-4ba802d0c73a1a1664b4d3e17757e54aeefd81f7.tar.gz
cats-radio-node-4ba802d0c73a1a1664b4d3e17757e54aeefd81f7.tar.bz2
cats-radio-node-4ba802d0c73a1a1664b4d3e17757e54aeefd81f7.zip
Add default config, and start adding form
Diffstat (limited to 'templates/settings.html')
-rw-r--r--templates/settings.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/settings.html b/templates/settings.html
index 221df88..f86c43b 100644
--- a/templates/settings.html
+++ b/templates/settings.html
@@ -1,6 +1,13 @@
{% include "head.html" %}
<div class="">
- Settings!
+ <h1>Node Settings</h1>
+
+ <form action="/settings" method="post">
+ <div><label for="callsign">Callsign: <input class="textinput" type="text" name="callsign" value="{{ conf.callsign }}"></label></div>
+ <div><label for="ssid">SSID: <input class="textinput" type="number" name="ssid" value="{{ conf.ssid }}"></label></div>
+ <div><label for="icon">Icon: <input class="textinput" type="number" name="icon" value="{{ conf.icon }}"></label></div>
+ <div><input class="btn" type="submit" value="Update"></div>
+ </form>
</div>
{% include "foot.html" %}
{# vi:set et sw=2 ts=2: #}