diff pylons_app/templates/errors/error_document.html @ 0:564e40829f80

initial commit.
author Marcin Kuzminski
date Thu, 18 Feb 2010 13:01:57 +0100
parents
children 923f0e6ab010
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pylons_app/templates/errors/error_document.html	Thu Feb 18 13:01:57 2010 +0100
@@ -0,0 +1,39 @@
+## -*- coding: utf-8 -*-
+<!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" xml:lang="en" lang="en" >
+
+<head>
+    <title>Error - ${c.error_message}</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+    <meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
+    <style type="text/css">
+     
+     body {
+       font-family: sans-serif;
+     }
+     #main_div{
+       border: 2px solid #8daed8;
+       width: 500px;
+       margin: auto;
+       text-align: center;
+       margin-top: 200px;
+     }
+     .error_message{
+        text-align: center;
+        color:red;
+     }
+    </style>
+</head>
+       
+<body>
+	<div id="main_div">
+		<h1 class="error_message">${c.error_message}</h1>
+		
+		<p>${c.error_explanation}</p>
+		<p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
+	</div>
+</body>
+</html>
+
+