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 == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
67 <a class=
"nav-link" href=
"https://blog.ipfire.org/">{{ _(
"Blog") }}
</a>
71 <a class=
"nav-link" href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
75 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
79 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
83 {% elif hostname ==
"blog.ipfire.org" %}
84 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
85 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
86 <span class=
"fas fa-bars"></span>
89 <div class=
"collapse navbar-collapse" id=
"navbar">
90 <ul class=
"navbar-nav ml-auto d-lg-none">
92 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
99 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
105 <li class=
"nav-item">
106 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
111 <li class=
"nav-item">
112 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
113 href=
"/tags/lightningwirelabs.com">
114 <span>{{ _(
"Lightning Wire Labs") }}
</span>
116 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
117 alt=
"{{ _("Lightning Wire Labs
") }}">
121 <li class=
"nav-item">
122 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
123 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
128 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
129 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
130 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
133 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
137 {% elif hostname ==
"fireinfo.ipfire.org" %}
138 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
139 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
140 <span class=
"fas fa-bars"></span>
143 <div class=
"collapse navbar-collapse" id=
"navbar">
144 <ul class=
"navbar-nav ml-auto">
145 <li class=
"nav-item">
146 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
152 {% elif hostname ==
"location.ipfire.org" %}
153 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
154 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
155 <span class=
"fas fa-bars"></span>
158 <div class=
"collapse navbar-collapse" id=
"navbar">
159 <ul class=
"navbar-nav ml-auto">
160 <li class=
"nav-item">
161 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
162 {{ _(
"How To Use") }}
166 <li class=
"nav-item">
167 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
173 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
177 {% elif hostname ==
"nopaste.ipfire.org" %}
178 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
179 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
180 <span class=
"fas fa-bars"></span>
183 <div class=
"collapse navbar-collapse" id=
"navbar">
184 <ul class=
"navbar-nav ml-auto">
185 <li class=
"nav-item">
186 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
190 {% elif hostname ==
"people.ipfire.org" %}
191 {% if current_user %}
192 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
193 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
194 <span class=
"fas fa-bars"></span>
197 <div class=
"collapse navbar-collapse" id=
"navbar">
198 <ul class=
"navbar-nav ml-auto mr-3">
199 <li class=
"nav-item">
200 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
201 {{ _(
"My Profile") }}
205 {% if current_user.is_staff() %}
206 <li class=
"nav-item">
207 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
212 <li class=
"nav-item">
213 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
218 <li class=
"nav-item">
219 <a class=
"nav-link {% if request.path == "/stats
" %}active{% end %}" href=
"/stats">
225 {% if current_user.has_sip() %}
226 <li class=
"nav-item">
227 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
228 {{ _(
"Conferences") }}
234 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
235 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
236 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
240 {% elif hostname ==
"wiki.ipfire.org" %}
241 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
242 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
243 <span class=
"fas fa-bars"></span>
246 <div class=
"collapse navbar-collapse" id=
"navbar">
247 <ul class=
"navbar-nav ml-auto mr-3">
248 <li class=
"nav-item">
249 <a class=
"nav-link {% if request.path == "/recent-changes
" %}active{% end %}" href=
"/recent-changes">
250 {{ _(
"Recent Changes") }}
254 <li class=
"nav-item">
255 <a class=
"nav-link {% if request.path == "/watchlist
" %}active{% end %}" href=
"/watchlist">
261 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
262 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
263 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
266 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
275 {% block container %}
276 <div class=
"container">
277 {% block content %}{% end block %}
284 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
285 <div class=
"footer-info">
286 <div class=
"container pb-3">
287 <div class=
"row mb-6 justify-content-between">
288 <div class=
"col-12 col-lg-4 mb-4">
289 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
291 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
292 {% raw xsrf_form_html() %}
294 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
296 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
297 placeholder=
"{{ _("Your Email Address
") }}" required
>
299 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
303 <div class=
"col-12 col-lg-3 mb-4 small">
304 <h6>{{ _(
"About") }}
</h6>
308 <ul class=
"list-unstyled">
310 <a href=
"/features">{{ _(
"Features") }}
</a>
314 <a href=
"/support">{{ _(
"Support") }}
</a>
318 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
322 <a href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
328 <ul class=
"list-unstyled">
330 <a href=
"/download">{{ _(
"Download") }}
</a>
334 <a href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
338 <a href=
"/legal">{{ _(
"Legal") }}
</a>
345 <div class=
"col-12 col-lg-4 text-center mb-4">
346 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"/donate">
350 <div class=
"btn-toolbar justify-content-center">
351 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
352 <span class=
"fab fa-twitter"></span>
355 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
356 <span class=
"fab fa-facebook"></span>
359 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
360 <span class=
"fab fa-youtube"></span>
369 <div class=
"copyright">
370 <div class=
"container">
371 <div class=
"row flex-lg-row-reverse">
372 <div class=
"col-12 col-lg-6 text-center text-lg-right">
373 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org",
"wiki.ipfire.org") %}
374 <a href=
"/login">{{ _(
"Login") }}
</a>
375 {% elif current_user %}
378 {{ _(
"You are currently logged in as %s") % current_user }}
381 <a href=
"/logout">{{ _(
"Logout") }}
</a>
386 <div class=
"col-12 col-lg-6 text-center text-lg-left">
387 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
396 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
397 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
398 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
399 {% block javascript %}{% end block %}