author | terom |
Sun, 20 Jan 2008 01:07:02 +0000 | |
changeset 24 | 001f52cd057e |
parent 23 | 10841abbc01f |
permissions | -rw-r--r-- |
23 | 1 |
% if subdirs : |
2 |
<ul> |
|
3 |
% for name, path in subdirs : |
|
4 |
<li> |
|
5 |
<a href="#" class="directory_link">${name}</a> |
|
6 |
<div id="${path}" style="display: none" > |
|
7 |
||
8 |
</div> |
|
9 |
</li> |
|
10 |
% endfor |
|
11 |
</ul> |
|
12 |
% endif |
|
13 |
||
14 |
<div class="images"> |
|
24 | 15 |
% for i, (id, image, tags) in enumerate(images) : |
16 |
<img src="../${image}" onload="image_info(this, ${i}, ${id}, [${",".join(("'%s'" % tag for tag in tags))}])" class="image" id="img_${id}" /> |
|
23 | 17 |
% endfor |
18 |
</div> |
|
19 |