error_document.html
53 lines
| 1.6 KiB
| text/html
|
HtmlLexer
r547 | ## -*- coding: utf-8 -*- | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||||
r1156 | <html xmlns="http://www.w3.org/1999/xhtml"> | |||
r547 | <head> | |||
<title>Error - ${c.error_message}</title> | ||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | ||||
%if c.redirect_time: | ||||
<meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/> | ||||
r1888 | %endif | |||
r1051 | <link rel="icon" href="${h.url("/images/hgicon.png")}" type="image/png" /> | |||
r547 | <meta name="robots" content="index, nofollow"/> | |||
r1888 | ||||
r547 | <!-- stylesheets --> | |||
r1050 | <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> | |||
r547 | <style type="text/css"> | |||
#main_div{ | ||||
border: 0px solid #000; | ||||
width: 500px; | ||||
margin: auto; | ||||
text-align: center; | ||||
margin-top: 200px; | ||||
r619 | font-size: 1.6em; | |||
r547 | } | |||
.error_message{ | ||||
text-align: center; | ||||
r619 | color:#003367; | |||
font-size: 1.6em; | ||||
margin:10px; | ||||
r547 | } | |||
</style> | ||||
r1888 | ||||
r547 | </head> | |||
<body> | ||||
<div id="login"> | ||||
r1888 | <div class="table"> | |||
r547 | <div id="main_div"> | |||
r986 | <div style="font-size:2.0em;margin: 10px">${c.rhodecode_name}</div> | |||
r547 | <h1 class="error_message">${c.error_message}</h1> | |||
r1888 | ||||
r547 | <p>${c.error_explanation}</p> | |||
r1888 | ||||
r547 | %if c.redirect_time: | |||
<p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p> | ||||
r1888 | %endif | |||
r547 | </div> | |||
</div> | ||||
<!-- end login --> | ||||
</div> | ||||
</body> | ||||
r1888 | ||||
r547 | </html> | |||