templates/taggr_dir.html
author terom
Thu, 17 Jan 2008 01:56:04 +0000
changeset 23 10841abbc01f
child 24 001f52cd057e
permissions -rw-r--r--
taggr2, which is starting to shape up
23
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     1
% if subdirs :
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     2
<ul>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     3
%   for name, path in subdirs :
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     4
    <li>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     5
        <a href="#" class="directory_link">${name}</a>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     6
        <div id="${path}" style="display: none" >
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     7
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     8
        </div>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
     9
    </li>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    10
%   endfor                    
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    11
</ul>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    12
% endif
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    13
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    14
<div class="images">
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    15
% for key, image in images :
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    16
    <img src="../${image}" onload="image_loaded(this)" class="image" id="${key}" />
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    17
% endfor
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    18
</div>
10841abbc01f taggr2, which is starting to shape up
terom
parents:
diff changeset
    19