]> git.parisson.com Git - telemeta.git/commitdiff
fix home players
authoryomguy <yomguy@parisson.com>
Wed, 1 Feb 2012 14:54:43 +0000 (15:54 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 1 Feb 2012 14:54:43 +0000 (15:54 +0100)
telemeta/templates/telemeta/home.html

index d82545c9369da76f177d8bf3980f05111138d588..5f5f40a24fd342a80ded219a79159ccff7e6871a 100644 (file)
 </div>
 
 {% if sound_pub_items %}
-<div style="margin-top: 1ex;">
+<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" />
     {% trans "Musical selection" %}</h1>
-<table style="font-size: 90%"><tr>
+</div>
 {% for item in sound_pub_items %}
-<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 />
-<iframe width='376' height='220' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ item.public_id }}/player/362x130/'></iframe></td>
+<div style="float: left; margin: 3px;" align="center"><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 />
+<iframe width='376' height='220' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ item.public_id }}/player/362x130/'></iframe></div>
 {% endfor %}
-</tr>
-</table>
 </div>
 {% endif %}