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" />
9 <meta name=
"description" content=
"{{ _("IPFire is a free firewall distribution based on Linux.
") }}" />
11 <!-- styling stuff -->
12 <link rel=
"stylesheet" type=
"text/css" href=
"{{ static_url("main.css
") }}" />
13 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
15 {% block head %}{% end block %}
19 <nav class=
"navbar navbar-dark navbar-expand-lg mb-4">
20 <div class=
"container">
21 <a class=
"navbar-brand" href=
"/">
22 <strong>IPFire
</strong>
24 {% if hostname ==
"blog.ipfire.org" %}
26 {% elif hostname ==
"fireinfo.ipfire.org" %}
28 {% elif hostname ==
"mirrors.ipfire.org" %}
30 {% elif hostname ==
"people.ipfire.org" %}
32 {% elif hostname ==
"wiki.ipfire.org" %}
38 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
39 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
40 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
41 <span class=
"fas fa-bars"></span>
44 <div class=
"collapse navbar-collapse" id=
"navbar">
45 <ul class=
"navbar-nav ml-auto">
46 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
47 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
51 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
55 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
59 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
63 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
64 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
67 {% elif hostname ==
"blog.ipfire.org" %}
68 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
69 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
70 <span class=
"fas fa-bars"></span>
73 <div class=
"collapse navbar-collapse" id=
"navbar">
74 <ul class=
"navbar-nav ml-auto d-lg-none">
76 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
83 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
90 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
96 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
97 href=
"/tags/lightningwirelabs.com">
98 <span>{{ _(
"Lightning Wire Labs") }}
</span>
100 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
101 alt=
"{{ _("Lightning Wire Labs
") }}">
105 <li class=
"nav-item">
106 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
107 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
112 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
113 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
114 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
117 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
118 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
121 {% elif hostname ==
"fireinfo.ipfire.org" %}
122 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
123 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
124 <span class=
"fas fa-bars"></span>
127 <div class=
"collapse navbar-collapse" id=
"navbar">
128 <ul class=
"navbar-nav ml-auto">
129 <li class=
"nav-item">
130 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
136 {% elif hostname ==
"nopaste.ipfire.org" %}
137 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
138 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
139 <span class=
"fas fa-bars"></span>
142 <div class=
"collapse navbar-collapse" id=
"navbar">
143 <ul class=
"navbar-nav ml-auto">
144 <li class=
"nav-item">
145 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
149 {% elif hostname ==
"people.ipfire.org" %}
150 {% if current_user %}
151 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
152 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
153 <span class=
"fas fa-bars"></span>
156 <div class=
"collapse navbar-collapse" id=
"navbar">
157 <ul class=
"navbar-nav ml-auto mr-3">
158 <li class=
"nav-item">
159 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
160 {{ _(
"My Profile") }}
164 {% if current_user.has_sip() %}
165 <li class=
"nav-item">
166 <a class=
"nav-link {% if request.path.startswith("/users/%s/calls
" % current_user.uid) %}active{% end %}" href=
"/users/{{ current_user.uid }}/calls">
169 {% if current_user.sip_channels %}
170 <span class=
"badge badge-primary ml-2">{{ len(current_user.sip_channels) }}
</span>
176 {% if current_user.is_staff() %}
177 <li class=
"nav-item">
178 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
184 {% if current_user.has_sip() %}
185 <li class=
"nav-item">
186 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
187 {{ _(
"Conferences") }}
193 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
194 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
195 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
199 {% elif hostname ==
"wiki.ipfire.org" %}
200 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
201 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
202 <span class=
"fas fa-bars"></span>
205 <div class=
"collapse navbar-collapse" id=
"navbar">
206 <ul class=
"navbar-nav ml-auto mr-3">
207 <li class=
"nav-item">
208 <a class=
"nav-link {% if request.path == "/recent-changes
" %}active{% end %}" href=
"/recent-changes">
209 {{ _(
"Recent Changes") }}
214 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
215 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
216 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
219 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
220 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
228 {% block container %}
229 <div class=
"container">
230 {% block content %}{% end block %}
237 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
238 <div class=
"footer-info">
239 <div class=
"container pb-3">
240 <div class=
"row mb-6 justify-content-between">
241 <div class=
"col-12 col-lg-4 mb-4">
242 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
244 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
245 {% raw xsrf_form_html() %}
247 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
249 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
250 placeholder=
"{{ _("Your Email Address
") }}" required
>
252 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
256 <div class=
"col-12 col-lg-3 mb-4 small">
257 <h6>{{ _(
"About") }}
</h6>
261 <ul class=
"list-unstyled">
263 <a href=
"/features">{{ _(
"Features") }}
</a>
267 <a href=
"/download">{{ _(
"Download") }}
</a>
271 <a href=
"/support">{{ _(
"Support") }}
</a>
277 <ul class=
"list-unstyled">
279 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
283 <a href=
"https://wiki.ipfire.org/devel/start">{{ _(
"Development") }}
</a>
287 <a href=
"/legal">{{ _(
"Legal") }}
</a>
294 <div class=
"col-12 col-lg-4 text-center mb-4">
295 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"/donate">
296 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
299 <div class=
"btn-toolbar justify-content-center">
300 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
301 <span class=
"fab fa-twitter"></span>
304 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
305 <span class=
"fab fa-facebook"></span>
308 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
309 <span class=
"fab fa-youtube"></span>
318 <div class=
"copyright">
319 <div class=
"container d-flex justify-content-between">
320 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
322 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org",
"wiki.ipfire.org") %}
323 <a href=
"/login">{{ _(
"Login") }}
</a>
324 {% elif current_user %}
326 {{ _(
"You are currently logged in as %s") % current_user.name }}
327 <a href=
"/logout">{{ _(
"Logout") }}
</a>
336 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
337 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
338 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
339 {% block javascript %}{% end block %}