##// END OF EJS Templates
corrected error document to be same as base
marcink -
r315:b0094576 default
parent child Browse files
Show More
@@ -1,47 +1,46 b''
1 1 ## -*- coding: utf-8 -*-
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
5
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
6 4 <head>
5 <link rel="icon" href="/images/hgicon.png" type="image/png" />
7 6 <title>Error - ${c.error_message}</title>
8 7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
9 8
10 9 %if c.redirect_time:
11 10 <meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
12 11 %endif
13 12
14 13
15 14 <style type="text/css">
16 15
17 16 body {
18 17 font-family: sans-serif;
19 18 }
20 19 #main_div{
21 20 border: 0px solid #000;
22 21 width: 500px;
23 22 margin: auto;
24 23 text-align: center;
25 24 margin-top: 200px;
26 25 }
27 26 .error_message{
28 27 text-align: center;
29 28 color:red;
30 29 }
31 30 </style>
32 31 </head>
33 32
34 33 <body>
35 34 <div id="main_div">
36 35 <h1 class="error_message">${c.error_message}</h1>
37 36
38 37 <p>${c.error_explanation}</p>
39 38 %if c.redirect_time:
40 39 <p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
41 40 %endif
42 41
43 42 </div>
44 43 </body>
45 44 </html>
46 45
47 46
General Comments 0
You need to be logged in to leave comments. Login now