]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - templates/base.html
1f591efb85eb29048ebb61a64a2b06b0d0dfef26
[people/shoehn/ipfire.org.git] / templates / base.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
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=" />
8
9 <!-- Your locale is {{ locale.code }} -->
10
11 <meta name="keywords" content="Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
12 <meta name="description" content="{{ _("IPFire is a free firewall distribution based on Linux.") }}" />
13
14 <!-- styling stuff -->
15 <link rel="stylesheet" type="text/css" href="{{ static_url("css/bootstrap.min.css") }}" />
16 <link rel="stylesheet" type="text/css" href="{{ static_url("css/bootstrap-theme.min.css") }}" />
17 <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
18 <link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css">
19 <meta name="viewport" content="width=device-width, initial-scale=1.0">
20
21 {% if rss_url %}
22 <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ rss_url }}" />
23 {% end %}
24 </head>
25
26 <body data-spy="scroll" data-target=".sidebar">
27 <div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
28 <div>
29 <div class="container">
30 <div class="navbar-header">
31 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
32 <span class="sr-only">Toggle navigation</span>
33 <span class="icon-bar"></span>
34 <span class="icon-bar"></span>
35 <span class="icon-bar"></span>
36 </button>
37 <a class="navbar-brand" href="/">{{ hostname }}</a>
38 </div>
39 <div class="collapse navbar-collapse" id="navbar">
40 {% block menu %}
41 {% module Menu() %}
42 {% end block %}
43 </div>
44 </div>
45 </div>
46 </div>
47
48 {% block container %}
49 {% block header %}{% end block %}
50
51 <div class="container container-body">
52 {% block body %}EMPTY BODY{% end block %}
53 </div>
54 {% end block %}
55
56 {% block footer %}
57 <footer class="footer navbar-default">
58 <div class="container">
59 <div class="pull-right">
60 <a href="https://www.facebook.com/IPFire.org"><img src="{{ static_url("images/icons/social/facebook.png") }}" alt="Facebook"></a>
61 <a href="https://twitter.com/ipfire"><img src="{{ static_url("images/icons/social/twitter.png") }}" alt="Twitter"></a>
62 <a href="/news.rss"><img src="{{ static_url("images/icons/social/rss.png") }}" alt="RSS"></a>
63 </div>
64
65 <p>
66 &copy; {{ year }} - {{ _("IPFire is free software") }}
67 </p>
68
69 <ul class="footer-links">
70 {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %}
71 <li>
72 <a href="/press">{{ _("Press") }}</a>
73 </li>
74 <li class="text-muted">&middot;</li>
75 {% end %}
76 <a href="http://www.ipfire.org/imprint">{{ _("Imprint") }}</a>
77
78 {% if hostname == "wishlist.ipfire.org" %}
79 <li class="text-muted">&middot;</li>
80 <li>
81 <a href="/terms">{{ _("Terms & Conditions") }}</a>
82 </li>
83 {% end %}
84
85 {% if not hostname == "planet.ipfire.org" %}
86 {% for l in ("en", "de") %}
87 {% if not l == lang %}
88 <li class="text-muted">&middot;</li>
89 <li>
90 <a href="?locale={{ l }}">
91 <img src="{{ static_url("images/flags/%s.png" % l) }}" alt="{{ l }}">
92 </a>
93 </li>
94 {% end %}
95 {% end %}
96 {% end %}
97 </ul>
98 </div>
99 </footer>
100 {% end block %}
101
102 <script src="{{ static_url("js/jquery.js") }}"></script>
103 <script src="{{ static_url("js/bootstrap.min.js") }}"></script>
104 <script src="{{ static_url("js/site.js") }}"></script>
105 </body>
106 </html>