-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
130 lines (115 loc) · 3.6 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
permalink: /404.html
---
<!doctype html>
<html lang="en">
<head>
<title>Error 404</title>
<!-- Basic Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="{{ site.url }}{{ site.baseurl }}/favicon.ico" type="image/x-icon">
<!-- Frameworks -->
<!-- Font Awsome-->
<link href="{{ site.url }}{{ site.baseurl }}/assets/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!--Bootstrap -->
<link href="{{ site.url }}{{ site.baseurl }}/assets/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<style>
/* Error Page Inline Styles */
.body {
padding-top: 20px;
}
/* Layout */
.jumbotron {
font-size: 21px;
font-weight: 200;
line-height: 2.1428571435;
color: inherit;
padding: 10px 0px;
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
.masthead,
.body-content,
{
padding-left: 15px;
padding-right: 15px;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
background-color: transparent;
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
}
/* Colors */
.green {
color: #5cb85c;
}
.orange {
color: #f0ad4e;
}
.red {
color: #d9534f;
}
</style>
<script type="text/javascript">
function loadDomain() {
var display = document.getElementById("display-domain");
display.innerHTML = document.domain;
}
</script>
</head>
<body onload="javascript:loadDomain();" class="body">
<!-- Error Page Content -->
<div class="container">
<!-- Jumbotron -->
<div class="jumbotron">
<h1>
<i class="fa fa-frown-o red"></i> 404 Not Found</h1>
<p class="lead">We couldn't find what you're looking for on
<em>
<span id="display-domain"></span>
</em>.</p>
<p>
<a onclick=javascript:checkSite(); class="btn btn-default btn-lg">
<span class="green">Take Me To The Homepage</span>
</a>
<script type="text/javascript">
function checkSite() {
var currentSite = window.location.hostname;
window.location = "https://" + currentSite;
}
</script>
</p>
</div>
</div>
<div class="container">
<div class="body-content">
<div class="row">
<div class="col-md-6">
<h2>What happened?</h2>
<p class="lead">A 404 error status implies that the file or page that you're looking for could not be found.</p>
</div>
<div class="col-md-6">
<h2>What can I do?</h2>
<p class="lead">If you're a site visitor</p>
<p>Please use your browser's back button and check that you're in the right place. If you need immediate assistance,
please send us an email instead.</p>
<p class="lead">If you're the site owner</p>
<p>Please check that you're in the right place and get in touch with your website provider if you believe this to
be an error.</p>
</div>
</div>
</div>
</div>
<!-- End Error Page Content -->
<!-- Loadidng JS -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="{{ site.url }}{{ site.baseurl }}/assets/lib/jquery/js/jquery.min.js"></script>
<!-- Bootstrap Javascript -->
<script src="{{ site.url }}{{ site.baseurl }}/assets/lib/bootstrap/js/bootstrap.min.js"></script>
</body>