diff options
author | Stefan Ritter <xeno@thehappy.de> | 2011-01-31 09:18:24 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2011-01-31 09:18:24 +0100 |
commit | c7ac70ff84e89a978d20361987a95c31fc03c071 (patch) | |
tree | 1de4b1609ff0191dc0e9fa4ffb6b38ca8e7c1a72 /blogthon.cgi | |
parent | b32a982b81bcd1f1d3c41414e84ed5cb505d15e8 (diff) |
Make error page more beautiful1.0rc3
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-x | blogthon.cgi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index bcb0db1..0aed854 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -39,10 +39,15 @@ def generate_uuid(string): def errorpage(string): document_header("xhtml-strict") - print "<head><title>Error!</title></head>" + print "<head>" + print tab + "<title>Error!</title>" + print tab + "<link rel=\"stylesheet\" type=\"text/css\" href=\"error.css\" />" + print "</head>" print "<body>" - print "<h1>Error!</h1><br /><br />" - print tab + string + print tab + "<div class=\"container\">" + print tab*2 + "<div class=\"title\"><h1>Error!</h1></div>" + print tab*2 + "<div class=\"text\"><h2>" + string + "</h2></div>" + print tab + "</div>" print "</body>" print "</html>" sys.exit() |