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" %}
36 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
37 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
38 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
39 <span class=
"fas fa-bars"></span>
42 <div class=
"collapse navbar-collapse" id=
"navbar">
43 <ul class=
"navbar-nav ml-auto">
44 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
45 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
49 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
53 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
57 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
61 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
62 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
65 {% elif hostname ==
"blog.ipfire.org" %}
66 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
67 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
68 <span class=
"fas fa-bars"></span>
71 <div class=
"collapse navbar-collapse" id=
"navbar">
72 <ul class=
"navbar-nav ml-auto d-lg-none">
74 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
81 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
88 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
94 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
95 href=
"/tags/lightningwirelabs.com">
96 <span>{{ _(
"Lightning Wire Labs") }}
</span>
98 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
99 alt=
"{{ _("Lightning Wire Labs
") }}">
103 <li class=
"nav-item">
104 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
105 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
110 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
111 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
112 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
115 <a class=
"btn btn-primary ml-lg-2" href=
"/donate">
116 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
119 {% elif hostname ==
"fireinfo.ipfire.org" %}
120 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
121 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
122 <span class=
"fas fa-bars"></span>
125 <div class=
"collapse navbar-collapse" id=
"navbar">
126 <ul class=
"navbar-nav ml-auto">
127 <li class=
"nav-item">
128 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
134 {% elif hostname ==
"nopaste.ipfire.org" %}
135 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
136 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
137 <span class=
"fas fa-bars"></span>
140 <div class=
"collapse navbar-collapse" id=
"navbar">
141 <ul class=
"navbar-nav ml-auto">
142 <li class=
"nav-item">
143 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
147 {% elif hostname ==
"people.ipfire.org" %}
148 {% if current_user %}
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 mr-3">
156 <li class=
"nav-item">
157 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
158 {{ _(
"My Profile") }}
162 <li class=
"nav-item">
163 <a class=
"nav-link {% if request.path.startswith("/users/%s/calls
" % current_user.uid) %}active{% end %}" href=
"/users/{{ current_user.uid }}/calls">
166 {% if current_user.sip_channels %}
167 <span class=
"badge badge-primary ml-2">{{ len(current_user.sip_channels) }}
</span>
172 <li class=
"nav-item">
173 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
178 <li class=
"nav-item">
179 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
180 {{ _(
"Conferences") }}
185 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
186 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
187 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
196 {% block container %}
197 <div class=
"container">
198 {% block body %}{% end block %}
199 {% block content %}{% end block %}
206 {% if hostname in (
"www.ipfire.org",
"blog.ipfire.org",
"dev.ipfire.org") %}
207 <div class=
"footer-info">
208 <div class=
"container pb-3">
209 <div class=
"row mb-6 justify-content-between">
210 <div class=
"col-12 col-lg-4 mb-4">
211 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
213 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
214 {% raw xsrf_form_html() %}
216 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
218 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
219 placeholder=
"{{ _("Your Email Address
") }}">
221 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
225 <div class=
"col-12 col-lg-3 mb-4 small">
226 <h6>{{ _(
"About") }}
</h6>
230 <ul class=
"list-unstyled">
232 <a href=
"https://www.ipfire.org/features">{{ _(
"Features") }}
</a>
236 <a href=
"https://downloads.ipfire.org">{{ _(
"Download") }}
</a>
240 <a href=
"https://www.ipfire.org/support">{{ _(
"Support") }}
</a>
246 <ul class=
"list-unstyled">
248 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
252 <a href=
"https://wiki.ipfire.org/devel/start">{{ _(
"Development") }}
</a>
256 <a href=
"https://www.ipfire.org/legal">{{ _(
"Legal") }}
</a>
263 <div class=
"col-12 col-lg-4 text-center mb-4">
264 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"//www.ipfire.org/donate">
265 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
268 <div class=
"btn-toolbar justify-content-center">
269 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
270 <span class=
"fab fa-twitter"></span>
273 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
274 <span class=
"fab fa-facebook"></span>
277 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
278 <span class=
"fab fa-youtube"></span>
287 <div class=
"copyright">
288 <div class=
"container d-flex justify-content-between">
289 © {{ year }} - IPFire - {{ _(
"The Open Source Firewall") }}
291 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org") %}
292 <a href=
"/login">{{ _(
"Login") }}
</a>
293 {% elif current_user %}
295 {{ _(
"You are currently logged in as %s") % current_user.name }}
296 <a href=
"/logout">{{ _(
"Logout") }}
</a>
305 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
306 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
307 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
308 {% block javascript %}{% end block %}