diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2012-12-16 14:59:49 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2012-12-16 14:59:49 +0100 |
commit | 9233792826076afbf9b03d80f7f263c3cf807f23 (patch) | |
tree | 50f1aaf269f060364c521dfc2254d4457bf871ed /templates/images.tmpl | |
parent | 7aa6f36e6df3fed026e7a802c79bd945bce9a8c4 (diff) |
Make image thumbnail tiles consistent in width.
Diffstat (limited to 'templates/images.tmpl')
-rw-r--r-- | templates/images.tmpl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/images.tmpl b/templates/images.tmpl index 1dcfc46..c284a1c 100644 --- a/templates/images.tmpl +++ b/templates/images.tmpl @@ -12,12 +12,13 @@ #end def #def content <p>You have $len($files) uploaded images totaling $total_size.</p> -<ul class="image-list"> +#if len($files) +<div class="image-list"> #for file in $files - <li>$file.image_html</li> + <div class="image">$file.image_html</div> #end for -#if not len($files) - <li><em>(No image uploads yet.)</em></li> +</div> +#else +<div><em>(No image uploads yet.)</em></div> #end if -</ul> #end def |