changeset 12:1ae2f98f9675

update handler and add some stub templates
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 May 2010 22:40:33 -0700
parents fc55d95be553
children af87537031b0
files taginthemiddle/handlers.py taginthemiddle/templates/cloud.html taginthemiddle/templates/tags.html
diffstat 3 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/taginthemiddle/handlers.py	Wed May 05 22:37:42 2010 -0700
+++ b/taginthemiddle/handlers.py	Wed May 05 22:40:33 2010 -0700
@@ -148,17 +148,3 @@
         # redirect to original resource
         return exc.HTTPSeeOther(location=url)
 
-class Index(GenshiHandler):
-    template = 'index.html'
-    methods=set(['GET', 'POST'])
-
-    def __init__(self, app, request):
-        GenshiHandler.__init__(self, app, request)
-
-    def Get(self):
-        self.data['name'] = self.request.remote_user or self.app.name
-        return GenshiHandler.Get(self)
-
-    def Post(self):
-        self.app.name = self.request.POST.get('name', self.app.name)
-        self.redirect(self.link(self.handler_path))
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/taginthemiddle/templates/cloud.html	Wed May 05 22:40:33 2010 -0700
@@ -0,0 +1,7 @@
+<html>
+<head>
+<title>Tag Cloud</title>
+</head>
+<body>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/taginthemiddle/templates/tags.html	Wed May 05 22:40:33 2010 -0700
@@ -0,0 +1,7 @@
+<html>
+<head>
+<title>Tags</title>
+</head>
+<body>
+</body>
+</html>