initial commit for the new interface. includes: html5 boilerplate with modernizr, datatables, base.html and index.html

This commit is contained in:
Remy
2011-08-04 14:53:31 -07:00
parent 7ee5e78bf4
commit dc53c38f27
34 changed files with 9999 additions and 1513 deletions

View File

@@ -0,0 +1,32 @@
<%inherit file="base.html"/>
<%def name="body()">
<table class="display" id="artist_table">
<thead>
<tr>
<th>Artist Name</th>
<th>Status</th>
<th>Latest Album</th>
<th>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>