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">
209 {% if current_user.has_sip() %}
210 <li class=
"nav-item">
211 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
212 {{ _(
"Conferences") }}
218 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
219 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
220 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
224 {% elif hostname ==
"wiki.ipfire.org" %}
225 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
226 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
227 <span class=
"fas fa-bars"></span>
230 <div class=
"collapse navbar-collapse" id=
"navbar">
231 <ul class=
"navbar-nav ml-auto mr-3">
232 <li class=
"nav-item">
233 <a class=
"nav-link {% if request.path == "/recent-changes
" %}active{% end %}" href=
"/recent-changes">
234 {{ _(
"Recent Changes") }}
238 <li class=
"nav-item">
239 <a class=
"nav-link {% if request.path == "/watchlist
" %}active{% end %}" href=
"/watchlist">
245 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
246 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
247 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
250 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
251 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
259 {% block container %}
260 <div class=
"container">
261 {% block content %}{% end block %}
268 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
269 <div class=
"footer-info">
270 <div class=
"container pb-3">
271 <div class=
"row mb-6 justify-content-between">
272 <div class=
"col-12 col-lg-4 mb-4">
273 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
275 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
276 {% raw xsrf_form_html() %}
278 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
280 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
281 placeholder=
"{{ _("Your Email Address
") }}" required
>
283 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
287 <div class=
"col-12 col-lg-3 mb-4 small">
288 <h6>{{ _(
"About") }}
</h6>
292 <ul class=
"list-unstyled">
294 <a href=
"/features">{{ _(
"Features") }}
</a>
298 <a href=
"/download">{{ _(
"Download") }}
</a>
302 <a href=
"/support">{{ _(
"Support") }}
</a>
308 <ul class=
"list-unstyled">
310 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
314 <a href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
318 <a href=
"/legal">{{ _(
"Legal") }}
</a>
325 <div class=
"col-12 col-lg-4 text-center mb-4">
326 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"/donate">
327 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
330 <div class=
"btn-toolbar justify-content-center">
331 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
332 <span class=
"fab fa-twitter"></span>
335 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
336 <span class=
"fab fa-facebook"></span>
339 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
340 <span class=
"fab fa-youtube"></span>
349 <div class=
"copyright">
350 <div class=
"container d-flex justify-content-between">
351 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
353 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org",
"wiki.ipfire.org") %}
354 <a href=
"/login">{{ _(
"Login") }}
</a>
355 {% elif current_user %}
358 {{ _(
"You are currently logged in as %s") % current_user }}
361 <a href=
"/logout">{{ _(
"Logout") }}
</a>
370 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
371 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
372 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
373 {% block javascript %}{% end block %}