]> git.pond.sub.org Git - eow/blob - static/dojo-release-1.1.1/dojox/dtl/demos/templates/gallery.html
add Dojo 1.1.1
[eow] / static / dojo-release-1.1.1 / dojox / dtl / demos / templates / gallery.html
1 {% load dojox.dtl.contrib.data %}
2 {% bind_data items to store as flickr %}
3 <div>
4         <input dojoAttachEvent="onkeypress: keyUp">
5         <table>
6                 <tr>
7                         {% for item in flickr %}<td><img src="{{ item.imageUrlThumb }}" dojoAttachEvent="onclick: selectThumbnail" class="{{ item.imageUrl }}" /></td>{% endfor %}
8                         <td width="100%"></td>
9                 </tr>
10                 <tr>
11                         <td colspan="{{ flickr|length|add:1 }}">
12                                 {% if selected %}<img src="{{ selected }}" />{% endif %}
13                         </td>
14                 </tr>
15         </table>
16 </div>