]> git.ipfire.org Git - ipfire.org.git/blob - templates/base.html
77210ca4422d5276e9bcb6b4f3b073f31285d998
[ipfire.org.git] / templates / base.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
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" />
7 <meta name="verify-v1" content="2LEf3W8naILGWVy2dhedSVEHPXTpp2xFNVsHXZMH1JI=" />
8
9 <!-- Your locale is {{ locale.code }} -->
10
11 <meta name="keywords" content="Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
12 <meta name="description" content="{{ _("IPFire is a free firewall distribution based on Linux.") }}" />
13
14 <!-- styling stuff -->
15 <!-- live site -->
16 <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
17
18 <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
20 {% if rss_url %}
21 <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ rss_url }}" />
22 {% end %}
23 </head>
24
25 <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
26
27 <div class="fixed-top">
28 <div class="container">
29 <nav class="navbar navbar-toggleable justify-content-between">
30 <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
31 <span class="navbar-toggler-icon"></span>
32 </button>
33
34 <a class="navbar-brand" href="/">
35 <img src="http://static.ipfire:8891/img/ipfire-tux.png" alt="IPFire Tux" height="40px" />
36 {% if hostname in ("www.ipfire.org", "dev.ipfire.org") %}
37 {{ _("IPFire") }}
38 {% elif hostname in ("planet.ipfire.org", "planet.dev.ipfire.org") %}
39 {{ _("IPFire Planet") }} &nbsp;
40 <span class="text-muted">{{ _("The Blog of the IPFire Team") }}</span>
41 {% elif hostname in ("wishlist.ipfire.org", "wishlist.dev.ipfire.org") %}
42 {{ _("IPFire Wishlist") }} &nbsp;
43 <span class="text-muted">{{ _("The IPFire Crowd-Funding Platform") }}</span>
44 {% else %}
45 {{ hostname }}
46 {% end %}
47 </a>
48
49 <div id="navbarSupportedContent">
50 {% block menu %}
51 {% module Menu() %}
52 {% end block %}
53 </div>
54 </nav>
55 </div>
56 </div>
57
58 {% block container %}
59 <div class="container">
60 {% block body %}{% end block %}
61 </div>
62 {% end block %}
63
64 {% block footer %}
65 <footer class="footer">
66 <div class="container pb-3">
67 <div class="row mb-6">
68 <div class="col-2 links">
69 <h5>{{ _("About") }}</h5>
70
71 <ul class="list-unstyled">
72 <li>
73 <a href="http://www.ipfire.org/about">{{ _("About IPFire") }}</a>
74 </li>
75 <li>
76 <a href="https://downloads.ipfire.org">{{ _("Download") }}</a>
77 </li>
78 <li>
79 <a href="https://planet.ipfire.org">{{ _("Planet") }}</a>
80 </li>
81 <li>
82 <a href="http://www.ipfire.org/legal">{{ _("Legal") }}</a>
83 </li>
84 </ul>
85 </div>
86
87 <div class="col-2 links">
88 <h5>{{ _("Support") }}</h5>
89
90 <ul class="list-unstyled">
91 <li>
92 <a href="http://www.ipfire.org/get-support#professional">{{ _("Professional Support") }}</a>
93 </li>
94 <li>
95 <a href="http://wiki.ipfire.org">{{ _("Documentation") }}</a>
96 </li>
97 </ul>
98 </div>
99
100 <div class="col-2 links">
101 <h5>{{ _("Join") }}</h5>
102
103 <ul class="list-unstyled">
104 <li>
105 <a href="http://forum.ipfire.org">{{ _("Forum") }}</a>
106 </li>
107 <li>
108 <a href="//www.ipfire.org/chat">{{ _("Chat") }}</a>
109 </li>
110 <li>
111 <a href="http://lists.ipfire.org">{{ _("Mailing Lists") }}</a>
112 </li>
113 <li>
114 <a href="http://talk.ipfire.org">{{ _("Talk") }}</a>
115 </li>
116 </ul>
117 </div>
118
119 <div class="col-2 links">
120 <h5>{{ _("Development") }}</h5>
121
122 <ul class="list-unstyled">
123 <li>
124 <a href="http://wiki.ipfire.org/devel/start">{{ _("Become a developer") }}</a>
125 </li>
126 <li>
127 <a href="https://pakfire.ipfire.org">{{ _("Pakfire Build Service") }}</a>
128 </li>
129 <li>
130 <a href="https://bugzilla.ipfire.org">{{ _("Bugtracker") }}</a>
131 </li>
132 <li>
133 <a href="http://patchwork.ipfire.org">{{ _("Patchwork") }}</a>
134 </li>
135 </ul>
136 </div>
137
138 <div class="col-md-4 text-center">
139 <a class="btn btn-primary" href="//www.ipfire.org/donate">
140 <span class="fa fa-heart"></span> {{ _("Donate") }}
141 </a>
142
143 <br><br>
144
145 <div class="btn-toolbar links">
146 <a class="btn btn-sm" href="http://www.ipfire.org/news.rss">
147 <span class="fa fa-2x fa-rss"></span>
148 </a>
149 <a class="btn btn-sm" href="https://twitter.com/ipfire">
150 <span class="fa fa-2x fa-twitter"></span>
151 </a>
152 <a class="btn btn-sm" href="https://www.facebook.com/IPFire.org">
153 <span class="fa fa-2x fa-facebook"></span>
154 </a>
155 <a class="btn btn-sm" href="https://youtube.com/user/ipfireproject">
156 <span class="fa fa-2x fa-youtube"></span>
157 </a>
158 <a class="btn btn-sm" href="https://google.com/+IpfireOrg4Ever">
159 <span class="fa fa-2x fa-google-plus"></span>
160 </a>
161 </div>
162 </div>
163 </div>
164 </div>
165
166 <div id="copyright">
167 <div class="container">
168 {% if ssl_protocol %}
169 <p class="pull-right">
170 <span class="fa fa-lock"></span> {{ ssl_protocol }}
171 {% if ssl_cipher %}({{ ssl_cipher }}){% end %}
172 </p>
173 {% end %}
174
175 {% if hostname == "wishlist.ipfire.org" %}
176 <p class="pull-right">
177 <a href="/terms">{{ _("Terms & Conditions") }}</a>
178 </p>
179 {% end %}
180
181 <p><small>&copy; {{ year }} - {{ _("IPFire is free software written by the IPFire Project") }}</small></p>
182 </div>
183 </div>
184 </footer>
185 {% end block %}
186
187 <script src="{{ static_url("js/jquery.js") }}"></script>
188 <script src="{{ static_url("js/jquery.easing.js") }}"></script>
189 <script src="{{ static_url("js/site.js") }}"></script>
190 </body>
191 </html>