]> git.parisson.com Git - telemeta.git/commitdiff
more static
authoryomguy <yomguy@parisson.com>
Mon, 17 Sep 2012 15:11:39 +0000 (17:11 +0200)
committeryomguy <yomguy@parisson.com>
Mon, 17 Sep 2012 15:11:39 +0000 (17:11 +0200)
telemeta/templates/telemeta/base.html
telemeta/templates/telemeta/home.html

index bb7e3b11dc9dcbf669a979bce4d4f396f1400c78..c5001dde797a2e30833bbd7e9714953f07ea1083 100644 (file)
@@ -61,7 +61,7 @@
 <a href="{% url telemeta-profile-detail user.username %}">{% trans "Profile" %}</a> |
 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> |
 <a href="{% url telemeta-logout %}">{% trans "Sign out" %}
-<img src="{% url telemeta-images "logout.png" %}" alt="logout" style="vertical-align:middle" /></a>
+<img src="{{ STATIC_URL }}telemeta/images/logout.png" alt="logout" style="vertical-align:middle" /></a>
 {% else %}
 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> |
 <a href="{% url telemeta-login %}">{% trans "Sign in" %}</a>
  <table width="100%">
   <tr>
    <td>
-    <a id="telemeta_powered" href="{% telemeta_url %}" target="_blank"><img src="{% url telemeta-images "logo_mini_2.png" %}"
+    <a id="telemeta_powered" href="{% telemeta_url %}" target="_blank"><img src="{{ STATIC_URL }}telemeta/images/logo_mini_2.png"
    alt="Telemeta Powered"/></a>
     <p class="left">
     {% trans "Powered by" %} <a href="{% telemeta_url %}" target="_blank"><strong>Telemeta {% telemeta_version %}</strong></a><br />
index 5f5f40a24fd342a80ded219a79159ccff7e6871a..e32a9d291c8c951059de56f454ce1889c0117504 100644 (file)
@@ -10,7 +10,7 @@
 
 {% if sound_pub_item %}
 <div id="module" class="module">
-    <h3><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlist" style="vertical-align:middle" />
+    <h3><img src="{{ STATIC_URL }}telemeta/images/module_playlist.png" alt="playlist" style="vertical-align:middle" />
     {% trans "Musical selection" %}</h3>
     <ul class="playlist">
     <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 />
 {% endif %}
 
 <div class="module">
-    <h3><img src="{% url telemeta-images "module_world.png" %}" alt="world" style="vertical-align:middle" />
+    <h3><img src="{{ STATIC_URL }}telemeta/images/module_world.png" alt="world" style="vertical-align:middle" />
     {% trans "Geo Navigator" %}</h3>
     <a class="image-link" href="{% url telemeta-geo-continents %}">
-    <img class="map-thumbnail" src="{% url telemeta-images "world2.png" %}" alt="{% trans "Open the geographic navigator" %}" style="width:398px" /></a>
+    <img class="map-thumbnail" src="{{ STATIC_URL }}telemeta/images/world2.png" alt="{% trans "Open the geographic navigator" %}" style="width:398px" /></a>
 </div>
 
 {% with "Last changes" as title %}
     <h3><img src="/images/module_playlist.png" style="vertical-align:middle" />
     Partenaires</h3><br />
     <div style="background-color: white; padding: 1ex;" align="center">
-    <a href="http://www.cnrs.fr"><img class="image-link" src="{% url telemeta-images "logo-CNRS.png" %}" alt="CNRS"></a>&nbsp;&nbsp;&nbsp;
-    <a href="http://www.culture.gouv.fr"><img class="image-link" src="{% url telemeta-images "logo_mcc_2.png" %}" alt="MCC"></a>&nbsp;&nbsp;
-    <a href="http://www.mnhn.fr"><img class="image-link" src="{% url telemeta-images "logo-mnhn.gif" %}" alt="MNHN"></a>
+    <a href="http://www.cnrs.fr"><img class="image-link" src="{{ STATIC_URL }}telemeta/images/logo-CNRS.png" alt="CNRS"></a>&nbsp;&nbsp;&nbsp;
+    <a href="http://www.culture.gouv.fr"><img class="image-link" src="{{ STATIC_URL }}telemeta/images/logo_mcc_2.png" alt="MCC"></a>&nbsp;&nbsp;
+    <a href="http://www.mnhn.fr"><img class="image-link" src="{{ STATIC_URL }}telemeta/images/logo-mnhn.gif" alt="MNHN"></a>
     <br /><br />
-    <a href="http://www.tge-adonis.fr"><img class="image-link" src="{% url telemeta-images "logo-adonis.jpg" %}" alt="TGE Adonis"></a>
+    <a href="http://www.tge-adonis.fr"><img class="image-link" src="{{ STATIC_URL }}telemeta/images/logo-adonis.jpg" alt="TGE Adonis"></a>
     </div>
 </div>
 
 </div>
 
 <div class="home-description">
-<img class="align-left" src="{% url telemeta-images "vox.png" %}" alt="vox" style="vertical-align:middle;" />
+<img class="align-left" src="{{ STATIC_URL }}telemeta/images/vox.png" alt="vox" style="vertical-align:middle;" />
 {{ page_content|render_flatpage }}
 </div>
 
 {% if sound_pub_items %}
 <div style="margin-top: 1ex;font-size: 90%; width: 66%;">
 <div>
-<h1><img src="{% url telemeta-images "playlist_title.png" %}" alt="playlists" style="vertical-align:middle" />
+<h1><img src="{{ STATIC_URL }}telemeta/images/playlist_title.png" alt="playlists" style="vertical-align:middle" />
     {% trans "Musical selection" %}</h1>
 </div>
 {% for item in sound_pub_itemsĀ %}