]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/base.html
donation: Add padding to explanation container only in smaller viewports
[ipfire.org.git] / src / templates / base.html
CommitLineData
60024cc8
MT
1<!DOCTYPE html>
2<html lang="en">
81675874 3 <head>
60024cc8
MT
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" />
940227cb 7
60024cc8 8 <meta name="keywords" content="Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
940227cb
MT
9 <meta name="description" content="{{ _("IPFire is a free firewall distribution based on Linux.") }}" />
10
60024cc8 11 <!-- styling stuff -->
07064256 12 <link rel="stylesheet" type="text/css" href="{{ static_url("main.css") }}" />
9f868512 13 <meta name="viewport" content="width=device-width, initial-scale=1.0">
940227cb 14
a1bf2f6c 15 {% block head %}{% end block %}
81675874 16 </head>
60024cc8 17
6287dcad 18 <body id="page-top" class="{% if request.host in ("www.ipfire.org", "dev.ipfire.org") and request.path in ("/", "/donate") %}background{% end %}">
cc59f0e1 19 <nav class="navbar navbar-expand-lg fixed-top">
6cee9198
MT
20 <div class="container">
21 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar"
22 aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
23 <svg class="icon i_hamburger"><use xlink:href="#hamburger"/></svg>
24 </button>
25
4f0e4575 26 <a class="navbar-brand mx-auto text-dark" href="/">
6cee9198 27 <img src="{{ static_url("img/ipfire-tux.png") }}" alt="IPFire" height="32px" />
12e5de7e 28 IP<strong>Fire</strong> {% block subtitle %}{% end block %}
6cee9198
MT
29 </a>
30
31 <div class="collapse navbar-collapse" id="navbar">
32 {% block menu %}
33 {% module Menu() %}
34 {% end block %}
82468973 35 </div>
6cee9198 36
62058a32
MT
37 <a class="btn btn-primary btn-donate ml-2 d-none d-sm-block" href="/donate">
38 <svg class="icon i_heart"><use xlink:href="#heart"/></svg>
6cee9198
MT
39 {{ _("Donate") }}
40 </a>
4b4334da 41 </div>
6cee9198 42 </nav>
60024cc8
MT
43
44 {% block container %}
60b0917c
MT
45 <div class="container">
46 {% block body %}{% end block %}
12e5de7e 47 {% block content %}{% end block %}
9b5ac075
MT
48 </div>
49 {% end block %}
60024cc8 50
9b5ac075 51 {% block footer %}
b4c68079 52 <footer class="footer">
20df8773
S
53 <div class="container pb-3">
54 <div class="row mb-6">
f8c4f791 55 <div class="col-6 col-sm-5 offset-sm-2 col-md-3 offset-md-0 col-lg-2 mb-5">
6aa3b1ec 56 <h4>{{ _("About") }}</h4>
7771acea 57
60b0917c
MT
58 <ul class="list-unstyled">
59 <li>
ba43a892 60 <a href="https://www.ipfire.org/about">{{ _("About IPFire") }}</a>
60b0917c
MT
61 </li>
62 <li>
73493ea6 63 <a href="https://downloads.ipfire.org">{{ _("Download") }}</a>
60b0917c
MT
64 </li>
65 <li>
7cfde639 66 <a href="https://blog.ipfire.org">{{ _("Blog") }}</a>
60b0917c
MT
67 </li>
68 <li>
ba43a892 69 <a href="https://www.ipfire.org/legal">{{ _("Legal") }}</a>
60b0917c
MT
70 </li>
71 </ul>
72 </div>
b4c68079 73
8e18ac98 74 <div class="col-6 col-sm-5 col-md-3 col-lg-2 mb-5">
6aa3b1ec 75 <h4>{{ _("Support") }}</h4>
60b0917c
MT
76
77 <ul class="list-unstyled">
78 <li>
ba43a892 79 <a href="https://www.ipfire.org/get-support#professional">{{ _("Professional Support") }}</a>
60b0917c
MT
80 </li>
81 <li>
ba43a892 82 <a href="https://wiki.ipfire.org">{{ _("Documentation") }}</a>
60b0917c
MT
83 </li>
84 </ul>
85 </div>
86
f8c4f791 87 <div class="col-6 col-sm-5 offset-sm-2 col-md-3 offset-md-0 col-lg-2 mb-5">
6aa3b1ec 88 <h4>{{ _("Community") }}</h4>
60b0917c
MT
89
90 <ul class="list-unstyled">
91 <li>
ba43a892 92 <a href="https://forum.ipfire.org">{{ _("Forum") }}</a>
60b0917c
MT
93 </li>
94 <li>
95 <a href="//www.ipfire.org/chat">{{ _("Chat") }}</a>
96 </li>
97 <li>
ba43a892 98 <a href="https://lists.ipfire.org">{{ _("Mailing Lists") }}</a>
60b0917c
MT
99 </li>
100 <li>
ba43a892 101 <a href="https://talk.ipfire.org">{{ _("Talk") }}</a>
60b0917c
MT
102 </li>
103 </ul>
104 </div>
105
8e18ac98 106 <div class="col-6 col-sm-5 col-md-3 col-lg-2 mb-6">
6aa3b1ec 107 <h4>{{ _("Development") }}</h4>
47d47c2e 108
60b0917c
MT
109 <ul class="list-unstyled">
110 <li>
ba43a892 111 <a href="https://wiki.ipfire.org/devel/start">{{ _("Become a developer") }}</a>
60b0917c
MT
112 </li>
113 <li>
114 <a href="https://pakfire.ipfire.org">{{ _("Pakfire Build Service") }}</a>
115 </li>
116 <li>
117 <a href="https://bugzilla.ipfire.org">{{ _("Bugtracker") }}</a>
118 </li>
119 <li>
ba43a892 120 <a href="https://patchwork.ipfire.org">{{ _("Patchwork") }}</a>
60b0917c
MT
121 </li>
122 </ul>
123 </div>
47d47c2e 124
f8c4f791 125 <div class="col-sm-8 offset-sm-2 col-md-12 offset-md-0 col-lg-4 pt-md-6 pt-lg-1 text-center">
6aa3b1ec 126 <a class="btn btn-primary btn-lg" href="//www.ipfire.org/donate">
52a63148 127 <svg class="icon i_heart"><use xlink:href="#heart"/></svg>
6aa3b1ec 128 {{ _("Donate") }}
60b0917c
MT
129 </a>
130
82468973 131 <div class="btn-toolbar justify-content-around col-md-6 offset-md-3">
677d8807 132 <a class="btn btn-sm" href="https://blogs.ipfire.org/feed.xml">
f8c4f791 133 <svg class="icon i_rss"><use xlink:href="#rss"/></svg>
60b0917c
MT
134 </a>
135 <a class="btn btn-sm" href="https://twitter.com/ipfire">
52a63148 136 <svg class="icon i_twitter"><use xlink:href="#twitter"/></svg>
60b0917c
MT
137 </a>
138 <a class="btn btn-sm" href="https://www.facebook.com/IPFire.org">
52a63148 139 <svg class="icon i_facebook"><use xlink:href="#facebook"/></svg>
60b0917c 140 </a>
6aa3b1ec 141 <a class="btn btn-sm" href="https://youtube.com/user/ipfireproject">
52a63148 142 <svg class="icon i_youtube"><use xlink:href="#youtube"/></svg>
60b0917c
MT
143 </a>
144 </div>
145 </div>
146 </div>
20df8773
S
147 </div>
148
149 <div id="copyright">
150 <div class="container">
f8c4f791 151 <p>&copy; {{ year }} - {{ _("IPFire is free software written by the IPFire Project") }}</p>
20df8773 152 </div>
9b5ac075
MT
153 </div>
154 </footer>
5236a99a 155 <div id="mask"></div>
60024cc8 156 {% end block %}
52a63148
S
157
158 <!-- Hidden icon data -->
159 <svg aria-hidden="true" style="display:none">
fdae1aac
S
160 <symbol id="heart" viewBox="0 0 24 24">
161 <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
162 </symbol>
163
164 <symbol id="arrow_down" viewBox="0 0 24 24">
165 <path d="M7.41 9.02L12 13.694l4.59-4.674L18 10.46l-6 6.122-6-6.123z"/>
166 </symbol>
167
168 <symbol id="download" viewBox="0 0 24 24">
169 <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>
170 </symbol>
171
172 <symbol id="facebook" viewBox="0 0 24 24">
173 <path d="M17 3.207V6h-1.777c-.667 0-1.112.103-1.334.414-.222.207-.333.62-.333 1.138v2.07h3.333l-.444 3.206h-2.89V21H10v-8.172H7V9.62h3v-2.38c0-1.344.444-2.379 1.222-3.103C12 3.414 13.112 3 14.444 3c1.112 0 2 .104 2.556.207" />
174 </symbol>
175
176 <symbol id="hamburger" viewBox="0 0 24 24">
177 <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
178 </symbol>
179
180 <symbol id="rss" viewBox="0 0 24 24">
181 <path d="M6.18 15.2a2.18 2.18 0 0 1 2.18 2.18c0 1.18-.98 2.18-2.18 2.18-1.18 0-2.18-1-2.18-2.18a2.18 2.18 0 0 1 2.18-2.18zM4 4c8.594 0 15.56 6.966 15.56 15.56h-2.83c0-7.03-5.7-12.73-12.73-12.73V4zm0 5.66c5.468 0 9.9 4.432 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.49V9.66z"/>
182 </symbol>
183
184 <symbol id="security" viewBox="0 0 24 24">
185 <path d="M13 18h1a1 1 0 0 1 1 1h7v2h-7a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1H2v-2h7a1 1 0 0 1 1-1h1v-1.66C8.07 15.13 6 12 6 8.67v-4L12 2l6 2.67v4c0 3.33-2.07 6.46-5 7.67V18zM12 4L8 5.69V9h4V4zm0 5v6c1.91-.47 4-2.94 4-5V9h-4z"/>
186 </symbol>
187
188 <symbol id="shield" viewBox="0 0 24 24">
189 <path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"/>
190 </symbol>
191
192 <symbol id="github" viewBox="0 0 24 24">
193 <path d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33.85 0 1.71.11 2.5.33 1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2z"/>
194 </symbol>
962fdee9 195
fdae1aac
S
196 <symbol id="speed" viewBox="0 0 24 24">
197 <path d="M12 16a3 3 0 0 1-3-3c0-1.12.61-2.1 1.5-2.61l9.71-5.62-5.53 9.58c-.5.98-1.51 1.65-2.68 1.65zm0-13c1.81 0 3.5.5 4.97 1.32l-2.1 1.21C14 5.19 13 5 12 5a8 8 0 0 0-8 8c0 2.21.89 4.21 2.34 5.65h.01c.39.39.39 1.02 0 1.41-.39.39-1.03.39-1.42.01A9.969 9.969 0 0 1 2 13C2 7.477 6.477 3 12 3zm10 10c0 2.76-1.12 5.26-2.93 7.07-.39.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41A7.95 7.95 0 0 0 20 13c0-1-.19-2-.54-2.9L20.67 8C21.5 9.5 22 11.18 22 13z"/>
198 </symbol>
199
200 <symbol id="twitter" viewBox="0 0 24 24">
201 <path d="M22 6.792c-.58.835-1.159 1.552-1.97 2.15v.476c0 1.194-.116 2.27-.464 3.344a8.244 8.244 0 0 1-1.39 3.104 11.87 11.87 0 0 1-2.2 2.627c-.812.716-1.854 1.313-3.128 1.79-1.16.479-2.55.717-3.94.717-2.085 0-4.17-.596-5.908-1.79h.927c1.737 0 3.36-.478 4.866-1.672-.927 0-1.622-.24-2.318-.836-.695-.478-1.158-1.194-1.39-1.91h.811c.348 0 .696 0 .927-.12-.811-.24-1.622-.716-2.201-1.433-.58-.716-.927-1.552-.927-2.507.58.238 1.159.478 1.854.478-.58-.359-1.043-.836-1.275-1.433a4.331 4.331 0 0 1-.463-2.03c0-.717.116-1.433.463-2.03 1.043 1.194 2.201 2.15 3.592 2.985 1.39.716 2.896 1.194 4.518 1.313-.116-.358-.116-.716-.116-1.074 0-1.075.348-2.03 1.159-2.866C14.122 5.359 15.049 5 16.09 5c1.159 0 2.085.359 2.896 1.194.927-.119 1.738-.477 2.433-.955-.231.955-.81 1.672-1.621 2.27A7.918 7.918 0 0 0 22 6.791"/>
202 </symbol>
203
204 <symbol id="youtube" viewBox="0 0 26 26">
205 <path d="M16.412 12.716c.235-.238.353-.358.353-.716s-.118-.597-.353-.716l-6.353-3.94c-.236-.12-.47-.24-.823 0-.236.12-.354.358-.354.716v7.88c0 .358.118.597.354.717.235.119.352.119.47.119.117 0 .235 0 .353-.12l6.353-3.94zM23 10.09v3.82c0 .358 0 .955-.118 1.672 0 .716-.118 1.313-.235 1.79-.118.597-.47 1.075-.824 1.553-.47.358-.94.597-1.53.716-1.881.24-4.587.359-8.234.359-3.647 0-6.47-.12-8.235-.359-.588-.119-1.059-.358-1.53-.716-.47-.358-.705-.956-.823-1.552a23.942 23.942 0 0 1-.353-1.791c0-.717 0-1.314-.118-1.672v-3.82c.118-.358.118-.955.118-1.672.117-.716.235-1.314.353-1.79.118-.597.353-1.195.823-1.553.471-.478.942-.716 1.53-.716C5.588 4.12 8.412 4 12.06 4c3.647 0 6.353.12 8.235.359.588 0 1.059.238 1.529.716.353.358.706.956.824 1.552a7.38 7.38 0 0 1 .235 1.791C23 9.135 23 9.732 23 10.09z"/>
206 </symbol>
207
208 <symbol id="couch" viewBox="0 0 24 24">
209 <defs><path id="a" d="M0 0h24v24H0z"/></defs><g><mask id="b"><use xlink:href="#a"/></mask><path d="M21 10c-1.1 0-2 .9-2 2v3H5v-3c0-1.1-.9-2-2-2s-2 .9-2 2v5c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2zm-3-5H6c-1.1 0-2 .9-2 2v2.15c1.16.41 2 1.51 2 2.82V14h12v-2.03c0-1.3.84-2.4 2-2.82V7c0-1.1-.9-2-2-2z" mask="url(#b)"/></g>
346e30de 210 </symbol>
52a63148 211 </svg>
45f1004c 212
f9b71176
MT
213 <script src="{{ static_url("js/jquery-3.3.1.min.js") }}"></script>
214 <script src="{{ static_url("js/popper.min.js") }}"></script>
215 <script src="{{ static_url("js/bootstrap.min.js") }}"></script>
45f1004c 216 <script src="{{ static_url("js/site.js") }}"></script>
9f043320 217 {% block javascript %}{% end block %}
f9b71176
MT
218
219 <!-- <script src="{{ static_url("js/jquery.easing.js") }}"></script>
220 <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
221 <script src="{{ static_url("js/circle-progress.min.js") }}"></script> -->
81675874 222 </body>
223</html>