diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/martini/templates/ini.html	Tue Dec 08 15:13:28 2009 -0500
@@ -0,0 +1,37 @@
+<!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/">
+<head>
+  <title>${request.path_info}</title>
+  <style type="text/css">
+    dd {
+    position: relative;
+    }
+
+    dt { 
+    float: left;
+    clear: left;
+    font-weight: bold;
+    margin-right: 0.5em;      
+    }    
+    
+    dl { 
+    position: relative;
+    } 
+
+  </style>
+</head>
+<body>
+  <div class="section" py:for="section in sorted(sections)">
+    <h1>[${section}]</h1>
+    <dl>
+      <py:for each="key, value in sorted(sections[section].items())">
+        <dt>${key}</dt> : 
+        <dd>${value}</dd>
+      </py:for>
+    </dl>
+  </div>
+</body>
+</html>