jumpserver/webroot/AutoSa/templates/error.html

117 lines
2.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>错误页面</title>
<style type="text/css">
body{
font-family:"Hiragino Sans GB W3", "微软雅黑", "Helvetica Neue", Helvetica, Arial, "宋体", sans-serif;
color: #575757;
background: #444 url(/static/images/bg-login.gif)
}
.wrapper{
width: 760px;
height: 600px;
margin: 0 auto;
}
.line{
margin: 0 auto;
background: url("/static/images/new_line.png") no-repeat;
height: 1px;
margin-top: 50px;
}
.hammer{
background: url("/static/images/hammer.png") no-repeat;
width: 161px;
height: 164px;
margin: 0 auto;
margin-top: 80px;
}
a{
text-decoration: none;
color: #0084ff;
}
.nuts{
margin: 0 auto;
width: 38px;
height: 41px;
margin-top: 51px;
}
img{
border: 0;
}
.server_name{
margin-top: 14px;
}
</style>
<script language="javascript">
var i=2;
window.setInterval("settime()",1000);
window.setTimeout("toload()",5000);
function settime(){
var divinner=document.getElementById("settime");
divinner.innerText=i;
i--;
}
function toload(){
history.go(-1);
}
</script>
</head>
<body>
<div class="wrapper">
<div class="hammer"></div>
<div style="text-align:center;margin-top:50px;font-size:50px;color:red">
{% if er_message %}
<p class="error">错误:{{ er_message }}</p>
{% endif %}
</div>
<p style="text-align:center;margin-top:10px;font-size:20px;">五秒钟返回</p>
<div style="text-align:center;margin-top:20px;font-size:12px">
<a href="/login">登录</a>
<a href="/register">注册</a>
<a href="/">首页</a>
<div class="server_name">
<span>Email:</span><span>wangyong11@chinasoftinc.com</span>
</div>
</div>
<div class="line"></div>
<div class="nuts">
<a href="/">
<img src="/static/images/nut.png">
</a>
</div>
</div>
</body>
</html>