view simplewiki/templates/index.html @ 4:dd1c4916cbcd

[mq]: fileserver
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Sep 2010 22:39:15 -0700
parents 56ab6b90cd1a
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>