blob: f15487c3593f9b568c87ebbaa6c34e29d9ab9ad8 (
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
|
<!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">
<!-- <script src="/static/index.js" defer></script> -->
</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">{{ callsign }}</p>
</div>
<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="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="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>
</div>
</div>
</nav>
<main class="flex-auto p-4">
{# vi:set et sw=2 ts=2: #}
|