]> git.ipfire.org Git - ipfire.org.git/blob - templates/base.html
Massive web site update
[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/font-awesome.min.css") }}" />
17 <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
18 <link href="//fonts.googleapis.com/css?family=Ubuntu:400,700" 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 id="page-top" data-spy="scroll" data-target=".navbar-custom">
27 <div class="navbar navbar-custom navbar-fixed-top" role="navigation">
28 <div class="container">
29 <div class="navbar-header page-scroll">
30 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
31 <span class="fa fa-bars"></span>
32 </button>
33 <span class="navbar-brand">
34 <img class="navbar-brand-logo" src="{{ static_url("images/tux/ipfire_tux_32x32.png") }}" alt="IPFire Logo">
35 <a href="/">
36 {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %}
37 {{ _("IPFire") }}
38 {% elif hostname in ("planet.ipfire.org", "planet.dev.ipfire.org") %}
39 {{ _("IPFire Planet") }} &nbsp;
40 <span class="text-muted">{{ _("The Blog of the IPFire Team") }}</span>
41 {% elif hostname in ("wishlist.ipfire.org", "wishlist.dev.ipfire.org") %}
42 {{ _("IPFire Wishlist") }} &nbsp;
43 <span class="text-muted">{{ _("The IPFire Crowd-Funding Platform") }}</span>
44 {% else %}
45 {{ hostname }}
46 {% end %}
47 </a>
48 </span>
49 </div>
50 <div class="collapse navbar-collapse navbar-right navbar-main-collapse" id="navbar">
51 {% block menu %}
52 {% module Menu() %}
53 {% end block %}
54 </div>
55 </div>
56 </div>
57
58 {% block container %}
59 <div class="container">
60 {% block body %}{% end block %}
61 </div>
62 {% end block %}
63
64 {% block footer %}
65 <footer class="footer">
66 <div class="container">
67 <div class="row">
68 <div class="col-md-2 links">
69 <h5>{{ _("About") }}</h5>
70
71 <ul class="list-unstyled">
72 <li>
73 <a href="http://www.ipfire.org/about">{{ _("About IPFire") }}</a>
74 </li>
75 <li>
76 <a href="http://download.ipfire.org">{{ _("Download") }}</a>
77 </li>
78 <li>
79 <a href="http://planet.ipfire.org">{{ _("Planet") }}</a>
80 </li>
81 <li>
82 <a href="http://www.ipfire.org/imprint">{{ _("Imprint") }}</a>
83 </li>
84 </ul>
85 </div>
86
87 <div class="col-md-2 links">
88 <h5>{{ _("Support") }}</h5>
89
90 <ul class="list-unstyled">
91 <li>
92 <a href="http://www.ipfire.org/get-support#professional">{{ _("Professional Support") }}</a>
93 </li>
94 <li>
95 <a href="http://wiki.ipfire.org">{{ _("Documentation") }}</a>
96 </li>
97 </ul>
98 </div>
99
100 <div class="col-md-2 links">
101 <h5>{{ _("Join") }}</h5>
102
103 <ul class="list-unstyled">
104 <li>
105 <a href="http://forum.ipfire.org">{{ _("Forum") }}</a>
106 </li>
107 <li>
108 <a href="//www.ipfire.org/chat">{{ _("Chat") }}</a>
109 </li>
110 <li>
111 <a href="http://lists.ipfire.org">{{ _("Mailing Lists") }}</a>
112 </li>
113 <li>
114 <a href="http://talk.ipfire.org">{{ _("Talk") }}</a>
115 </li>
116 </ul>
117 </div>
118
119 <div class="col-md-2 links">
120 <h5>{{ _("Development") }}</h5>
121
122 <ul class="list-unstyled">
123 <li>
124 <a href="http://wiki.ipfire.org/devel/start">{{ _("Become a developer") }}</a>
125 </li>
126 <li>
127 <a href="https://pakfire.ipfire.org">{{ _("Pakfire Build Service") }}</a>
128 </li>
129 <li>
130 <a href="https://bugzilla.ipfire.org">{{ _("Bugtracker") }}</a>
131 </li>
132 <li>
133 <a href="http://patchwork.ipfire.org">{{ _("Patchwork") }}</a>
134 </li>
135 </ul>
136 </div>
137
138 <div class="col-md-4 text-center">
139 <a class="btn btn-primary" href="//www.ipfire.org/donate">
140 <span class="fa fa-heart"></span> {{ _("Donate") }}
141 </a>
142
143 <br><br>
144
145 <div class="btn-toolbar links">
146 <a class="btn btn-sm" href="http://www.ipfire.org/rss">
147 <span class="fa fa-2x fa-rss"></span>
148 </a>
149 <a class="btn btn-sm" href="https://twitter.com/ipfire">
150 <span class="fa fa-2x fa-twitter"></span>
151 </a>
152 <a class="btn btn-sm" href="https://www.facebook.com/IPFire.org">
153 <span class="fa fa-2x fa-facebook"></span>
154 </a>
155 <a class="btn btn-sm" href="https://youtube.com/user/ipfireproject">
156 <span class="fa fa-2x fa-youtube"></span>
157 </a>
158 <a class="btn btn-sm" href="https://plus.google.com/+ipfire">
159 <span class="fa fa-2x fa-google-plus"></span>
160 </a>
161 </div>
162 </div>
163 </div>
164
165 {% if ssl_protocol %}
166 <p class="pull-right">
167 <span class="fa fa-lock"></span> {{ ssl_protocol }}
168 {% if ssl_cipher %}({{ ssl_cipher }}){% end %}
169 </p>
170 {% end %}
171
172 {% if hostname == "wishlist.ipfire.org" %}
173 <p class="pull-right">
174 <a href="/terms">{{ _("Terms & Conditions") }}</a>
175 </p>
176 {% end %}
177
178 <p>
179 &copy; {{ year }} -
180 {{ _("IPFire is free software written by the IPFire Project") }}
181 </p>
182 </div>
183 </footer>
184 {% end block %}
185
186 <script src="{{ static_url("js/jquery.js") }}"></script>
187 <script src="{{ static_url("js/jquery.easing.js") }}"></script>
188 <script src="{{ static_url("js/bootstrap.min.js") }}"></script>
189 <script src="{{ static_url("js/site.js") }}"></script>
190 </body>
191 </html>