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