changeset 36 | 64a0168a6f50 |
parent 35 | 73aef1124b67 |
child 38 | 2e9fdb080ad6 |
35:73aef1124b67 | 36:64a0168a6f50 |
---|---|
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"> |
|
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}" /> |
|
17 % endfor |
|
18 </div> |
|
19 |