aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/head.html6
-rw-r--r--templates/settings.html9
2 files changed, 11 insertions, 4 deletions
diff --git a/templates/head.html b/templates/head.html
index f15487c..f1c4a8a 100644
--- a/templates/head.html
+++ b/templates/head.html
@@ -24,17 +24,17 @@
<i class="w-8 fa fa-home" aria-hidden="true"></i><span>Dashboard</span>
</a>
</li>
- <li class="rounded-md p-3 {% if page == ActivePage::Incoming %} bg-sky-200 text-sky-900 {% endif %}">
+ <li class="rounded-md p-3 {% if page == ActivePage::Incoming %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<a href="/incoming" class="p-2 m-2">
<i class="w-8 fa fa-inbox" aria-hidden="true"></i><span>Incoming</span>
</a>
</li>
- <li class="rounded-md p-3 {% if page == ActivePage::Send %} bg-sky-200 text-sky-900 {% endif %}">
+ <li class="rounded-md p-3 {% if page == ActivePage::Send %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<a href="/send" class="p-2 m-2">
<i class="w-8 fa fa-paper-plane-o" aria-hidden="true"></i><span>Send</span>
</a>
</li>
- <li class="rounded-md p-3 {% if page == ActivePage::Settings %} bg-sky-200 text-sky-900 {% endif %}">
+ <li class="rounded-md p-3 {% if page == ActivePage::Settings %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<a href="/settings" class="p-2 m-2">
<i class="w-8 fa fa-cog" aria-hidden="true"></i><span>Settings</span>
</a>
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: #}