diff simplewiki/templates/index.html @ 2:2464e2051b78

[mq]: index
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Sep 2010 21:00:46 -0700
parents d5102c881cb5
children 56ab6b90cd1a
line wrap: on
line diff
--- a/simplewiki/templates/index.html	Tue Sep 07 18:11:04 2010 -0700
+++ b/simplewiki/templates/index.html	Tue Sep 07 21:00:46 2010 -0700
@@ -5,18 +5,12 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude">
 <head>
-<title>Hello world</title>
-<script src="${link('jquery.js')}"></script>
-<script type="text/javascript">
-$(document).ready(function(){
-$(".text-input").click(function(){
-$(this).replaceWith('<form method="post"><input type="text" name="name" value="${name}"/><input type="submit" value="Go!"/></form>');
-});
-});
-</script>
+<title>${directory}</title>
 </head>
 <body>
-<xi:include href="navigation.html" />
-Hello <span class="text-input">${name}</span>!
+<ul>
+  <li py:if="request.path_info != '/'"><a href="..">..</a></li>
+  <li py:for="f in files"><a href="${f}">${f}</a></li>
+</ul>
 </body>
 </html>