summaryrefslogtreecommitdiff
path: root/templates/images.tmpl
blob: 1dcfc46fd1748923b65c2763f81bfeedb68dc34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#def title: images
#def header: images
#extends templates.base
#def head
<script type="text/javascript">
	function thumb_onerror(img) {
		var no_thumb = '${root}s/no-thumbnail.png';
		if(img.src != no_thumb)
			img.src = no_thumb;
	}
</script>
#end def
#def content
<p>You have $len($files) uploaded images totaling $total_size.</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