diff makeitso/templates/index.html @ 17:941c1f73c2b6

update template
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 16 Nov 2010 19:41:37 -0800
parents bf1ce840d0f0
children c46ec69d6253
line wrap: on
line diff
--- a/makeitso/templates/index.html	Mon Nov 15 18:28:10 2010 -0800
+++ b/makeitso/templates/index.html	Tue Nov 16 19:41:37 2010 -0800
@@ -1,22 +1,24 @@
-<!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">
+<html>
 <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>
 </head>
 <body>
-<xi:include href="navigation.html" />
-Hello <span class="text-input">${name}</span>!
+
+<form method="post">
+Type in some text
+<textarea name="content" rows="25" cols="80"></textarea>
+<input type="submit" value="Dissociate"/>
+</form>
+
+<form method="post" enctype="multipart/form-data">
+or upload a file
+<input type="file" name="content"/>
+<input type="submit" value="Dissociate"/>
+</form>
+
+<form method="post">
+or point to a URL
+<input type="text" name="content"/>
+<input type="submit" value="Dissociate"/>
+</form>
 </body>
 </html>