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 %}
23 <body id=
"page-top" class=
"{{ hostname.replace(".
", "-
") }}">
24 <nav class=
"navbar navbar-light navbar-expand-lg">
25 <div class=
"container">
26 <a class=
"navbar-brand" href=
"/">
27 IPFire
<span class=
"text-primary">_
</span>
29 {% if hostname ==
"fireinfo.ipfire.org" %}
31 {% elif hostname ==
"location.ipfire.org" %}
33 {% elif hostname ==
"mirrors.ipfire.org" %}
35 {% elif hostname ==
"people.ipfire.org" %}
37 {% elif hostname ==
"wiki.ipfire.org" %}
43 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
44 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
45 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
46 <span class=
"fas fa-bars"></span>
49 <div class=
"collapse navbar-collapse" id=
"navbar">
50 <ul class=
"navbar-nav ml-auto">
51 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
52 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
56 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
60 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
64 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
68 <a class=
"nav-link {% if request.path.startswith("/blog
") %}active{% end %}" href=
"/blog">{{ _(
"Blog") }}
</a>
72 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
76 <a class=
"btn btn-lwl mt-2 mt-lg-0 ml-lg-2" href=
"https://store.lightningwirelabs.com/">
80 {% elif hostname ==
"fireinfo.ipfire.org" %}
81 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
82 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
83 <span class=
"fas fa-bars"></span>
86 <div class=
"collapse navbar-collapse" id=
"navbar">
87 <ul class=
"navbar-nav ml-auto">
88 {% if current_user and current_user.is_staff() %}
90 <a class=
"nav-link {% if request.path.startswith("/admin
") %}active{% end %}" href=
"/admin">
97 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
103 {% elif hostname ==
"location.ipfire.org" %}
104 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
105 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
106 <span class=
"fas fa-bars"></span>
109 <div class=
"collapse navbar-collapse" id=
"navbar">
110 <ul class=
"navbar-nav ml-auto">
111 <li class=
"nav-item">
112 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
113 {{ _(
"How To Use") }}
117 <li class=
"nav-item">
118 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
124 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
128 {% elif hostname ==
"nopaste.ipfire.org" %}
129 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
130 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
131 <span class=
"fas fa-bars"></span>
134 <div class=
"collapse navbar-collapse" id=
"navbar">
135 <ul class=
"navbar-nav ml-auto">
136 <li class=
"nav-item">
137 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
141 {% elif hostname ==
"people.ipfire.org" %}
142 {% if current_user %}
143 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
144 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
145 <span class=
"fas fa-bars"></span>
148 <div class=
"collapse navbar-collapse" id=
"navbar">
149 <ul class=
"navbar-nav ml-auto mr-3">
150 <li class=
"nav-item">
151 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
152 {{ _(
"My Profile") }}
156 {% if current_user.is_staff() %}
157 <li class=
"nav-item">
158 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
163 <li class=
"nav-item">
164 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
169 <li class=
"nav-item">
170 <a class=
"nav-link {% if request.path == "/stats
" %}active{% end %}" href=
"/stats">
176 {% if current_user.has_sip() %}
177 <li class=
"nav-item">
178 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
179 {{ _(
"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 %}">
191 {% elif hostname ==
"wiki.ipfire.org" %}
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 <form class=
"form-inline ml-auto my-2 my-lg-0" action=
"/search" method=
"GET">
199 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
200 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
203 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
212 {% block container %}
213 <div class=
"container">
214 {% block content %}{% end block %}
220 <div class=
"container border-top">
223 <div class=
"col-12 col-lg-5 mb-3">
224 <h5>IPFire
<span class=
"text-primary">_
</span>People
</h5>
227 Join the community and sign up for our newsletter
230 <a class=
"btn btn-outline-primary text-uppercase" href=
"https://people.ipfire.org/">
235 <div class=
"col-12 col-lg-1">
239 <div class=
"col-12 col-lg-2">
242 <a class=
"footer-link" href=
"/features">{{ _(
"Features") }}
</a>
246 <a class=
"footer-link" href=
"https://wiki.ipfire.org">{{ _(
"Wiki") }}
</a>
250 <a class=
"footer-link" href=
"/support">{{ _(
"Support") }}
</a>
254 <a class=
"footer-link" href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
259 <div class=
"col-12 col-lg-2">
262 <a class=
"footer-link" href=
"/download">{{ _(
"Download") }}
</a>
266 <a class=
"footer-link" href=
"/blog">{{ _(
"Blog") }}
</a>
270 <a class=
"footer-link" href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
274 <a class=
"footer-link" href=
"/legal">{{ _(
"Legal") }}
</a>
279 <div class=
"col-12 col-lg-2">
282 <a class=
"btn btn-primary btn-block text-uppercase" href=
"https://www.ipfire.org/donate">
288 <a class=
"btn btn-lwl btn-block text-uppercase" href=
"https://store.lightningwirelabs.com/">
300 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
301 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
302 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
303 {% block javascript %}{% end block %}