aboutsummaryrefslogtreecommitdiffstats
path: root/templates/head.html
blob: 0d7d2bc34f303fa31f3d9c8322418c65a373097d (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
<!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-gray-100 text-gray-800">
          <div class="p-3 space-y-2 bg-gray-100 text-gray-800">
            <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>
                </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>
                </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>
                </a>
              </li>
            </ul>
          </div>
        </div>
      </nav>
      <main class="flex-auto p-4">
{# vi:set et sw=2 ts=2: #}