templates/taggr_dir.html
author terom
Thu, 31 Jan 2008 19:16:02 +0000
changeset 29 990300aa8010
parent 24 001f52cd057e
permissions -rw-r--r--
some small tweaks to log output
% if subdirs :
<ul>
%   for name, path in subdirs :
    <li>
        <a href="#" class="directory_link">${name}</a>
        <div id="${path}" style="display: none" >

        </div>
    </li>
%   endfor                    
</ul>
% endif

<div class="images">
% for i, (id, image, tags) in enumerate(images) :
    <img src="../${image}" onload="image_info(this, ${i}, ${id}, [${",".join(("'%s'" % tag for tag in tags))}])" class="image" id="img_${id}" />
% endfor
</div>