Add template for artists page.
[demoscenemusic.git] / src / main / resources / templates / artists
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>