blob: fd0afe4d25d99a8b1bb8a4e7302501859249034d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<!DOCTYPE html>
<html>
<head>
<title>CATS Radio Node - {{ title }}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
{% for js in page.styles() %}
<script src="/static/{{ js }}.js" defer></script>
{% endfor %}
</head>
<body>
<div class="flex">
<nav class="flex-none">
<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">{{ conf.callsign }}-{{ conf.ssid }}</p>
</div>
<div class="divide-y divide-sky-300">
<ul class="pt-2 pb-4 space-y-1 text-lg">
<a href="/" class="">
<li class="rounded-md mt-1 p-3 {% if page == ActivePage::Dashboard %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<i class="w-8 fa fa-home" aria-hidden="true"></i><span>Dashboard</span>
</li>
</a>
<a href="/chat" class="">
<li class="rounded-md mt-1 p-3 {% if page == ActivePage::Chat %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<i class="w-8 fa fa-comments" aria-hidden="true"></i><span>Chat</span>
</li>
</a>
<a href="/send" class="">
<li class="rounded-md mt-1 p-3 {% if page == ActivePage::Send %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<i class="w-8 fa fa-paper-plane-o" aria-hidden="true"></i><span>Send</span>
</li>
</a>
<a href="/settings" class="">
<li class="rounded-md mt-1 p-3 {% if page == ActivePage::Settings %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300">
<i class="w-8 fa fa-cog" aria-hidden="true"></i><span>Settings</span>
</li>
</a>
</ul>
</div>
</div>
</nav>
<main class="flex-auto p-4">
{# vi:set et sw=2 ts=2: #}
|