##// END OF EJS Templates
small fixes for hg middleware, messages are now propagated only on push
small fixes for hg middleware, messages are now propagated only on push

File last commit:

r315:b0094576 default
r340:71f25781 default
Show More
error_document.html
46 lines | 1.1 KiB | text/html | HtmlLexer
Marcin Kuzminski
initial commit.
r0 ## -*- coding: utf-8 -*-
corrected error document to be same as base
r315 <!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" id="mainhtml">
Marcin Kuzminski
initial commit.
r0 <head>
corrected error document to be same as base
r315 <link rel="icon" href="/images/hgicon.png" type="image/png" />
Marcin Kuzminski
initial commit.
r0 <title>Error - ${c.error_message}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
Marcin Kuzminski
change error controller,...
r14
%if c.redirect_time:
<meta http-equiv="refresh" content="${c.redirect_time}; url=${c.url_redirect}"/>
%endif
Marcin Kuzminski
initial commit.
r0 <style type="text/css">
body {
font-family: sans-serif;
}
#main_div{
Marcin Kuzminski
change error controller,...
r14 border: 0px solid #000;
Marcin Kuzminski
initial commit.
r0 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>
Marcin Kuzminski
change error controller,...
r14 %if c.redirect_time:
<p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
%endif
Marcin Kuzminski
initial commit.
r0 </div>
</body>
</html>