Mercurial > hg > martINI
comparison martini/templates/ini.html @ 0:3c3522ce6e3a
initial import of martINI from https://svn.openplans.org/svn/standalone/martINI/
| author | k0s <k0scist@gmail.com> |
|---|---|
| date | Tue, 08 Dec 2009 15:13:28 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3c3522ce6e3a |
|---|---|
| 1 <!DOCTYPE html | |
| 2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
| 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| 4 <html xmlns="http://www.w3.org/1999/xhtml" | |
| 5 xmlns:py="http://genshi.edgewall.org/"> | |
| 6 <head> | |
| 7 <title>${request.path_info}</title> | |
| 8 <style type="text/css"> | |
| 9 dd { | |
| 10 position: relative; | |
| 11 } | |
| 12 | |
| 13 dt { | |
| 14 float: left; | |
| 15 clear: left; | |
| 16 font-weight: bold; | |
| 17 margin-right: 0.5em; | |
| 18 } | |
| 19 | |
| 20 dl { | |
| 21 position: relative; | |
| 22 } | |
| 23 | |
| 24 </style> | |
| 25 </head> | |
| 26 <body> | |
| 27 <div class="section" py:for="section in sorted(sections)"> | |
| 28 <h1>[${section}]</h1> | |
| 29 <dl> | |
| 30 <py:for each="key, value in sorted(sections[section].items())"> | |
| 31 <dt>${key}</dt> : | |
| 32 <dd>${value}</dd> | |
| 33 </py:for> | |
| 34 </dl> | |
| 35 </div> | |
| 36 </body> | |
| 37 </html> |
