uploaded by works, and now you can view art on its own page.
[zzz-floof.git] / floof / templates / index.mako
index d3c64b9..e9abdfa 100644 (file)
@@ -1 +1,11 @@
 <%inherit file="base.mako" />
+
+<a href="${h.url_for(controller="art", action="new")}">Add New Art!</a>
+
+<ul class="artwork-grid">
+    % for artwork in c.artwork:
+    <li><a href="${h.url_for(controller="art", action="show", id=artwork.id)}">
+        <img width="180" src="${artwork.get_path()}">
+    </a></li>
+    % endfor
+</ul>