This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
header-dev.mustache
84 lines (75 loc) · 3.52 KB
/
header-dev.mustache
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{lang}}"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{#title}}{{title}} - {{/title}}_("The Finnish Library Directory")</title>
<meta name="description" content='_("The Finnish Library Directory"){{#title}} - {{title}}{{/title}}'>
<meta name="author" content="Seravo Oy">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/js/libs/facetview.css">
<link rel="stylesheet" href="/js/libs/jquery-ui-1.8.18.custom/jquery-ui-1.8.18.custom.css">
{{! <link rel="stylesheet" href="/css/selectize.bootstrap3.css"> }}
<link rel="stylesheet" href="/css/selectize.default.css">
<link rel="stylesheet" href="/css/magnific-popup.css">
{{^nobanners}}
<style type="text/css" media="all">{{{header_banner_css}}}</style>
{{/nobanners}}
<link rel="gettext" type="application/x-po" href="/locale/{{lang}}/messages.po" />
<script src="/js/libs/modernizr-2.5.3-respond-1.1.0.min.js"></script>
</head>
<body>
{{^nobanners}}
{{{header_banner}}}
<div class="navbar navbar-libdir">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href='/{{^fi_active}}_("locale")/{{/fi_active}}'>
_("Library Directory")</a>
<div class="nav-collapse">
<ul class="nav">
<li {{#search_active}}class="active"{{/search_active}}><a href="search">_("Search")</a></li>
<li {{#browse_active}}class="active"{{/browse_active}}><a href="browse">_("Browse all")</a></li>
<li {{#widget_active}}class="active"{{/widget_active}}><a href="widget">_("Widgets")</a></li>
<li {{#personnel_active}}class="active"{{/personnel_active}}><a href="personnel">_("Search personnel")</a></li>
<li {{#contact_active}}class="active"{{/contact_active}}><a href="contact">_("Contact")</a></li>
{{#search_active}}
<li id="toggle_help"><a href="about">_("About")</a></li>
{{/search_active}}
<li style="margin-left: 10em;"></li>
</ul>
<ul class="nav">
{{^en_active}}
<li><a href="/en/{{resource}}">English</a></li>
{{/en_active}}
{{^fi_active}}
<li><a href="/{{resource}}">Suomi</a></li>
{{/fi_active}}
{{^sv_active}}
<li><a href="/sv/{{resource}}">Svenska</a></li>
{{/sv_active}}
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
{{/nobanners}}
<div class="container">
<!--[if lt IE 8]>
<div class="alert alert-error alert-block">
<h4 class="alert-heading">_("Warning")!</h4>
_("Your browser version is too old"),
<a href="//browsehappy.com/">_("please upgrade")</a>
_("for best experience").
</div>
<![endif]-->
<!-- TODO: Should we refactor flash messages to be printed here, in header files? Or just use ajax style everywhere and not rely on POST for anything else than one single feedback box (so that it can be used without JavaScript)? -->