templates/taggr_dir.html
author terom
Sun, 20 Jan 2008 01:07:02 +0000
changeset 24 001f52cd057e
parent 23 10841abbc01f
permissions -rw-r--r--
tagging/untagging should now work fully in taggr
% 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>