aboutsummaryrefslogtreecommitdiffstats
path: root/templates/head.html
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-09-19 22:09:20 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-09-19 22:09:20 +0200
commiteec01c9b72feff9533477014881b982124ca7b6d (patch)
tree084586316e04f01f48b479de0cb41113639ac8d5 /templates/head.html
downloadodr-dabmux-gui-eec01c9b72feff9533477014881b982124ca7b6d.tar.gz
odr-dabmux-gui-eec01c9b72feff9533477014881b982124ca7b6d.tar.bz2
odr-dabmux-gui-eec01c9b72feff9533477014881b982124ca7b6d.zip
Create project
Diffstat (limited to 'templates/head.html')
-rw-r--r--templates/head.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/head.html b/templates/head.html
new file mode 100644
index 0000000..47b314f
--- /dev/null
+++ b/templates/head.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>ODR-DabMux - {{ 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 }}" defer></script>
+ {% endfor %}
+ </head>
+ <body>
+ <div class="flex">
+ <nav>
+ <div class="head-nav-topdiv">
+ <div class="nav-title">
+ <p class="text-lg">ODR-DabMux</p>
+ <p class="text-lg"><b>{{ conf.name }}</b></p>
+ </div>
+
+ <div class="div-menu">
+ <ul class="ul-menu">
+ <a href="/">
+ <li class="{% if page == ActivePage::Dashboard %}menu-active{% else %}menu-entry{% endif %}">
+ <i class="icon-fa fa fa-home" aria-hidden="true"></i><span>Dashboard</span>
+ </li>
+ </a>
+ <a href="/settings" class="">
+ <li class="{% if page == ActivePage::Settings %}menu-active{% else %}menu-entry{% endif %}">
+ <i class="icon-fa fa fa-cog" aria-hidden="true"></i><span>Settings</span>
+ </li>
+ </a>
+ </ul>
+ </div>
+ </div>
+ </nav>
+ <main>
+{# vi:set et sw=2 ts=2: #}