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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends "sat_website/category.html" %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
2
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% comment %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
4 SàT website: Salut à Toi's presentation website
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
5 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org)
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
6
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
7 This file is part of SàT website.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
8
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
9 SàT website is free software: you can redistribute it and/or modify
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
10 it under the terms of the GNU Affero General Public License as published by
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
11 the Free Software Foundation, either version 3 of the License, or
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
12 (at your option) any later version.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
13
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
14 Foobar is distributed in the hope that it will be useful,
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
17 GNU Affero General Public License for more details.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
18
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
19 You should have received a copy of the GNU Affero General Public License
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
21 {% endcomment %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
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
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
24 {% load staticfiles %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
25 {% load partition %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
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
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
28 {% block extra %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
29 <div class="btn-group">
26
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
30 <a class="btn btn-default btn-info" href="#screenshots">{% trans "screenshots" %}</a>
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
31 <a class="btn btn-default btn-primary" href="#screencasts">{% trans "screencasts" %}</a>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
32 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
33 {% endblock %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {% block main_container %}
26
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
35 <a name="screenshots"><h3>{% trans "Screenshots" %}</h3></a>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
36 <div class="row">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
37 {% for row in screenshots|columns:3 %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
38 {% for screenshot in row %}
26
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
39 <div class="col-md-4">
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
40 <a href="{% static screenshot.path %}" class="thumbnail">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
41 <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
42 </a>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
43 <div class="screenshot_desc">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
44 {{ screenshot.description }}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
45 </div>
26
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
46 </div>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
47
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
48 {% endfor %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
49 </ul>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
50 {% endfor %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
51 </div>
26
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
52 <a name="screencasts"><h3>{% trans "Screencasts" %}</h3></a>
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
53 {% for screencast in screencasts %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
54 <div class="row">
26
3df49721008c upgrade to Bootstrap v3.3.1
souliane <souliane@mailoo.org>
parents: 17
diff changeset
55 <div class="col-md-10 col-md-offset-1">
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
56 <div class="screencast">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
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
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
59 </video>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
60 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
61 <div class="screencast_dest">
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
62 {{ screencast.description }}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
63 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
64 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
65 </div>
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
66 {% endfor %}
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
67 {% endblock %}