mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-02 17:59:28 +01:00
More styling on the index page - highlighting for paused artist
This commit is contained in:
@@ -26,7 +26,17 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
%for item in history:
|
||||
<tr>
|
||||
<%
|
||||
if item['Status'] == 'Processed':
|
||||
grade = 'A'
|
||||
elif item['Status'] == 'Snatched':
|
||||
grade = 'C'
|
||||
elif item['Status'] == 'Unprocessed':
|
||||
grade = 'X'
|
||||
else:
|
||||
grade = 'U'
|
||||
%>
|
||||
<tr class="grade${grade}">
|
||||
<td id="dateadded">${item['DateAdded']}</td>
|
||||
<td id="filename"><a href="${item['URL']}">${item['Title']}</a></td>
|
||||
<td id="size">${item['Size']}</td>
|
||||
|
||||
Reference in New Issue
Block a user