mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-05 19:29:32 +01:00
initial commit for the new interface. includes: html5 boilerplate with modernizr, datatables, base.html and index.html
This commit is contained in:
32
data/interfaces/default/index.html
Normal file
32
data/interfaces/default/index.html
Normal 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>
|
||||
Reference in New Issue
Block a user