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 %}
24 {% block container_large %}
25 <nav class=
"navbar" role=
"navigation" aria-label=
"main navigation">
26 <div class=
"container">
27 <div class=
"navbar-brand">
28 <a class=
"navbar-item is-size-4" href=
"/">
30 IPFire
<span class=
"has-text-primary">_
</span>
32 {% if hostname.startswith(
"fireinfo.") %}
34 {% elif hostname.startswith(
"nopaste.") %}
36 {% elif hostname.startswith(
"people.") %}
38 {% elif hostname.startswith(
"location.") %}
40 {% elif hostname.startswith(
"wiki.") %}
45 <a role=
"button" class=
"navbar-burger" aria-label=
"menu" aria-expanded=
"false" data-target=
"navbarMainMenu">
46 <span aria-hidden=
"true"></span>
47 <span aria-hidden=
"true"></span>
48 <span aria-hidden=
"true"></span>
51 <div class=
"navbar-menu" id=
"navbarMainMenu">
53 {% if hostname.startswith(
"www.") or hostname.startswith(
"dev.") %}
54 <div class=
"navbar-end">
55 <a class=
"navbar-item {% if request.path == "/about
" %}active{% end %}" href=
"/about">{{ _(
"About") }}
</a>
57 <a class=
"navbar-item {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
59 <a class=
"navbar-item {% if request.path.startswith("/blog
") %}active{% end %}" href=
"/blog">{{ _(
"Blog") }}
</a>
61 <a class=
"navbar-item {% if request.path == "/help
" %}active{% end %}" href=
"/help">{{ _(
"Help") }}
</a>
63 <div class=
"navbar-item">
64 <button class=
"button is-lwl" href=
"https://store.lightningwirelabs.com/?utm_source={{ hostname }}&utm_medium=navigation">
65 <p class=
"has-text-centered has-text-weight-bold is-uppercase">
71 <div class=
"navbar-item">
72 <button class=
"button is-primary" href=
"https://www.ipfire.org/donate">
73 <p class=
"has-text-centered has-text-weight-bold is-uppercase">
79 {% elif hostname ==
"fireinfo.ipfire.org" %}
80 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
81 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
82 <span class=
"fas fa-bars"></span>
85 <div class=
"collapse navbar-collapse" id=
"navbar">
86 <ul class=
"navbar-nav ml-auto">
87 {% if current_user and current_user.is_staff() %}
89 <a class=
"nav-link {% if request.path.startswith("/admin
") %}active{% end %}" href=
"/admin">
96 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
102 {% elif hostname ==
"location.ipfire.org" %}
103 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
104 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
105 <span class=
"fas fa-bars"></span>
108 <div class=
"collapse navbar-collapse" id=
"navbar">
109 <ul class=
"navbar-nav ml-auto">
110 <li class=
"nav-item">
111 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
112 {{ _(
"How To Use") }}
116 <li class=
"nav-item">
117 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
123 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
127 {% elif hostname ==
"nopaste.ipfire.org" %}
128 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
129 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
130 <span class=
"fas fa-bars"></span>
133 <div class=
"collapse navbar-collapse" id=
"navbar">
134 <ul class=
"navbar-nav ml-auto">
135 <li class=
"nav-item">
136 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
140 {% elif hostname.startswith(
"people.") %}
141 {% if current_user %}
142 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
143 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
144 <span class=
"fas fa-bars"></span>
147 <div class=
"collapse navbar-collapse" id=
"navbar">
148 <ul class=
"navbar-nav ml-auto mr-3">
149 <li class=
"nav-item">
150 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
151 {{ _(
"My Profile") }}
155 {% if current_user.is_staff() %}
156 <li class=
"nav-item">
157 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
162 <li class=
"nav-item">
163 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
168 <li class=
"nav-item">
169 <a class=
"nav-link {% if request.path == "/stats
" %}active{% end %}" href=
"/stats">
175 {% if current_user.has_sip() %}
176 <li class=
"nav-item">
177 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
178 {{ _(
"Conferences") }}
184 <form class=
"my-2 my-lg-0" action=
"/search" method=
"GET">
185 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
186 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
190 {% elif hostname ==
"wiki.ipfire.org" %}
191 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
192 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
193 <span class=
"fas fa-bars"></span>
196 <div class=
"collapse navbar-collapse" id=
"navbar">
197 <form class=
" ml-auto my-2 my-lg-0" action=
"/search" method=
"GET">
198 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
199 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
202 <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 <footer class=
"footer">
221 <div class=
"container">
222 <div class=
"columns">
223 <div class=
"column is-two-fifths">
224 <p class=
"is-size-4">
225 <span class=
"has-text-weight-bold">IPFire
</span><span class=
"has-text-primary has-text-weight-bold">_
</span>People
229 Join the community and sign up for our newsletter
232 <a class=
"button is-primary is-outlined is-medium
233 has-text-black has-text-weight-bold" href=
"/register">
238 <div class=
"column is-one-fifth">
246 <a href=
"https://wiki.ipfire.org">
256 <a href=
"https://wiki.ipfire.org/devel">
257 {{ _(
"Development") }}
263 <div class=
"column is-one-fifth">
276 <a href=
"https://community.ipfire.org/">
288 <div class=
"column is-one-fifth">
290 <button class=
"button is-primary is-fullwidth is-medium"
291 href=
"https://www.ipfire.org/donate">
298 <div class=
"level-item">
299 <a href=
"https://twitter.com/ipfire">
300 <i class=
"fa-brands fa-twitter"></i>
303 <div class=
"level-item">
304 <a href=
"https://linkedin.com/company/ipfire">
305 <i class=
"fa-brands fa-linkedin-in"></i>
316 <script src=
"{{ static_url("js/jquery-
3.6.0.min.js
") }}"></script>
317 <script src=
"{{ static_url("js/site.js
") }}"></script>
318 {% block javascript %}{% end block %}