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=
"nav-link" href=
"https://blog.ipfire.org/">{{ _(
"Blog") }}
</a>
67 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
68 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
71 {% elif hostname ==
"blog.ipfire.org" %}
72 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
73 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
74 <span class=
"fas fa-bars"></span>
77 <div class=
"collapse navbar-collapse" id=
"navbar">
78 <ul class=
"navbar-nav ml-auto d-lg-none">
80 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
87 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
94 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
100 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
101 href=
"/tags/lightningwirelabs.com">
102 <span>{{ _(
"Lightning Wire Labs") }}
</span>
104 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
105 alt=
"{{ _("Lightning Wire Labs
") }}">
109 <li class=
"nav-item">
110 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
111 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
116 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
117 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
118 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
121 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
122 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
125 {% elif hostname ==
"fireinfo.ipfire.org" %}
126 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
127 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
128 <span class=
"fas fa-bars"></span>
131 <div class=
"collapse navbar-collapse" id=
"navbar">
132 <ul class=
"navbar-nav ml-auto">
133 <li class=
"nav-item">
134 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
140 {% elif hostname ==
"nopaste.ipfire.org" %}
141 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
142 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
143 <span class=
"fas fa-bars"></span>
146 <div class=
"collapse navbar-collapse" id=
"navbar">
147 <ul class=
"navbar-nav ml-auto">
148 <li class=
"nav-item">
149 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
153 {% elif hostname ==
"people.ipfire.org" %}
154 {% if current_user %}
155 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
156 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
157 <span class=
"fas fa-bars"></span>
160 <div class=
"collapse navbar-collapse" id=
"navbar">
161 <ul class=
"navbar-nav ml-auto mr-3">
162 <li class=
"nav-item">
163 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
164 {{ _(
"My Profile") }}
168 {% if current_user.has_sip() %}
169 <li class=
"nav-item">
170 <a class=
"nav-link {% if request.path.startswith("/users/%s/calls
" % current_user.uid) %}active{% end %}" href=
"/users/{{ current_user.uid }}/calls">
173 {% if current_user.sip_channels %}
174 <span class=
"badge badge-primary ml-2">{{ len(current_user.sip_channels) }}
</span>
180 {% if current_user.is_staff() %}
181 <li class=
"nav-item">
182 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
188 {% if current_user.has_sip() %}
189 <li class=
"nav-item">
190 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
191 {{ _(
"Conferences") }}
197 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
198 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
199 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
203 {% elif hostname ==
"wiki.ipfire.org" %}
204 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
205 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
206 <span class=
"fas fa-bars"></span>
209 <div class=
"collapse navbar-collapse" id=
"navbar">
210 <ul class=
"navbar-nav ml-auto mr-3">
211 <li class=
"nav-item">
212 <a class=
"nav-link {% if request.path == "/recent-changes
" %}active{% end %}" href=
"/recent-changes">
213 {{ _(
"Recent Changes") }}
218 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
219 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
220 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
223 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
224 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
232 {% block container %}
233 <div class=
"container">
234 {% block content %}{% end block %}
241 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
242 <div class=
"footer-info">
243 <div class=
"container pb-3">
244 <div class=
"row mb-6 justify-content-between">
245 <div class=
"col-12 col-lg-4 mb-4">
246 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
248 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
249 {% raw xsrf_form_html() %}
251 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
253 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
254 placeholder=
"{{ _("Your Email Address
") }}" required
>
256 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
260 <div class=
"col-12 col-lg-3 mb-4 small">
261 <h6>{{ _(
"About") }}
</h6>
265 <ul class=
"list-unstyled">
267 <a href=
"/features">{{ _(
"Features") }}
</a>
271 <a href=
"/download">{{ _(
"Download") }}
</a>
275 <a href=
"/support">{{ _(
"Support") }}
</a>
281 <ul class=
"list-unstyled">
283 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
287 <a href=
"https://wiki.ipfire.org/devel/start">{{ _(
"Development") }}
</a>
291 <a href=
"/legal">{{ _(
"Legal") }}
</a>
298 <div class=
"col-12 col-lg-4 text-center mb-4">
299 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"/donate">
300 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
303 <div class=
"btn-toolbar justify-content-center">
304 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
305 <span class=
"fab fa-twitter"></span>
308 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
309 <span class=
"fab fa-facebook"></span>
312 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
313 <span class=
"fab fa-youtube"></span>
322 <div class=
"copyright">
323 <div class=
"container d-flex justify-content-between">
324 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
326 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org",
"wiki.ipfire.org") %}
327 <a href=
"/login">{{ _(
"Login") }}
</a>
328 {% elif current_user %}
330 {{ _(
"You are currently logged in as %s") % current_user.name }}
331 <a href=
"/logout">{{ _(
"Logout") }}
</a>
340 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
341 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
342 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
343 {% block javascript %}{% end block %}