Mercurial > sat_legacy_website
view templates/sat_website/screenshots.html @ 17:ab8a0f7bd15c
fixed screencasts link
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Feb 2013 21:12:28 +0100 |
parents | 0df46e87537d |
children | 3df49721008c |
line wrap: on
line source
{% extends "sat_website/category.html" %} {% comment %} SàT website: Salut à Toi's presentation website Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org) This file is part of SàT website. SàT website is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Foobar. If not, see <http://www.gnu.org/licenses/>. {% endcomment %} {% load i18n %} {% load staticfiles %} {% load partition %} {% block headline %}{% trans "Some screenshots..." %}{% endblock %} {% block extra %} <div class="btn-group"> <a class="btn btn-info" href="#screenshots">{% trans "screenshots" %}</a> <a class="btn btn-primary" href="#screencasts">{% trans "screencasts" %}</a> </div> {% endblock %} {% block main_container %} <a name="screenshots"><h2>{% trans "Screenshots" %}</h2></a> <div class="row"> {% for row in screenshots|columns:3 %} <ul class="thumbnails"> {% for screenshot in row %} <li class="span4"> <a href="{% static screenshot.path %}" class="thumbnail"> <img src="{% static screenshot.path %}" alt="{{ screenshot.description }}"> </a> <div class="screenshot_desc"> {{ screenshot.description }} </div> </li> {% endfor %} </ul> {% endfor %} </div> <a name="screencasts"><h2>{% trans "Screencasts" %}</h2></a> {% for screencast in screencasts %} <div class="row"> <div class="span10 offset1"> <div class="screencast"> <video width="640" height="400" poster="{% static screencast.poster %}" controls="controls" src="{% static screencast.path %}" preload="none"> {% 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 %} </video> </div> <div class="screencast_dest"> {{ screencast.description }} </div> </div> </div> {% endfor %} {% endblock %}