summaryrefslogtreecommitdiff
path: root/templates/images.tmpl
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-07-17 16:04:32 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-07-17 16:04:32 +0200
commitc9ba238cad3cbfe12e1c0be9e36e1526b759e055 (patch)
tree0300a3222eb5bb3151f4d453e294efb44b6c52f2 /templates/images.tmpl
parent53d795fabe64c670bd97c0c0ad929b5a9b3fcd3f (diff)
Added an image section with thumbnails of all uploaded image files.
Diffstat (limited to 'templates/images.tmpl')
-rw-r--r--templates/images.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/images.tmpl b/templates/images.tmpl
new file mode 100644
index 0000000..34c8e78
--- /dev/null
+++ b/templates/images.tmpl
@@ -0,0 +1,14 @@
+#def title: images
+#def header: images
+#extends templates.base
+#def content
+<p>Your uploaded images:</p>
+<ul class="image-list">
+#for file in $files
+ <li>$file.image_html</li>
+#end for
+#if not len($files)
+ <li><em>(No image uploads yet.)</em></li>
+#end if
+</ul>
+#end def