mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 20:29:27 +00:00
52 lines
1.2 KiB
HTML
52 lines
1.2 KiB
HTML
<%inherit file="base.html" />
|
|
<%def name="body()">
|
|
<div class="table_wrapper">
|
|
<h1>Upcoming Albums</h1>
|
|
<table class="display" id="upcoming_table">
|
|
<thead>
|
|
<tr>
|
|
<th id="albumart"></th>
|
|
<th id="albumname">Album Name</th>
|
|
<th id="reldate">Release Date</th>
|
|
<th id="type">Release Type</th>
|
|
<th id="status">Status</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
%for album in upcoming:
|
|
<tr class="gradeZ">
|
|
<td id="albumart"><img src="http://ec1.images-amazon.com/images/P/${album['AlbumASIN']}.01.MZZZZZZZ.jpg" height="50" width="50"></td>
|
|
<td id="albumname"><a href="albumPage?AlbumID=${album['AlbumID']}">${album['AlbumTitle']}</a></td>
|
|
<td id="reldate">${album['ReleaseDate']}</td>
|
|
<td id="type"></td>
|
|
<td id="status"></td>
|
|
</tr>
|
|
%endfor
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
<div class="table_wrapper">
|
|
<h1>Wanted Albums</h1>
|
|
|
|
</div>
|
|
</%def>
|
|
|
|
<%def name="headIncludes()">
|
|
<link rel="stylesheet" href="css/data_table.css">
|
|
</%def>
|
|
|
|
<%def name="javascriptIncludes()">
|
|
<script src="js/libs/jquery.dataTables.min.js"></script>
|
|
<script>
|
|
$(document).ready(function()
|
|
{
|
|
$('#track_table').dataTable(
|
|
{
|
|
"bFilter": false,
|
|
"bInfo": false,
|
|
"bPaginate": false
|
|
});
|
|
});
|
|
</script>
|
|
</%def> |