Mercurial > sat_legacy_website
annotate templates/sat_website/base.html @ 61:c902ce09d4ed
put the external module import between try except
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 15 May 2015 17:26:32 +0200 |
parents | d54f2f09a73a |
children | a14845624e01 |
rev | line source |
---|---|
0 | 1 {% comment %} |
2 SàT website: Salut à Toi's presentation website | |
3 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org) | |
4 | |
5 This file is part of SàT website. | |
6 | |
7 SàT website is free software: you can redistribute it and/or modify | |
8 it under the terms of the GNU Affero General Public License as published by | |
9 the Free Software Foundation, either version 3 of the License, or | |
10 (at your option) any later version. | |
11 | |
12 Foobar is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU Affero General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU Affero General Public License | |
18 along with Foobar. If not, see <http://www.gnu.org/licenses/>. | |
19 {% endcomment %} | |
20 | |
21 {% load staticfiles %} | |
2
0df46e87537d
i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents:
1
diff
changeset
|
22 {% load i18n %} |
25
930e73ea9e8e
select the current language in the languages selection list
souliane <souliane@mailoo.org>
parents:
22
diff
changeset
|
23 {% get_current_language as LANGUAGE_CODE %} |
0 | 24 |
25 <!DOCTYPE html> | |
25
930e73ea9e8e
select the current language in the languages selection list
souliane <souliane@mailoo.org>
parents:
22
diff
changeset
|
26 <html lang="{{ LANGUAGE_CODE }}"> |
0 | 27 <head> |
26 | 28 <meta charset="utf-8"> |
29 <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
30 <meta name="viewport" content="width=device-width, initial-scale=1"> | |
27
eda4deefecd1
reorganisation of the menu using submenus
souliane <souliane@mailoo.org>
parents:
26
diff
changeset
|
31 <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}"> |
33
73c6333fd124
change overview.html, move the previous content to principles.html
souliane <souliane@mailoo.org>
parents:
29
diff
changeset
|
32 <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap-theme.min.css" %}"> |
26 | 33 <link rel="stylesheet" href="{% static "css/sat_website.css" %}"> |
34 <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}"> | |
45
62c23067e86e
improve English texts following recommandations from Florian
souliane <souliane@mailoo.org>
parents:
33
diff
changeset
|
35 <title>{% block title %}{% trans "Salut à Toi: the multi frontend, multipurpose communication tool" %}{% endblock %}</title> |
0 | 36 </head> |
33
73c6333fd124
change overview.html, move the previous content to principles.html
souliane <souliane@mailoo.org>
parents:
29
diff
changeset
|
37 <body role="document"> |
26 | 38 <nav class="navbar navbar-inverse navbar-fixed-top"> |
39 <div class="container"> | |
40 <div class="navbar-header" id="navbar-header"> | |
41 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | |
42 <span class="sr-only">Toggle navigation</span> | |
43 <span class="icon-bar"></span> | |
44 <span class="icon-bar"></span> | |
45 <span class="icon-bar"></span> | |
46 </button> | |
47 <img id="sat_logo" src="{% static "images/sat_logo_32.png" %}"> | |
48 <a class="navbar-brand" href="overview.html"> | |
49 Salut à Toi | |
50 </a> | |
51 </div> | |
52 <div id="navbar" class="collapse navbar-collapse"> | |
27
eda4deefecd1
reorganisation of the menu using submenus
souliane <souliane@mailoo.org>
parents:
26
diff
changeset
|
53 {% include "sat_website/menu.html" with style="nav navbar-nav" categories=categories %} |
28
30a1edf90fae
move the language selector to the main menu
souliane <souliane@mailoo.org>
parents:
27
diff
changeset
|
54 {% include "sat_website/menu.html" with style="nav navbar-nav pull-right" categories=categories_right language_select=True %} |
26 | 55 </div> |
56 </div> | |
57 </nav> | |
58 | |
54
d54f2f09a73a
fixes displaying two carousels on the same page
souliane <souliane@mailoo.org>
parents:
45
diff
changeset
|
59 <script src="{% static "js/jquery.min.js" %}"></script> |
26 | 60 {% block content %}{% endblock %} |
61 <script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script> | |
29
b45621706d83
use Bootstrap carousels to display images and videos galeries:
souliane <souliane@mailoo.org>
parents:
28
diff
changeset
|
62 <script src="{% static "js/sat_website.js" %}"></script> |
0 | 63 </body> |
64 </html> |