Add template for artists page.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 06:07:04 +0000 (08:07 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 06:07:04 +0000 (08:07 +0200)
src/main/resources/templates/artists [new file with mode: 0644]

diff --git a/src/main/resources/templates/artists b/src/main/resources/templates/artists
new file mode 100644 (file)
index 0000000..eac8373
--- /dev/null
@@ -0,0 +1,29 @@
+<html>
+
+<head>
+       <title>Artists - Demoscene Music</title>
+</head>
+
+<body>
+
+<div id="main">
+
+<h1>Browse Artists</h1>
+
+<%foreach artists artist>
+       <%first><ul><%/first>
+       <li><a href="artist?id=<% artist.id|html>"><% artist.name|html></a></li>
+       <%last></ul><%/last>
+<%foreachelse>
+       <p>There are no artists.</p>
+<%/foreach>
+
+</div>
+
+<div id="footer">
+© 2012 David ‘Bombe’ Roden
+</div>
+
+</body>
+
+</html>