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" />
8 <meta name=
"keywords" content=
"Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
10 <link rel=
"icon" sizes=
"192x192" href=
"{{ static_url("img/apple-touch-icon-
192x192-precomposed.png
") }}">
11 {% for res in (
"72x72",
"76x76",
"120x120",
"144x144",
"152x152",
"180x180") %}
12 <link rel=
"apple-touch-icon-precomposed" sizes=
"{{ res }}" href=
"{{ static_url("img/apple-touch-icon-%s-precomposed.png
" % res )}}">
14 <link rel=
"apple-touch-icon-precomposed" href=
"{{ static_url("img/apple-touch-icon-
60x60-precomposed.png
") }}">
16 <!-- styling stuff -->
17 <link rel=
"stylesheet" type=
"text/css" href=
"{{ static_url("main.css
") }}" />
18 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
20 {% block head %}{% end block %}
23 <body id=
"page-top" class=
"{{ hostname.replace(".
", "-
") }}">
24 <nav class=
"navbar navbar-dark navbar-expand-lg mb-4">
25 <div class=
"container">
26 <a class=
"navbar-brand" href=
"/">
27 <strong>IPFire
</strong>
29 {% if hostname ==
"blog.ipfire.org" %}
31 {% elif hostname ==
"fireinfo.ipfire.org" %}
33 {% elif hostname ==
"location.ipfire.org" %}
35 {% elif hostname ==
"mirrors.ipfire.org" %}
37 {% elif hostname ==
"people.ipfire.org" %}
39 {% elif hostname ==
"wiki.ipfire.org" %}
45 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
46 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
47 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
48 <span class=
"fas fa-bars"></span>
51 <div class=
"collapse navbar-collapse" id=
"navbar">
52 <ul class=
"navbar-nav ml-auto">
53 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
54 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
58 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
62 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
66 <a class=
"nav-link" href=
"https://blog.ipfire.org/">{{ _(
"Blog") }}
</a>
70 <a class=
"nav-link" href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
74 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
78 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
82 <a class=
"btn btn-lwl mt-2 mt-lg-0 ml-lg-2" href=
"https://store.lightningwirelabs.com/">
86 {% elif hostname ==
"blog.ipfire.org" %}
87 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
88 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
89 <span class=
"fas fa-bars"></span>
92 <div class=
"collapse navbar-collapse" id=
"navbar">
93 <ul class=
"navbar-nav ml-auto d-lg-none">
95 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
100 {% if current_user %}
101 <li class=
"nav-item">
102 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
108 <li class=
"nav-item">
109 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
114 <li class=
"nav-item">
115 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
116 href=
"/tags/lightningwirelabs.com">
117 <span>{{ _(
"Lightning Wire Labs") }}
</span>
119 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
120 alt=
"{{ _("Lightning Wire Labs
") }}">
124 <li class=
"nav-item">
125 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
126 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
131 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
132 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
133 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
136 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
140 <a class=
"btn btn-lwl mt-2 mt-lg-0 ml-lg-2" href=
"https://store.lightningwirelabs.com/">
144 {% elif hostname ==
"fireinfo.ipfire.org" %}
145 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
146 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
147 <span class=
"fas fa-bars"></span>
150 <div class=
"collapse navbar-collapse" id=
"navbar">
151 <ul class=
"navbar-nav ml-auto">
152 {% if current_user and current_user.is_staff() %}
153 <li class=
"nav-item">
154 <a class=
"nav-link {% if request.path.startswith("/admin
") %}active{% end %}" href=
"/admin">
160 <li class=
"nav-item">
161 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
167 {% elif hostname ==
"location.ipfire.org" %}
168 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
169 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
170 <span class=
"fas fa-bars"></span>
173 <div class=
"collapse navbar-collapse" id=
"navbar">
174 <ul class=
"navbar-nav ml-auto">
175 <li class=
"nav-item">
176 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
177 {{ _(
"How To Use") }}
181 <li class=
"nav-item">
182 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
188 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
192 {% elif hostname ==
"nopaste.ipfire.org" %}
193 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
194 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
195 <span class=
"fas fa-bars"></span>
198 <div class=
"collapse navbar-collapse" id=
"navbar">
199 <ul class=
"navbar-nav ml-auto">
200 <li class=
"nav-item">
201 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
205 {% elif hostname ==
"people.ipfire.org" %}
206 {% if current_user %}
207 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
208 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
209 <span class=
"fas fa-bars"></span>
212 <div class=
"collapse navbar-collapse" id=
"navbar">
213 <ul class=
"navbar-nav ml-auto mr-3">
214 <li class=
"nav-item">
215 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
216 {{ _(
"My Profile") }}
220 {% if current_user.is_staff() %}
221 <li class=
"nav-item">
222 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
227 <li class=
"nav-item">
228 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
233 <li class=
"nav-item">
234 <a class=
"nav-link {% if request.path == "/stats
" %}active{% end %}" href=
"/stats">
240 {% if current_user.has_sip() %}
241 <li class=
"nav-item">
242 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
243 {{ _(
"Conferences") }}
249 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
250 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
251 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
255 {% elif hostname ==
"wiki.ipfire.org" %}
256 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
257 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
258 <span class=
"fas fa-bars"></span>
261 <div class=
"collapse navbar-collapse" id=
"navbar">
262 <form class=
"form-inline ml-auto my-2 my-lg-0" action=
"/search" method=
"GET">
263 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
264 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
267 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
271 <a class=
"btn btn-lwl mt-2 mt-lg-0 ml-lg-2" href=
"https://store.lightningwirelabs.com/">
280 {% block container %}
281 <div class=
"container">
282 {% block content %}{% end block %}
289 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
290 <div class=
"footer-info">
291 <div class=
"container pb-3">
292 <div class=
"row mb-6 justify-content-between">
293 <div class=
"col-12 col-lg-4 mb-4">
294 <a class=
"btn btn-primary btn-block mb-3" href=
"https://people.ipfire.org/register">
295 {{ _(
"Join Us To Stay Up To Date") }}
299 {{ _(
"Sign up to our community to take part and get the latest news") }}
303 <div class=
"col-12 col-lg-3 mb-4 small">
304 <h6>{{ _(
"Looking For More?") }}
</h6>
308 <ul class=
"list-unstyled">
310 <a href=
"/features">{{ _(
"Features") }}
</a>
314 <a href=
"/support">{{ _(
"Support") }}
</a>
318 <a href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
324 <ul class=
"list-unstyled">
326 <a href=
"/download">{{ _(
"Download") }}
</a>
330 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
334 <a href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
341 <div class=
"col-12 col-lg-4 text-center mb-4">
342 <div class=
"btn-toolbar justify-content-center">
343 <a class=
"btn btn-primary btn-lg px-4 my-3" href=
"/donate">
347 <a class=
"btn btn-lwl btn-lg px-4 my-3 ml-2" href=
"https://store.lightningwirelabs.com/">
352 <div class=
"btn-toolbar justify-content-center">
353 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
354 <span class=
"fab fa-twitter"></span>
357 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
358 <span class=
"fab fa-facebook"></span>
361 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
362 <span class=
"fab fa-youtube"></span>
369 {% elif hostname ==
"wiki.ipfire.org" %}
370 <div class=
"footer-info">
371 <div class=
"container pb-3">
372 <ul class=
"list-inline">
373 <li class=
"list-inline-item">
374 <a href=
"/watchlist">{{ _(
"My Watchlist") }}
377 <li class=
"list-inline-item">
378 <a href=
"/recent-changes">{{ _(
"Recent Changes") }}
381 <li class=
"list-inline-item">
382 <a href=
"/tree">{{ _(
"Tree") }}
389 <div class=
"copyright">
390 <div class=
"container">
391 <div class=
"row flex-lg-row-reverse">
392 <div class=
"col-12 col-lg-6 text-center text-lg-right">
393 {% if not current_user and hostname in (
"blog.ipfire.org",
"fireinfo.ipfire.org",
"nopaste.ipfire.org",
"wiki.ipfire.org") %}
394 <a href=
"/login">{{ _(
"Login") }}
</a>
395 {% elif current_user %}
398 {{ _(
"You are currently logged in as %s") % current_user }}
401 <a href=
"/logout">{{ _(
"Logout") }}
</a>
406 <div class=
"col-12 col-lg-6 text-center text-lg-left">
407 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
408 -
<a href=
"https://www.ipfire.org/legal">{{ _(
"Legal") }}
</a>
417 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
418 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
419 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
420 {% block javascript %}{% end block %}