aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/dtl/demos/templates/gallery.html
blob: 7fe6d8c506bbe694350d3c992be563d5df7cc12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% load dojox.dtl.contrib.data %}
{% bind_data items to store as flickr %}
<div>
	<input dojoAttachEvent="onkeypress: keyUp">
	<table>
		<tr>
			{% for item in flickr %}<td><img src="{{ item.imageUrlThumb }}" dojoAttachEvent="onclick: selectThumbnail" class="{{ item.imageUrl }}" /></td>{% endfor %}
			<td width="100%"></td>
		</tr>
		<tr>
			<td colspan="{{ flickr|length|add:1 }}">
				{% if selected %}<img src="{{ selected }}" />{% endif %}
			</td>
		</tr>
	</table>
</div>