]> git.ipfire.org Git - ipfire.org.git/blame - templates/base.html
Fix/simplify locale selection.
[ipfire.org.git] / templates / base.html
CommitLineData
60024cc8
MT
1<!DOCTYPE html>
2<html lang="en">
81675874 3 <head>
60024cc8
MT
4 <title>{{ hostname }} - {% block title %}{{ _("No title given") }}{% end block %}</title>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <meta name="author" content="IPFire.org - IPFire Development Team" />
7 <meta name="verify-v1" content="2LEf3W8naILGWVy2dhedSVEHPXTpp2xFNVsHXZMH1JI=" />
940227cb
MT
8
9 <!-- Your locale is {{ locale.code }} -->
10
60024cc8 11 <meta name="keywords" content="Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
940227cb
MT
12 <meta name="description" content="{{ _("IPFire is a free firewall distribution based on Linux.") }}" />
13
60024cc8
MT
14 <!-- styling stuff -->
15 <link rel="stylesheet" type="text/css" href="{{ static_url("css/bootstrap.min.css") }}" />
81675874 16 <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
9f868512 17 <link rel="stylesheet" type="text/css" href="{{ static_url("css/bootstrap-responsive.min.css") }}" />
60024cc8 18 <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
9f868512 19 <meta name="viewport" content="width=device-width, initial-scale=1.0">
940227cb 20
de683d7c
MT
21 {% if rss_url %}
22 <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ rss_url }}" />
23 {% end %}
81675874 24 </head>
60024cc8 25
81675874 26 <body>
60024cc8
MT
27 <div class="navbar navbar-fixed-top">
28 <div class="navbar-inner">
29 <div class="container">
30 <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
31 <span class="icon-bar"></span>
32 <span class="icon-bar"></span>
33 <span class="icon-bar"></span>
81675874 34 </a>
60024cc8
MT
35 <a class="brand" href="/">{{ hostname }}</a>
36 <div class="nav-collapse">
37 {% block menu %}
6b6308b0 38 {% module Menu() %}
60024cc8
MT
39 {% end block %}
40 </div>
81675874 41 </div>
81675874 42 </div>
43 </div>
60024cc8
MT
44
45 {% block container %}
46 <div class="container container-body">
47 {% block body %}EMPTY BODY{% end block %}
48
7771acea
MT
49 <footer class="footer hidden-phone">
50 <hr>
60024cc8 51
60024cc8
MT
52 {% if not hostname == "planet.ipfire.org" %}
53 <div class="pull-right">
54 <p>
55 {% for l in ("en", "de") %}
56 {% if not l == lang %}
57 <a href="?locale={{ l }}">
58 <img src="{{ static_url("images/flags/%s.png" % l) }}" alt="{{ l }}">
59 </a>
60 {% end %}
61 {% end %}
62 </p>
63 </div>
64 {% end %}
65
66 <p>
67 &copy; {{ year }} - <a href="http://www.ipfire.org/">IPFire.org</a> -
68 {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %}
69 <a href="/press">{{ _("Press") }}</a> -
70 {% end %}
71 <a href="http://www.ipfire.org/imprint">{{ _("imprint") }}</a>
7771acea
MT
72
73 {% if hostname == "wishlist.ipfire.org" %}
74 - <a href="/terms">{{ _("Terms & Conditions") }}</a>
75 {% end %}
60024cc8
MT
76 </p>
77 </footer>
81675874 78 </div>
60024cc8
MT
79 {% end block %}
80
81 <script src="{{ static_url("js/jquery.js") }}"></script>
82 <script src="{{ static_url("js/bootstrap.min.js") }}"></script>
83 <script src="{{ static_url("js/site.js") }}"></script>
81675874 84 </body>
85</html>