annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 <!DOCTYPE html
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml"
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 xmlns:py="http://genshi.edgewall.org/"
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 xmlns:xi="http://www.w3.org/2001/XInclude">
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 <head>
2
2464e2051b78 [mq]: index
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
8 <title>${directory}</title>
0
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 </head>
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 <body>
2
2464e2051b78 [mq]: index
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
11 <ul>
2464e2051b78 [mq]: index
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
12 <li py:if="request.path_info != '/'"><a href="..">..</a></li>
2464e2051b78 [mq]: index
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
13 <li py:for="f in files"><a href="${f}">${f}</a></li>
2464e2051b78 [mq]: index
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
14 </ul>
3
56ab6b90cd1a [mq]: post
Jeff Hammel <jhammel@mozilla.com>
parents: 2
diff changeset
15 <form method="post" enctype="multipart/form-data">
56ab6b90cd1a [mq]: post
Jeff Hammel <jhammel@mozilla.com>
parents: 2
diff changeset
16 <p>Upload a file:</p>
56ab6b90cd1a [mq]: post
Jeff Hammel <jhammel@mozilla.com>
parents: 2
diff changeset
17 <input type="file" name="file"/>
56ab6b90cd1a [mq]: post
Jeff Hammel <jhammel@mozilla.com>
parents: 2
diff changeset
18 <input type="submit"/>
56ab6b90cd1a [mq]: post
Jeff Hammel <jhammel@mozilla.com>
parents: 2
diff changeset
19 </form>
56ab6b90cd1a [mq]: post
Jeff Hammel <jhammel@mozilla.com>
parents: 2
diff changeset
20
0
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 </body>
d5102c881cb5 initial commit
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 </html>