diff montage/templates/strip.html @ 2:4b8aa9b0a45b

montage actually does something now
author k0s <k0scist@gmail.com>
date Fri, 25 Dec 2009 03:59:26 -0500
parents
children 75a57e8f72d4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/montage/templates/strip.html	Fri Dec 25 03:59:26 2009 -0500
@@ -0,0 +1,18 @@
+<!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>
+  </head>
+  <body>
+    <py:for each="index, image in enumerate(files)">
+      <div>
+        <img src="${image['path']}" width="${width or None}" height="${height or None}"/><br/>
+        ${image['description']}
+      </div>
+      <hr py:if="index != len(files) - 1"/>
+    </py:for>
+  </body>
+</html>