add files
|
1 |
<!DOCTYPE html> |
2 |
<html> |
|
3 |
<head><title>Page not found</title></head> |
|
4 |
%= stylesheet begin |
|
5 |
a img { border: 0 } |
|
6 |
body { background-color: #caecf6 } |
|
7 |
#noraptor { |
|
8 |
left: 0%; |
|
9 |
position: fixed; |
|
10 |
top: 60%; |
|
11 |
} |
|
12 |
#notfound { |
|
13 |
background: url(<%= url_for '/mojo/notfound.png' %>); |
|
14 |
height: 62px; |
|
15 |
left: 50%; |
|
16 |
margin-left: -153px; |
|
17 |
margin-top: -31px; |
|
18 |
position:absolute; |
|
19 |
top: 50%; |
|
20 |
width: 306px; |
|
21 |
} |
|
22 |
% end |
|
23 |
<body> |
|
24 |
%= link_to url_for->base => begin |
|
25 |
%= image '/mojo/noraptor.png', alt => 'Bye!', id => 'noraptor' |
|
26 |
% end |
|
27 |
<div id="notfound"></div> |
|
28 |
</body> |
|
29 |
</html> |
|
30 |
<!-- a padding to disable MSIE and Chrome friendly error page --> |
|
31 |
<!-- a padding to disable MSIE and Chrome friendly error page --> |
|
32 |
<!-- a padding to disable MSIE and Chrome friendly error page --> |
|
33 |
<!-- a padding to disable MSIE and Chrome friendly error page --> |
|
34 |
<!-- a padding to disable MSIE and Chrome friendly error page --> |
|
35 |
<!-- a padding to disable MSIE and Chrome friendly error page --> |