Commit eb4efd7e authored by fred's avatar fred
Browse files

format nonstop playlist as a list (not a table)

parent 5f49a618
......@@ -1902,18 +1902,13 @@ body#embed span.fragment-title {
font-weight: normal;
}
table.playlist {
width: 90%;
}
table.playlist td {
padding: 0.5ex;
text-align: left;
}
table.playlist td.tracktime {
width: 6ex;
text-align: center;
ul.nonstop-playlist {
line-height: 130%;
list-style: none;
padding: 0;
.trackartist {
color: #666;
}
}
p.playlist-disclaimer {
......
......@@ -16,17 +16,17 @@
<h3>{% trans 'Playlist' %} - {{date|date:'l d F Y'|lower}}</h3>
</header>
<table class="playlist">
<ul class="nonstop-playlist">
{% for track in tracks %}
{% if track.filepath.track.title %}
<tr>
<td class="tracktime">{{track.play_timestamp|date:'H:i'}}</td>
<td class="tracktitle">{{track.filepath.track.title }}</td>
<td class="trackartist">{{track.filepath.track.artist.name }}</td>
</tr>
<li>
<span class="tracktime">{{track.play_timestamp|date:'H:i'}}</span> :
<span class="tracktitle">{{track.filepath.track.title }}</span>
<span class="trackartist">({{track.filepath.track.artist.name }})</span>
</li>
{% endif %}
{% endfor %}
</table>
</ul>
{% if not tracks|length %}
<p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment