diff sat_website/templates/sat_website/media.html @ 149:b1c16cd53b62

update django to version 1.11, refactor project structure, better PEP-8 compliance
author souliane <souliane@mailoo.org>
date Tue, 17 Oct 2017 04:11:21 +0200
parents templates/sat_website/media.html@4b4a5d7602f8
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_website/templates/sat_website/media.html	Tue Oct 17 04:11:21 2017 +0200
@@ -0,0 +1,47 @@
+{% 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 %}
+{% block headline %}{% trans "Screenshots and videos" %}{% endblock %}
+{% block main_container %}
+
+<div class="row">
+    <h5 class="alert alert-success">
+        <a name="media"></a>{% trans "Basic usage" %}
+    </h5>
+    <div class="info">
+        {% trans "These media concern the basic utilisation SàT through graphical frontends like Libervia." %}
+        {% include "sat_website/gallery.html" with media=media name="media" %}
+    </div>
+</div>
+
+<div class="row">
+    <h5 class="alert alert-success">
+        <a name="media_tech"></a>{% trans "Advanced usage" %}
+    </h5>
+    <div class="info">
+        {% trans "These media concern the advanced utilisation and frontends of SàT, including administration tasks and experimental features." %}
+        {% include "sat_website/gallery.html" with media=media_tech name="media_tech" %}
+    </div>
+</div>
+
+{% endblock %}