-
Notifications
You must be signed in to change notification settings - Fork 2
/
404.html
73 lines (73 loc) · 2.7 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="windows-1251">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404 Not found</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style>
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background-color: #f5f5f5;
}
.container {
width: auto;
max-width: 680px;
padding: 0 15px;
}
.container .text-muted {
margin: 20px 0;
}
a .glyphicon{
padding-right: 3px;
}
</style>
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'ru';
</script>
</head>
<body role="document">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<div class="container">
<div class="page-header">
<h1>404 Not found</h1>
</div>
<p class="lead">Ñòðàíèöà íå íàéäåíà. Ïåðåõîä íà ãëàâíóþ ñòðàíèöó ñàéòà ïðîèçîéäåò ÷åðåç <span>10</span> ñåêóíä.</p></p>
<p>Íàæìèòå <a href="/" class="btn btn-info btn-xs"><span class="glyphicon glyphicon-refresh"></span>îáíîâèòü</a> åñëè ñòðàíèöà íå ïåðåãðóçèëàñü àâòîìàòè÷åñêè.</p>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted">Ïåðåéòè íà <a href="/"><span class="glyphicon glyphicon-home"></span>ãëàâíóþ</a> ñòðàíèöó èëè âîñïîëüçîâàòüñÿ <a href="/search/"><span class="glyphicon glyphicon-search"></span>ïîèñêîì</a>.</p>
</div>
</footer>
<script>
var countdown = $('.lead span'),timer;
function startCountdown() {
var startFrom = $('.lead span').text();
timer = setInterval(function() {
countdown.text(--startFrom);
if (startFrom <= 0) {
clearInterval(timer);
window.location.replace('/');
}
}, 1000);
}
$(document).ready(function() {
startCountdown();
});
</script>
</body>
</body>
</html>