Mercurial > sat_legacy_website
annotate templates/sat_website/screenshots.html @ 26:3df49721008c
upgrade to Bootstrap v3.3.1
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 19 Jan 2015 21:22:40 +0100 |
parents | ab8a0f7bd15c |
children | b45621706d83 |
rev | line source |
---|---|
0 | 1 {% extends "sat_website/category.html" %} |
2 | |
3 {% comment %} | |
4 SàT website: Salut à Toi's presentation website | |
5 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org) | |
6 | |
7 This file is part of SàT website. | |
8 | |
9 SàT website is free software: you can redistribute it and/or modify | |
10 it under the terms of the GNU Affero General Public License as published by | |
11 the Free Software Foundation, either version 3 of the License, or | |
12 (at your option) any later version. | |
13 | |
14 Foobar is distributed in the hope that it will be useful, | |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 GNU Affero General Public License for more details. | |
18 | |
19 You should have received a copy of the GNU Affero General Public License | |
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>. | |
21 {% endcomment %} | |
22 | |
2
0df46e87537d
i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
23 {% load i18n %} |
0 | 24 {% load staticfiles %} |
25 {% load partition %} | |
26 | |
2
0df46e87537d
i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
27 {% block headline %}{% trans "Some screenshots..." %}{% endblock %} |
0 | 28 {% block extra %} |
29 <div class="btn-group"> | |
26 | 30 <a class="btn btn-default btn-info" href="#screenshots">{% trans "screenshots" %}</a> |
31 <a class="btn btn-default btn-primary" href="#screencasts">{% trans "screencasts" %}</a> | |
0 | 32 </div> |
33 {% endblock %} | |
34 {% block main_container %} | |
26 | 35 <a name="screenshots"><h3>{% trans "Screenshots" %}</h3></a> |
0 | 36 <div class="row"> |
37 {% for row in screenshots|columns:3 %} | |
38 {% for screenshot in row %} | |
26 | 39 <div class="col-md-4"> |
0 | 40 <a href="{% static screenshot.path %}" class="thumbnail"> |
41 <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}"> | |
42 </a> | |
43 <div class="screenshot_desc"> | |
44 {{ screenshot.description }} | |
45 </div> | |
26 | 46 </div> |
0 | 47 |
48 {% endfor %} | |
49 </ul> | |
50 {% endfor %} | |
51 </div> | |
26 | 52 <a name="screencasts"><h3>{% trans "Screencasts" %}</h3></a> |
0 | 53 {% for screencast in screencasts %} |
54 <div class="row"> | |
26 | 55 <div class="col-md-10 col-md-offset-1"> |
0 | 56 <div class="screencast"> |
57 <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none"> | |
2
0df46e87537d
i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
58 {% blocktrans with firefox="<a href=\"http://www.mozilla-europe.org/fr/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} |
0 | 59 </video> |
60 </div> | |
61 <div class="screencast_dest"> | |
62 {{ screencast.description }} | |
63 </div> | |
64 </div> | |
65 </div> | |
66 {% endfor %} | |
67 {% endblock %} |