jumpserver/templates/error.html

52 lines
1.5 KiB
HTML
Raw Normal View History

2015-04-13 13:25:43 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jumpserver | 500 Error</title>
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="/static/css/animate.css" rel="stylesheet">
<link href="/static/css/style.css" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="middle-box text-center animated fadeInDown">
<h1>Error</h1>
2015-04-14 09:25:56 +00:00
<h3 class="font-bold text-danger">{{ message }}</h3>
<h3 id="jumpTo" class="font-bold text-info"></h3>
2015-04-13 13:25:43 +00:00
<div class="error-desc">
The server encountered something unexpected that didn't allow it to complete the request. We apologize.<br/>
2015-04-18 08:58:16 +00:00
You can go back to main page: <br/><a href="/" class="btn btn-primary m-t">棣栭〉</a>
2015-04-13 13:25:43 +00:00
</div>
</div>
<!-- Mainly scripts -->
<script src="/static/js/jquery-2.1.1.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
</body>
2015-04-14 09:25:56 +00:00
<script>
function countDown(secs,surl){
var jumpTo = document.getElementById('jumpTo');
jumpTo.innerHTML= secs + '绉' + '鍚庤繑鍥炰笂涓椤';
if(--secs>0){
setTimeout("countDown("+secs+",'"+surl+"')",1000);
}
else{
location.href=surl;
}
}
countDown(5,document.referrer);
</script>
2015-04-13 13:25:43 +00:00
</html>