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 btn-donate ml-2 d-none d-sm-block" 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 <form class=
"form-inline ml-auto my-2 my-lg-0" action=
"/search" method=
"GET">
69 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
70 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
73 <a class=
"btn btn-primary btn-donate ml-2 d-none d-sm-block" href=
"/donate">
74 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
77 {% elif hostname ==
"nopaste.ipfire.org" %}
78 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
79 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
80 <span class=
"fas fa-bars"></span>
83 <div class=
"collapse navbar-collapse" id=
"navbar">
84 <ul class=
"navbar-nav ml-auto">
86 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload file") }}
</a>
90 {% elif hostname ==
"people.ipfire.org" %}
92 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
93 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
94 <span class=
"fas fa-bars"></span>
97 <div class=
"collapse navbar-collapse" id=
"navbar">
98 <ul class=
"navbar-nav ml-auto mr-3">
100 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
101 {{ _(
"My Profile") }}
105 <li class=
"nav-item">
106 <a class=
"nav-link {% if request.path.startswith("/users/%s/calls
" % current_user.uid) %}active{% end %}" href=
"/users/{{ current_user.uid }}/calls">
109 {% if current_user.sip_channels %}
110 <span class=
"badge badge-primary ml-2">{{ len(current_user.sip_channels) }}
</span>
115 <li class=
"nav-item">
116 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
121 <li class=
"nav-item">
122 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
123 {{ _(
"Conferences") }}
128 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
129 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
130 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
139 {% block container %}
140 <div class=
"container">
141 {% block body %}{% end block %}
142 {% block content %}{% end block %}
148 {% if hostname in (
"www.ipfire.org",
"blog.ipfire.org",
"dev.ipfire.org") %}
150 <div class=
"container pb-3">
151 <div class=
"row mb-6 justify-content-between">
152 <div class=
"col-12 col-lg-4 mb-4">
153 <h6>{{ _(
"Subscribe to our Newsletter") }}
</h6>
155 <form method=
"POST" action=
"https://{{ "dev.ipfire.org
" if hostname == "dev.ipfire.org
" else "www.ipfire.org
" }}/newsletter/subscribe">
156 {% raw xsrf_form_html() %}
158 <label class=
"sr-only" for=
"email">{{ _(
"Email Address") }}
</label>
160 <input type=
"email" class=
"form-control mb-2 mr-sm-2" id=
"email" name=
"email"
161 placeholder=
"{{ _("Your Email Address
") }}">
163 <button type=
"submit" class=
"btn btn-primary btn-block mb-2">{{ _(
"Subscribe") }}
</button>
167 <div class=
"col-12 col-lg-3 mb-4">
168 <h6>{{ _(
"About") }}
</h6>
172 <ul class=
"list-unstyled">
174 <a href=
"https://www.ipfire.org/features">{{ _(
"Features") }}
</a>
178 <a href=
"https://downloads.ipfire.org">{{ _(
"Download") }}
</a>
182 <a href=
"https://www.ipfire.org/support">{{ _(
"Support") }}
</a>
188 <ul class=
"list-unstyled">
190 <a href=
"https://blog.ipfire.org">{{ _(
"Blog") }}
</a>
194 <a href=
"https://wiki.ipfire.org/devel/start">{{ _(
"Development") }}
</a>
198 <a href=
"https://www.ipfire.org/legal">{{ _(
"Legal") }}
</a>
205 <div class=
"col-12 col-lg-4 text-center mb-4">
206 <a class=
"btn btn-primary btn-lg my-4" href=
"//www.ipfire.org/donate">
207 <span class=
"fas fa-heart"></span> {{ _(
"Donate") }}
210 <div class=
"btn-toolbar justify-content-center">
211 <a class=
"btn btn-link" href=
"https://twitter.com/ipfire">
212 <span class=
"fab fa-twitter"></span>
215 <a class=
"btn btn-link" href=
"https://www.facebook.com/IPFire.org">
216 <span class=
"fab fa-facebook"></span>
219 <a class=
"btn btn-link" href=
"https://youtube.com/user/ipfireproject">
220 <span class=
"fab fa-youtube"></span>
229 <div class=
"copyright">
230 <div class=
"container d-flex justify-content-between">
231 © {{ year }} - {{ _(
"IPFire is free software written by the IPFire Project") }}
233 {% if not current_user and hostname in (
"blog.ipfire.org") %}
234 <a href=
"/login">{{ _(
"Login") }}
</a>
235 {% elif current_user %}
237 {{ _(
"You are currently logged in as %s") % current_user.name }}
238 <a href=
"/logout">{{ _(
"Logout") }}
</a>
246 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
247 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
248 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
249 {% block javascript %}{% end block %}