source: telemeta/templates/telemeta_default/index.html @ 219387b

cremcrem2devdev2diademsdj1.6feature/breadcrumbsfeature/ts-0.5feature/ts-0.5.4feature/writecacheformagenericinstru_searchlamlam2mapsv3mergenlivemultiproductionrelease/1.4.4sabiodsecurityserversocialstoragetelecastertestvideo
Last change on this file since 219387b was 219387b, checked in by yomguy <yomguy@…>, 3 years ago

fix iframe height

  • Property mode set to 100644
File size: 3.0 KB
Line 
1{% extends "telemeta/base.html" %}
2{% load telemeta_utils %}
3{% load i18n %}
4
5{% block content %}
6<div class="home-content">
7<div id="module-set">
8
9{% block modules %}
10
11{% if sound_pub_item %}
12<div id="module" class="module">
13    <h3><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlist" style="vertical-align:middle" />
14    {% trans "Musical selection" %}</h3>
15    <ul class="playlist">
16    <li><a href="{% url telemeta-item-detail sound_pub_item.public_id %}"><b>{{ sound_pub_item }}</b></a>{% if sound_pub_item.alt_title %} ({{ sound_pub_item.alt_title }}){% endif %}<br /><span style="font-size: 90%">{{ sound_pub_item.location.fullnames|to_string }}</span><br />
17<iframe width='376' height='215' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/items/{{sound_pub_item.public_id }}/player/362x130/'></iframe>
18    </li>
19    </ul>
20</div>
21{% endif %}
22
23<div class="module">
24    <h3><img src="{% url telemeta-images "module_world.png" %}" alt="world" style="vertical-align:middle" />
25    {% trans "Geo Navigator" %}</h3>
26    <a class="image-link" href="{% url telemeta-geo-continents %}">
27    <img class="map-thumbnail" src="{% url telemeta-images "world2.png" %}" alt="{% trans "Open the geographic navigator" %}" style="width:398px" /></a>
28</div>
29
30{% include "telemeta/inc/module_revisions.html" %}
31
32{{ block.super }}
33<div id="module" class="module">
34    <h3><img src="/images/module_playlist.png" style="vertical-align:middle" />
35    Partenaires</h3><br />
36    <div style="background-color: white; padding: 1ex;" align="center">
37    <a href="http://www.cnrs.fr"><img class="image-link" src="{% url telemeta-images "logo-CNRS.png" %}" alt="CNRS"></a>&nbsp;&nbsp;&nbsp;
38    <a href="http://www.culture.gouv.fr"><img class="image-link" src="{% url telemeta-images "logo_mcc_2.png" %}" alt="MCC"></a>&nbsp;&nbsp;
39    <a href="http://www.mnhn.fr"><img class="image-link" src="{% url telemeta-images "logo-mnhn.gif" %}" alt="MNHN"></a>
40    <br /><br />
41    <a href="http://www.tge-adonis.fr"><img class="image-link" src="{% url telemeta-images "logo-adonis.jpg" %}" alt="TGE Adonis"></a>
42    </div>
43</div>
44
45{% endblock %}
46
47</div>
48
49<div class="home-description">
50<img class="align-left" src="{% url telemeta-images "vox.png" %}" alt="vox" style="vertical-align:middle;" />
51{{ page_content|render_flatpage }}
52</div>
53
54{% if sound_pub_items %}
55<div style="margin-top: 1ex;">
56<h1><img src="{% url telemeta-images "playlist_title.png" %}" alt="playlists" style="vertical-align:middle" />
57    {% trans "Musical selection" %}</h1>
58<table style="font-size: 90%"><tr>
59{% for item in sound_pub_items %}
60<td width="390"><a href="{% url telemeta-item-detail item.public_id %}">{{ item }}</a>{% if item.alt_title %} ({{ item.alt_title }}){% endif %}<br /><span style="font-size: 80%">{{ item.location.fullnames|to_string }}</span><br />
61<iframe width='376' height='220' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/items/{{item.public_id }}/player/362x130/'></iframe></td>
62{% endfor %}
63</tr>
64</table>
65</div>
66{% endif %}
67
68</div>
69{% endblock %}
Note: See TracBrowser for help on using the repository browser.