mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 12:19:27 +00:00
32 lines
833 B
HTML
32 lines
833 B
HTML
<%inherit file="base.html"/>
|
|
|
|
<%def name="body()">
|
|
<table class="display" id="artist_table">
|
|
<thead>
|
|
<tr>
|
|
<th id="name">Artist Name</th>
|
|
<th id="status">Status</th>
|
|
<th id="latestalbum">Latest Album</th>
|
|
<th id="have">Have</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
%for artist in artists:
|
|
<tr>
|
|
<td><a href="artistPage?ArtistID=${artist['ArtistID']}">${artist['ArtistName']}</a></td>
|
|
<td>${artist['Status']}</td>
|
|
<td><a href="albumPage?AlbumID=${artist['AlbumID']}">${artist['LatestAlbum']}</a></td>
|
|
<td>${artist['HaveTracks']}/${artist['TotalTracks']}</td>
|
|
</tr>
|
|
%endfor
|
|
</tbody>
|
|
</table>
|
|
</%def>
|
|
|
|
<%def name="headerIncludes()">
|
|
<link rel="stylesheet" href="css/data_table.css">
|
|
</%def>
|
|
|
|
<%def name="javascriptIncludes()">
|
|
<script src="js/libs/jquery.dataTables.min.js"></script>
|
|
</%def> |