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 class=
"{{ hostname.replace(".
", "-
") }}">
24 {% block container_large %}
25 <nav class=
"navbar navbar-light navbar-expand-lg">
26 <div class=
"container">
27 <a class=
"navbar-brand" href=
"/">
28 {% if hostname ==
"people.ipfire.org" %}
29 IPFire
<span class=
"text-primary">_
</span>People
31 IPFire
<span class=
"text-primary">_
</span>
34 {% if hostname ==
"fireinfo.ipfire.org" %}
36 {% elif hostname ==
"location.ipfire.org" %}
38 {% elif hostname ==
"wiki.ipfire.org" %}
44 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
45 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
46 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
47 <span class=
"fas fa-bars"></span>
50 <div class=
"collapse navbar-collapse" id=
"navbar">
51 <ul class=
"navbar-nav ml-auto">
52 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
53 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
57 <a class=
"nav-link {% if request.path == "/about
" %}active{% end %}" href=
"/about">{{ _(
"About") }}
</a>
61 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
65 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
69 <a class=
"nav-link {% if request.path.startswith("/blog
") %}active{% end %}" href=
"/blog">{{ _(
"Blog") }}
</a>
73 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
77 <a class=
"btn btn-lwl mt-2 mt-lg-0 ml-lg-2" href=
"https://store.lightningwirelabs.com/">
81 {% elif hostname ==
"fireinfo.ipfire.org" %}
82 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
83 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
84 <span class=
"fas fa-bars"></span>
87 <div class=
"collapse navbar-collapse" id=
"navbar">
88 <ul class=
"navbar-nav ml-auto">
89 {% if current_user and current_user.is_staff() %}
91 <a class=
"nav-link {% if request.path.startswith("/admin
") %}active{% end %}" href=
"/admin">
98 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
104 {% elif hostname ==
"location.ipfire.org" %}
105 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
106 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
107 <span class=
"fas fa-bars"></span>
110 <div class=
"collapse navbar-collapse" id=
"navbar">
111 <ul class=
"navbar-nav ml-auto">
112 <li class=
"nav-item">
113 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
114 {{ _(
"How To Use") }}
118 <li class=
"nav-item">
119 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
125 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
129 {% elif hostname ==
"nopaste.ipfire.org" %}
130 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
131 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
132 <span class=
"fas fa-bars"></span>
135 <div class=
"collapse navbar-collapse" id=
"navbar">
136 <ul class=
"navbar-nav ml-auto">
137 <li class=
"nav-item">
138 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
142 {% elif hostname ==
"people.ipfire.org" %}
143 {% if current_user %}
144 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
145 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
146 <span class=
"fas fa-bars"></span>
149 <div class=
"collapse navbar-collapse" id=
"navbar">
150 <ul class=
"navbar-nav ml-auto mr-3">
151 <li class=
"nav-item">
152 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
153 {{ _(
"My Profile") }}
157 {% if current_user.is_staff() %}
158 <li class=
"nav-item">
159 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
164 <li class=
"nav-item">
165 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
170 <li class=
"nav-item">
171 <a class=
"nav-link {% if request.path == "/stats
" %}active{% end %}" href=
"/stats">
177 {% if current_user.has_sip() %}
178 <li class=
"nav-item">
179 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
180 {{ _(
"Conferences") }}
186 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
187 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
188 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
192 {% elif hostname ==
"wiki.ipfire.org" %}
193 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
194 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
195 <span class=
"fas fa-bars"></span>
198 <div class=
"collapse navbar-collapse" id=
"navbar">
199 <form class=
"form-inline ml-auto my-2 my-lg-0" action=
"/search" method=
"GET">
200 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
201 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
204 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
213 {% block container %}
214 <div class=
"container">
215 {% block content %}{% end block %}
222 <div class=
"container border-top">
225 <div class=
"col-12 col-lg-5 mb-3">
226 <h5>IPFire
<span class=
"text-primary">_
</span>People
</h5>
229 Join the community and sign up for our newsletter
232 <a class=
"btn btn-outline-primary text-uppercase" href=
"https://people.ipfire.org/">
237 <div class=
"col-12 col-lg-1">
241 <div class=
"col-12 col-lg-2">
244 <a class=
"footer-link" href=
"/about">{{ _(
"About") }}
</a>
248 <a class=
"footer-link" href=
"https://wiki.ipfire.org">{{ _(
"Wiki") }}
</a>
252 <a class=
"footer-link" href=
"/support">{{ _(
"Support") }}
</a>
256 <a class=
"footer-link" href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
261 <div class=
"col-12 col-lg-2">
264 <a class=
"footer-link" href=
"/download">{{ _(
"Download") }}
</a>
268 <a class=
"footer-link" href=
"/blog">{{ _(
"Blog") }}
</a>
272 <a class=
"footer-link" href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
276 <a class=
"footer-link" href=
"/legal">{{ _(
"Legal") }}
</a>
281 <div class=
"col-12 col-lg-2">
284 <a class=
"btn btn-primary btn-block text-uppercase" href=
"https://www.ipfire.org/donate">
290 <a class=
"btn btn-lwl btn-block text-uppercase" href=
"https://store.lightningwirelabs.com/">
302 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
303 <script src=
"{{ static_url("js/bootstrap.bundle.min.js
") }}"></script>
304 {% block javascript %}{% end block %}