Mercurial > hg > montage
comparison montage/templates/strip.html @ 4:75b19560f517
make the hr only as big as the picture
author | k0s <k0scist@gmail.com> |
---|---|
date | Fri, 25 Dec 2009 04:21:30 -0500 |
parents | 75a57e8f72d4 |
children | d60a5ffbf4f4 |
comparison
equal
deleted
inserted
replaced
3:75a57e8f72d4 | 4:75b19560f517 |
---|---|
11 <py:for each="index, image in enumerate(files)"> | 11 <py:for each="index, image in enumerate(files)"> |
12 <div> | 12 <div> |
13 <img src="${image['path']}" width="${width or None}" height="${height or None}"/><br/> | 13 <img src="${image['path']}" width="${width or None}" height="${height or None}"/><br/> |
14 ${image.get('title', image['description'])} | 14 ${image.get('title', image['description'])} |
15 </div> | 15 </div> |
16 <hr py:if="index != len(files) - 1"/> | 16 <hr width="${width}px" py:if="index != len(files) - 1"/> |
17 </py:for> | 17 </py:for> |
18 </body> | 18 </body> |
19 </html> | 19 </html> |