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 mx-auto" href=
"/">
22 <strong>IPFire
</strong>
24 {% if hostname ==
"blog.ipfire.org" %}
26 {% elif hostname ==
"people.ipfire.org" %}
32 {% if hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
33 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
34 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
35 <span class=
"fas fa-bars"></span>
38 <div class=
"collapse navbar-collapse" id=
"navbar">
39 <ul class=
"navbar-nav ml-auto">
40 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
41 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
45 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
49 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
53 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
57 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
58 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
61 {% elif hostname ==
"blog.ipfire.org" %}
62 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
63 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
64 <span class=
"fas fa-bars"></span>
67 <div class=
"collapse navbar-collapse" id=
"navbar">
68 <ul class=
"navbar-nav ml-auto d-lg-none">
70 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">
77 <a class=
"nav-link {% if request.path == "/drafts
" %}active{% end %}" href=
"/drafts">
84 <a class=
"nav-link {% if request.path == "/tags/featured
" %}active{% end %}" href=
"/tags/featured">
90 <a class=
"nav-link {% if request.path == "/tags/lightningwirelabs.com
" %}active{% end %} d-flex justify-content-between"
91 href=
"/tags/lightningwirelabs.com">
92 <span>{{ _(
"Lightning Wire Labs") }}
</span>
94 <img class=
"img-fluid" src=
"{{ static_url("img/lightningwirelabs-logo.svg
") }}"
95 alt=
"{{ _("Lightning Wire Labs
") }}">
100 <a class=
"nav-link d-flex justify-content-between" href=
"/feed.xml">
101 <span>{{ _(
"RSS Feed") }}
</span> <span class=
"fas fa-rss"></span>
106 <form class=
"form-inline ml-lg-auto my-2 my-lg-0" action=
"/search" method=
"GET">
107 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
108 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
111 <a class=
"btn btn-primary ml-lg-2" href=
"/donate">
112 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
115 {% elif hostname ==
"nopaste.ipfire.org" %}
116 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
117 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
118 <span class=
"fas fa-bars"></span>
121 <div class=
"collapse navbar-collapse" id=
"navbar">
122 <ul class=
"navbar-nav ml-auto">
123 <li class=
"nav-item">
124 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
128 {% elif hostname ==
"people.ipfire.org" %}
129 {% if current_user %}
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 mr-3">
137 <li class=
"nav-item">
138 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
139 {{ _(
"My Profile") }}
143 <li class=
"nav-item">
144 <a class=
"nav-link {% if request.path.startswith("/users/%s/calls
" % current_user.uid) %}active{% end %}" href=
"/users/{{ current_user.uid }}/calls">
147 {% if current_user.sip_channels %}
148 <span class=
"badge badge-primary ml-2">{{ len(current_user.sip_channels) }}
</span>
153 <li class=
"nav-item">
154 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
159 <li class=
"nav-item">
160 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
161 {{ _(
"Conferences") }}
166 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
167 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
168 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
177 {% block container %}
178 <div class=
"container">
179 {% block body %}{% end block %}
180 {% block content %}{% end block %}
187 {% if hostname in (
"www.ipfire.org",
"blog.ipfire.org",
"dev.ipfire.org") %}
188 <div class=
"footer-info">
189 <div class=
"container pb-3">
190 <div class=
"row mb-6 justify-content-between">
191 <div class=
"col-12 col-lg-4 mb-4">
192 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
194 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
195 {% raw xsrf_form_html() %}
197 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
199 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
200 placeholder=
"{{ _("Your Email Address
") }}">
202 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
206 <div class=
"col-12 col-lg-3 mb-4 small">
207 <h6>{{ _(
"About") }}
</h6>
211 <ul class=
"list-unstyled">
213 <a href=
"https://www.ipfire.org/features">{{ _(
"Features") }}
</a>
217 <a href=
"https://downloads.ipfire.org">{{ _(
"Download") }}
</a>
221 <a href=
"https://www.ipfire.org/support">{{ _(
"Support") }}
</a>
227 <ul class=
"list-unstyled">
229 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
233 <a href=
"https://wiki.ipfire.org/devel/start">{{ _(
"Development") }}
</a>
237 <a href=
"https://www.ipfire.org/legal">{{ _(
"Legal") }}
</a>
244 <div class=
"col-12 col-lg-4 text-center mb-4">
245 <a class=
"btn btn-primary btn-lg px-4 my-4" href=
"//www.ipfire.org/donate">
246 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
249 <div class=
"btn-toolbar justify-content-center">
250 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
251 <span class=
"fab fa-twitter"></span>
254 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
255 <span class=
"fab fa-facebook"></span>
258 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
259 <span class=
"fab fa-youtube"></span>
268 <div class=
"copyright">
269 <div class=
"container d-flex justify-content-between">
270 © {{ year }} - {{ _(
"IPFire is free software written by the IPFire Project") }}
272 {% if not current_user and hostname in (
"blog.ipfire.org",
"nopaste.ipfire.org") %}
273 <a href=
"/login">{{ _(
"Login") }}
</a>
274 {% elif current_user %}
276 {{ _(
"You are currently logged in as %s") % current_user.name }}
277 <a href=
"/logout">{{ _(
"Logout") }}
</a>
286 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
287 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
288 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
289 {% block javascript %}{% end block %}