This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
404.html
67 lines (66 loc) · 5.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>We've got some trouble | 404 - Resource not found</title>
<!-- Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages -->
<style type="text/css">/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages */body,html{width:100%;height:100%;background-color:#21232a}body{color:#fff;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.5);padding:0;min-height:100%;-webkit-box-shadow:inset 0 0 100px rgba(0,0,0,.8);box-shadow:inset 0 0 100px rgba(0,0,0,.8);display:table;font-family:"Open Sans",Arial,sans-serif}h1{font-family:inherit;font-weight:500;line-height:1.1;color:inherit;font-size:36px}h1 small{font-size:68%;font-weight:400;line-height:1;color:#777}a{text-decoration:none;color:#fff;font-size:inherit;border-bottom:dotted 1px #707070}.lead{color:silver;font-size:21px;line-height:1.4}.cover{display:table-cell;vertical-align:middle;padding:0 20px}footer{position:fixed;width:100%;height:40px;left:0;bottom:0;color:#a0a0a0;font-size:14px}</style>
</head>
<body>
<script type="text/javascript">
var spec_url = 'http://ethon.consensys.net/EthOn_spec.html';
var pathname = window.location.pathname.split('/');
var currentVersion = 0;
if (pathname[1] == "") {
window.location.replace(spec_url);
}
else if (pathname[1] == currentVersion.toString()) {
window.location.replace(spec_url);
}
else if (pathname.length == 3 && pathname[1] == "ERC20") {
spec_url = 'http://ethon.consensys.net/ERC20/EthOn_ERC20_spec.html';
if (pathname[2] == "") {
window.location.replace(spec_url);
}
else if (pathname[1] == currentVersion.toString()) {
window.location.replace(spec_url);
}
else if (/^[A-Z]/.test(pathname[2])) {
window.location.replace(spec_url + '#class-' + pathname[2].toLowerCase());
}
else if (/^[a-z]/.test(pathname[2])){
window.location.replace(spec_url + '#prop-' + pathname[2].toLowerCase());
}
}
else if (pathname.length == 3 && pathname[1] == "Contracts") {
spec_url = 'http://ethon.consensys.net/Contracts/EthOn_Contracts_spec.html';
if (pathname[2] == "") {
window.location.replace(spec_url);
}
else if (pathname[1] == currentVersion.toString()) {
window.location.replace(spec_url);
}
else if (/^[A-Z]/.test(pathname[2])) {
window.location.replace(spec_url + '#class-' + pathname[2].toLowerCase());
}
else if (/^[a-z]/.test(pathname[2])){
window.location.replace(spec_url + '#prop-' + pathname[2].toLowerCase());
}
}
else if (pathname.length == 2 && /^[A-Z]/.test(pathname[1])) {
window.location.replace(spec_url + '#class-' + pathname[1].toLowerCase());
}
else if (pathname.length == 2 && /^[a-z]/.test(pathname[1])){
window.location.replace(spec_url + '#prop-' + pathname[1].toLowerCase());
}
</script>
<div class="cover">
<h1>Resource not found <small>Error 404</small></h1>
<p class="lead">The requested resource could not be found.</p>
</div>
<footer>
<p>Please see the <a href="http://ethon.consensys.net">EthOn Specification</a> for a list of available resources.</p>
</footer>
</body>
</html>