templates/taggr_dir.html
author terom
Mon, 17 Mar 2008 23:39:03 +0000
changeset 31 09776792a91c
parent 24 001f52cd057e
permissions -rw-r--r--
skip folders that result in exceptions, forgotten style.css
% 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>