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