view simplewiki/templates/index.html @ 3:56ab6b90cd1a

[mq]: post
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Sep 2010 21:29:57 -0700
parents 2464e2051b78
children
line wrap: on
line source

<!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>
<title>${directory}</title>
</head>
<body>
<ul>
  <li py:if="request.path_info != '/'"><a href="..">..</a></li>
  <li py:for="f in files"><a href="${f}">${f}</a></li>
</ul>
<form method="post" enctype="multipart/form-data">
<p>Upload a file:</p>
<input type="file" name="file"/>
<input type="submit"/>
</form>

</body>
</html>