comparison 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
comparison
equal deleted inserted replaced
25:930e73ea9e8e 26:3df49721008c
25 {% load partition %} 25 {% load partition %}
26 26
27 {% block headline %}{% trans "Some screenshots..." %}{% endblock %} 27 {% block headline %}{% trans "Some screenshots..." %}{% endblock %}
28 {% block extra %} 28 {% block extra %}
29 <div class="btn-group"> 29 <div class="btn-group">
30 <a class="btn btn-info" href="#screenshots">{% trans "screenshots" %}</a> 30 <a class="btn btn-default btn-info" href="#screenshots">{% trans "screenshots" %}</a>
31 <a class="btn btn-primary" href="#screencasts">{% trans "screencasts" %}</a> 31 <a class="btn btn-default btn-primary" href="#screencasts">{% trans "screencasts" %}</a>
32 </div> 32 </div>
33 {% endblock %} 33 {% endblock %}
34 {% block main_container %} 34 {% block main_container %}
35 <a name="screenshots"><h2>{% trans "Screenshots" %}</h2></a> 35 <a name="screenshots"><h3>{% trans "Screenshots" %}</h3></a>
36 <div class="row"> 36 <div class="row">
37 {% for row in screenshots|columns:3 %} 37 {% for row in screenshots|columns:3 %}
38 <ul class="thumbnails">
39 {% for screenshot in row %} 38 {% for screenshot in row %}
40 <li class="span4"> 39 <div class="col-md-4">
41 <a href="{% static screenshot.path %}" class="thumbnail"> 40 <a href="{% static screenshot.path %}" class="thumbnail">
42 <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}"> 41 <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}">
43 </a> 42 </a>
44 <div class="screenshot_desc"> 43 <div class="screenshot_desc">
45 {{ screenshot.description }} 44 {{ screenshot.description }}
46 </div> 45 </div>
47 </li> 46 </div>
48 47
49 {% endfor %} 48 {% endfor %}
50 </ul> 49 </ul>
51 {% endfor %} 50 {% endfor %}
52 </div> 51 </div>
53 <a name="screencasts"><h2>{% trans "Screencasts" %}</h2></a> 52 <a name="screencasts"><h3>{% trans "Screencasts" %}</h3></a>
54 {% for screencast in screencasts %} 53 {% for screencast in screencasts %}
55 <div class="row"> 54 <div class="row">
56 <div class="span10 offset1"> 55 <div class="col-md-10 col-md-offset-1">
57 <div class="screencast"> 56 <div class="screencast">
58 <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none"> 57 <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none">
59 {% 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 %} 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 %}
60 </video> 59 </video>
61 </div> 60 </div>