]> git.ipfire.org Git - people/ms/westferry.git/blame - src/templates/base.html
UI: Implement top menu bar
[people/ms/westferry.git] / src / templates / base.html
CommitLineData
95da2e86 1<!DOCTYPE html>
3c9a9d48 2<html class="no-js" lang="en">
95da2e86
MT
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8
95da2e86
MT
9 <link rel="icon" href="/favicon.ico">
10
a6144752
MT
11 <title>
12 {{ hostname() }}
13 {% if menu and menu.title %}
14 - {{ menu.title }}
15 {% end %}
16 - {{ _(handler.title) }}
17 </title>
95da2e86 18
95da2e86
MT
19 <link href="{{ static_url("css/westferry.css") }}" rel="stylesheet">
20 </head>
21
22 <body>
3c9a9d48
MT
23 <div class="grid-container">
24 <div class="top-bar">
25 <div class="top-bar-left">
17eb42fd 26 {% module TopbarMenu(handler.topmenu) %}
95da2e86 27 </div>
3c9a9d48
MT
28
29 <div class="top-bar-right">
30 <ul class="menu">
31 <li><input type="search" placeholder="{{ _("Search") }}"></li>
32 <li><button type="button" class="button">{{ _("Search") }}</button></li>
95da2e86
MT
33 </ul>
34 </div>
35 </div>
95da2e86 36
3c9a9d48
MT
37 <div class="grid-x grid-padding-x">
38 {% if menu %}
39 <div class="cell small-3">
ae6e9226
MT
40 <h5>{{ menu.title }}</h5>
41
a6144752
MT
42 {% module SidebarMenu(menu) %}
43 </div>
3c9a9d48 44 {% end %}
95da2e86 45
3c9a9d48
MT
46 <div class="cell auto">
47 {% block main %}{% end block %}
95da2e86 48 </div>
3c9a9d48 49 </div>
95da2e86
MT
50 </div>
51
52 <script src="{{ static_url("scripts/jquery.min.js") }}"></script>
52b2d2ac
MT
53 <script src="{{ static_url("scripts/foundation.min.js") }}"></script>
54 <script src="{{ static_url("scripts/westferry.min.js") }}"></script>
95da2e86
MT
55 </body>
56</html>