Files
@ 25e01cb65282
Branch filter:
Location: kallithea/pylons_app/templates/errors/error_document.html - annotation
25e01cb65282
1.1 KiB
text/html
Added menu generation as function
564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 923f0e6ab010 923f0e6ab010 923f0e6ab010 923f0e6ab010 923f0e6ab010 923f0e6ab010 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 923f0e6ab010 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 923f0e6ab010 923f0e6ab010 923f0e6ab010 923f0e6ab010 564e40829f80 564e40829f80 564e40829f80 564e40829f80 564e40829f80 | ## -*- coding: utf-8 -*-
<!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" xml:lang="en" lang="en" >
<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}"/>
%endif
<style type="text/css">
body {
font-family: sans-serif;
}
#main_div{
border: 0px solid #000;
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>
%if c.redirect_time:
<p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
%endif
</div>
</body>
</html>
|