view montage/templates/strip.html @ 29:b61fe6b0ebe1

add anchors to strip.html
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 29 Dec 2011 23:20:12 -0800
parents ee74cf1e444b
children
line wrap: on
line source

<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <head>
    <xi:include href="head.html"/>
  </head>
  <body>
    <xi:include py:if="include" href="${include}"/>

    <center>
    <py:for each="index, image in enumerate(files)">
      <div class="image">
        <a name="${image['name']}"/>
        <a href="${image['link']}">
          <img src="${image['path']}" width="${width or None}" height="${height or None}"/>
        </a>
        <br/>
        ${image.get('title', image['description'])}
      </div>
      <hr width="${width}px" py:if="(index != len(files) - 1) and width"/>
    </py:for>
    </center>
  </body>
</html>