Mercurial > sat_legacy_website
comparison templates/sat_website/gallery.html @ 84:d59bc45f83ca
there's a problem with replace_language_tag filter, don't use it for now, link directly to French video + use webm instead of ogv
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 15 Jun 2015 16:54:06 +0200 |
parents | 3d04a955bec4 |
children | 45770a652636 |
comparison
equal
deleted
inserted
replaced
83:3d04a955bec4 | 84:d59bc45f83ca |
---|---|
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|replace_language_tag }}" preload="none"> | 39 <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" 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|replace_language_tag }}" preload="none"> | 81 <video class="img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" 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 %} |