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 %}
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 <span class=
"badge badge-primary">{{ _(
"BETA") }}
</span>
36 {% elif hostname ==
"mirrors.ipfire.org" %}
38 {% elif hostname ==
"people.ipfire.org" %}
40 {% elif hostname ==
"wiki.ipfire.org" %}
46 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
47 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
48 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
49 <span class=
"fas fa-bars"></span>
52 <div class=
"collapse navbar-collapse" id=
"navbar">
53 <ul class=
"navbar-nav ml-auto">
54 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
55 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
59 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
63 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
67 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
71 <a class=
"nav-link" href=
"https://blog.ipfire.org/">{{ _(
"Blog") }}
</a>
75 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
76 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
79 {% elif hostname ==
"blog.ipfire.org" %}
80 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
81 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
82 <span class=
"fas fa-bars"></span>
85 <div class=
"collapse navbar-collapse" id=
"navbar">
86 <ul class=
"navbar-nav ml-auto d-lg-none">
88 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
95 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
101 <li class=
"nav-item">
102 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
107 <li class=
"nav-item">
108 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
109 href=
"/tags/lightningwirelabs.com">
110 <span>{{ _(
"Lightning Wire Labs") }}
</span>
112 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
113 alt=
"{{ _("Lightning Wire Labs
") }}">
117 <li class=
"nav-item">
118 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
119 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
124 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
125 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
126 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
129 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
130 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
133 {% elif hostname ==
"fireinfo.ipfire.org" %}
134 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
135 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
136 <span class=
"fas fa-bars"></span>
139 <div class=
"collapse navbar-collapse" id=
"navbar">
140 <ul class=
"navbar-nav ml-auto">
141 <li class=
"nav-item">
142 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
148 {% elif hostname ==
"location.ipfire.org" %}
149 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
150 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
151 <span class=
"fas fa-bars"></span>
154 <div class=
"collapse navbar-collapse" id=
"navbar">
155 <ul class=
"navbar-nav ml-auto">
156 <li class=
"nav-item">
157 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
158 {{ _(
"How To Use") }}
162 <li class=
"nav-item">
163 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
169 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
170 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
173 {% elif hostname ==
"nopaste.ipfire.org" %}
174 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
175 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
176 <span class=
"fas fa-bars"></span>
179 <div class=
"collapse navbar-collapse" id=
"navbar">
180 <ul class=
"navbar-nav ml-auto">
181 <li class=
"nav-item">
182 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
186 {% elif hostname ==
"people.ipfire.org" %}
187 {% if current_user %}
188 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
189 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
190 <span class=
"fas fa-bars"></span>
193 <div class=
"collapse navbar-collapse" id=
"navbar">
194 <ul class=
"navbar-nav ml-auto mr-3">
195 <li class=
"nav-item">
196 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
197 {{ _(
"My Profile") }}
201 {% if current_user.is_staff() %}
202 <li class=
"nav-item">
203 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
208 <li class=
"nav-item">
209 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
215 {% if current_user.has_sip() %}
216 <li class=
"nav-item">
217 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
218 {{ _(
"Conferences") }}
224 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
225 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
226 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
230 {% elif hostname ==
"wiki.ipfire.org" %}
231 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
232 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
233 <span class=
"fas fa-bars"></span>
236 <div class=
"collapse navbar-collapse" id=
"navbar">
237 <ul class=
"navbar-nav ml-auto mr-3">
238 <li class=
"nav-item">
239 <a class=
"nav-link {% if request.path == "/recent-changes
" %}active{% end %}" href=
"/recent-changes">
240 {{ _(
"Recent Changes") }}
244 <li class=
"nav-item">
245 <a class=
"nav-link {% if request.path == "/watchlist
" %}active{% end %}" href=
"/watchlist">
251 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
252 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
253 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
256 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
257 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
265 {% block container %}
266 <div class=
"container">
267 {% block content %}{% end block %}
274 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
275 <div class=
"footer-info">
276 <div class=
"container pb-3">
277 <div class=
"row mb-6 justify-content-between">
278 <div class=
"col-12 col-lg-4 mb-4">
279 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
281 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
282 {% raw xsrf_form_html() %}
284 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
286 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
287 placeholder=
"{{ _("Your Email Address
") }}" required
>
289 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
293 <div class=
"col-12 col-lg-3 mb-4 small">
294 <h6>{{ _(
"About") }}
</h6>
298 <ul class=
"list-unstyled">
300 <a href=
"/features">{{ _(
"Features") }}
</a>
304 <a href=
"/download">{{ _(
"Download") }}
</a>
308 <a href=
"/support">{{ _(
"Support") }}
</a>
314 <ul class=
"list-unstyled">
316 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
320 <a href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
324 <a href=
"/legal">{{ _(
"Legal") }}
</a>
331 <div class=
"col-12 col-lg-4 text-center mb-4">
332 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"/donate">
333 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
336 <div class=
"btn-toolbar justify-content-center">
337 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
338 <span class=
"fab fa-twitter"></span>
341 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
342 <span class=
"fab fa-facebook"></span>
345 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
346 <span class=
"fab fa-youtube"></span>
355 <div class=
"copyright">
356 <div class=
"container d-flex justify-content-between">
357 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
359 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org",
"wiki.ipfire.org") %}
360 <a href=
"/login">{{ _(
"Login") }}
</a>
361 {% elif current_user %}
364 {{ _(
"You are currently logged in as %s") % current_user }}
367 <a href=
"/logout">{{ _(
"Logout") }}
</a>
376 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
377 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
378 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
379 {% block javascript %}{% end block %}