Skip to content

Commit bde4713

Browse files
author
DKaramfilov
committed
Aded 404 Page
1 parent 0af3893 commit bde4713

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

40x.html

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Error 404</title>
7+
<link rel="shortcut icon" href="/devtools/document-processing/favicon.ico" />
8+
<style>
9+
html {
10+
font-family: Roboto, Helvetica, Arial, sans-serif;
11+
line-height: 1.5em;
12+
}
13+
14+
.content {
15+
max-width: 768px;
16+
padding-left: 200px;
17+
margin: 200px auto;
18+
position: relative;
19+
}
20+
21+
.ninja {
22+
position: absolute;
23+
left: 0;
24+
top: 0;
25+
}
26+
27+
h1 {
28+
margin: 0 0 40px;
29+
font: 600 60px/.9 Roboto, Helvetica, Arial, sans-serif;
30+
letter-spacing: -.03em;
31+
}
32+
33+
h2 {
34+
margin: 0 0 20px;
35+
font: 400 28px/1 Roboto, Helvetica, Arial, sans-serif;
36+
letter-spacing: -.035em;
37+
}
38+
39+
ul {
40+
padding: 0 0 0 1.3em;
41+
margin: 0;
42+
}
43+
44+
a,
45+
a:visited {
46+
color: #0487c4;
47+
text-decoration: none;
48+
transition: color .2s ease, opacity .2s ease;
49+
}
50+
51+
a:hover,
52+
a:focus {
53+
color: #036c9c;
54+
text-decoration: underline;
55+
}
56+
</style>
57+
</head>
58+
59+
<body>
60+
<div class="content">
61+
<img class="ninja" src="/devtools/document-processing/images/ninja-icon.png" />
62+
<h1>
63+
Oh, no!
64+
<br /> It seems we've lost this page
65+
</h1>
66+
<h2>
67+
Things you can try:
68+
</h2>
69+
<ul>
70+
<li>
71+
<a href="#" onclick="history.go(-1); return false;">Go back</a> and try another way</li>
72+
<li>Head to the
73+
<a href="/devtools/document-processing/">Documentation Homepage</a>
74+
</li>
75+
<li>Cheer up and
76+
<a href="http://www.telerik.com/download">try our products</a>. Some of them are free!</li>
77+
</ul>
78+
</div>
79+
</body>
80+
81+
</html>

images/ninja-icon.png

3.35 KB
Loading

web.config

+5
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@
126126
<remove fileExtension=".woff" />
127127
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
128128
</staticContent>
129+
<httpErrors errorMode="Custom" defaultResponseMode="File" >
130+
<remove statusCode="404" />
131+
<error statusCode="404" path="40x.html" />
132+
</httpErrors>
133+
129134
</system.webServer>
130135

131136
</configuration>

0 commit comments

Comments
 (0)