aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-02 14:30:44 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-01-02 14:30:44 +0100
commit8d79d7640cadab30ff1e7bfa8df41eb08ffbdf48 (patch)
tree90c5090e070aad6546e1cf198973a10ef25e00fa /templates
parent317d81c65dafae1949588cb4a9412d9bdc483a7c (diff)
downloadcats-radio-node-8d79d7640cadab30ff1e7bfa8df41eb08ffbdf48.tar.gz
cats-radio-node-8d79d7640cadab30ff1e7bfa8df41eb08ffbdf48.tar.bz2
cats-radio-node-8d79d7640cadab30ff1e7bfa8df41eb08ffbdf48.zip
Add more pages, improve nav
Diffstat (limited to 'templates')
-rw-r--r--templates/head.html31
-rw-r--r--templates/incoming.html6
-rw-r--r--templates/send.html6
-rw-r--r--templates/settings.html6
4 files changed, 36 insertions, 13 deletions
diff --git a/templates/head.html b/templates/head.html
index 0d7d2bc..f15487c 100644
--- a/templates/head.html
+++ b/templates/head.html
@@ -11,27 +11,32 @@
<body>
<div class="flex">
<nav class="flex-none">
- <div class="h-full min-h-screen p-3 space-y-2 w-60 bg-gray-100 text-gray-800">
- <div class="p-3 space-y-2 bg-gray-100 text-gray-800">
+ <div class="h-full min-h-screen p-3 space-y-2 w-60 bg-sky-100 text-sky-800">
+ <div class="p-3 rounded-lg space-y-2 bg-sky-300 text-sky-900">
<p class="text-lg">CATS Radio Node</p>
<p class="text-lg font-semibold">{{ callsign }}</p>
</div>
- <div class="divide-y divide-gray-300">
- <ul class="pt-2 pb-4 space-y-1 text-sm">
- <li class="{% if page == ActivePage::Dashboard %} bg-gray-200 text-gray-900 {% endif %}">
- <a href="/" class="flex items-center p-2 space-x-3 rounded-md">
- <i class="fa fa-home" aria-hidden="true"></i><span>Dashboard</span>
+ <div class="divide-y divide-sky-300">
+ <ul class="pt-2 pb-4 space-y-1 text-lg">
+ <li class="rounded-md p-3 {% if page == ActivePage::Dashboard %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
+ <a href="/" class="p-2 m-2">
+ <i class="w-8 fa fa-home" aria-hidden="true"></i><span>Dashboard</span>
</a>
</li>
- <li class="{% if page == ActivePage::Incoming %} bg-gray-200 text-gray-900 {% endif %}">
- <a href="/incoming" class="flex items-center p-2 space-x-3 rounded-md">
- <i class="fa fa-inbox" aria-hidden="true"></i><span>Incoming</span>
+ <li class="rounded-md p-3 {% if page == ActivePage::Incoming %} bg-sky-200 text-sky-900 {% endif %}">
+ <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="{% if page == ActivePage::Send %} bg-gray-200 text-gray-900 {% endif %}">
- <a href="/send" class="flex items-center p-2 space-x-3 rounded-md">
- <i class="fa fa-paper-plane-o" aria-hidden="true"></i><span>Send</span>
+ <li class="rounded-md p-3 {% if page == ActivePage::Send %} bg-sky-200 text-sky-900 {% endif %}">
+ <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 %}">
+ <a href="/settings" class="p-2 m-2">
+ <i class="w-8 fa fa-cog" aria-hidden="true"></i><span>Settings</span>
</a>
</li>
</ul>
diff --git a/templates/incoming.html b/templates/incoming.html
new file mode 100644
index 0000000..3de173d
--- /dev/null
+++ b/templates/incoming.html
@@ -0,0 +1,6 @@
+{% include "head.html" %}
+<div class="">
+ Incoming!
+</div>
+{% include "foot.html" %}
+{# vi:set et sw=2 ts=2: #}
diff --git a/templates/send.html b/templates/send.html
new file mode 100644
index 0000000..b47f6b0
--- /dev/null
+++ b/templates/send.html
@@ -0,0 +1,6 @@
+{% include "head.html" %}
+<div class="">
+ Send!
+</div>
+{% include "foot.html" %}
+{# vi:set et sw=2 ts=2: #}
diff --git a/templates/settings.html b/templates/settings.html
new file mode 100644
index 0000000..221df88
--- /dev/null
+++ b/templates/settings.html
@@ -0,0 +1,6 @@
+{% include "head.html" %}
+<div class="">
+ Settings!
+</div>
+{% include "foot.html" %}
+{# vi:set et sw=2 ts=2: #}