##// END OF EJS Templates
fixed edge case when connection to db fails and code reaches state of variable referenced before assignment
fixed edge case when connection to db fails and code reaches state of variable referenced before assignment

File last commit:

r3960:5293d4bb merge default
r4015:669721d1 default
Show More
error_document.html
64 lines | 2.0 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
better path extraction method....
r2490 <!DOCTYPE html>
removed obsolete id from <html>
r1156 <html xmlns="http://www.w3.org/1999/xhtml">
renamed project to rhodecode
r547 <head>
<title>Error - ${c.error_message}</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
better path extraction method....
r2490 <meta name="robots" content="index, nofollow"/>
fix favicon on error document page
r3955 <link rel="icon" href="${h.url('/images/favicon.ico')}" type="image/png" />
white space cleanup
r2673
better path extraction method....
r2490 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
Mads Kiilerich
html: don't use tabs
r3197 %if c.redirect_time:
<meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
%endif
White-space cleanup
r1888
renamed project to rhodecode
r547 <!-- stylesheets -->
removed obsolete _static flag from url, and fixed urls in webhelpers
r1050 <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" />
Mads Kiilerich
html: don't use tabs
r3197 <style type="text/css">
#main_div{
border: 0px solid #000;
width: 500px;
margin: auto;
text-align: center;
margin-top: 200px;
font-size: 1.6em;
}
.error_message{
text-align: center;
color:#003367;
font-size: 1.6em;
margin:10px;
}
</style>
White-space cleanup
r1888
renamed project to rhodecode
r547 </head>
<body>
missing changesets should return 404 not redirect + flash....
r3619 <div class="flash_msg">
<% messages = h.flash.pop_messages() %>
% if messages:
<ul id="flash-messages">
% for message in messages:
<li class="${message.category}_msg">${message}</li>
% endfor
</ul>
% endif
</div>
renamed project to rhodecode
r547 <div id="login">
White-space cleanup
r1888 <div class="table">
Mads Kiilerich
html: don't use tabs
r3197 <div id="main_div">
<div style="font-size:2.0em;margin: 10px">${c.rhodecode_name}</div>
<h1 class="error_message">${c.error_message}</h1>
White-space cleanup
r1888
Mads Kiilerich
html: don't use tabs
r3197 <p>${c.error_explanation}</p>
White-space cleanup
r1888
Mads Kiilerich
html: don't use tabs
r3197 %if c.redirect_time:
<p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
%endif
White-space cleanup
r1888
Mads Kiilerich
html: don't use tabs
r3197 </div>
renamed project to rhodecode
r547 </div>
<!-- end login -->
</div>
</body>
White-space cleanup
r1888
renamed project to rhodecode
r547 </html>