Mercurial > sat_legacy_website
comparison templates/sat_website/gallery.html @ 83:3d04a955bec4
add membership campaign's video (for now ogv, will eventually change to webm)
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 15 Jun 2015 13:52:10 +0200 |
parents | 746e53efc188 |
children | d59bc45f83ca |
comparison
equal
deleted
inserted
replaced
82:ed78e205bec3 | 83:3d04a955bec4 |
---|---|
34 {% for row in screenshots|buffer:9 %} | 34 {% for row in screenshots|buffer:9 %} |
35 <div class="item{% if not forloop.counter0 %} active{% endif %}"> | 35 <div class="item{% if not forloop.counter0 %} active{% endif %}"> |
36 {% for screenshot in row %} | 36 {% for screenshot in row %} |
37 <div class="col-md-4"> | 37 <div class="col-md-4"> |
38 {% if screenshot.poster %} | 38 {% if screenshot.poster %} |
39 <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" preload="none"> | 39 <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path|replace_language_tag }}" preload="none"> |
40 {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} | 40 {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} |
41 </video> | 41 </video> |
42 {% else %} | 42 {% else %} |
43 <img index="{{ forloop.counter0 }}" class="thumbnail img-responsive" src="{% static screenshot.path %}"> | 43 <img index="{{ forloop.counter0 }}" class="thumbnail img-responsive" src="{% static screenshot.path %}"> |
44 {% endif %} | 44 {% endif %} |
76 {% endif %} | 76 {% endif %} |
77 <div class="carousel-inner" role="listbox"> | 77 <div class="carousel-inner" role="listbox"> |
78 {% for screenshot in screenshots %} | 78 {% for screenshot in screenshots %} |
79 <div class="item{% if not forloop.counter0 %} active{% endif %}"> | 79 <div class="item{% if not forloop.counter0 %} active{% endif %}"> |
80 {% if screenshot.poster %} | 80 {% if screenshot.poster %} |
81 <video class="img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" preload="none"> | 81 <video class="img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path|replace_language_tag }}" preload="none"> |
82 {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} | 82 {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} |
83 </video> | 83 </video> |
84 {% else %} | 84 {% else %} |
85 <img class="img-responsive" src="{% static screenshot.path %}"> | 85 <img class="img-responsive" src="{% static screenshot.path %}"> |
86 {% endif %} | 86 {% endif %} |