From: Gabriel Filion Date: Wed, 21 Jul 2010 02:45:36 +0000 (-0400) Subject: web: Make output follow html4 standard X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8be0d95980bda47142ec41f4252ec9563d49f2bc;p=packages%2Fb%2Fbup.git web: Make output follow html4 standard Add a doctype to specify which HTML version to use, in our case use the HTML4.01 transitional doctype. Close the second tag so that it doesn't appear as 3 columns. Add a charset definition in the head of the document. Signed-off-by: Gabriel Filion --- diff --git a/cmd/web-cmd.py b/cmd/web-cmd.py index 9b9b7f1..c4e019c 100755 --- a/cmd/web-cmd.py +++ b/cmd/web-cmd.py @@ -42,11 +42,12 @@ class BupRequestHandler(tornado.web.RequestHandler): self.set_header("Content-Type", "text/html") displaypath = cgi.escape(path) - self.write(""" + self.write(""" + Directory listing for %(displaypath)s -