File tree 3 files changed +21
-20
lines changed
3 files changed +21
-20
lines changed Original file line number Diff line number Diff line change @@ -809,20 +809,19 @@ __DATA__
809
809
<!doctype html><html>
810
810
<head><title>Server Error</title></head>
811
811
%= stylesheet begin
812
- a img { border: 0; }
813
- body {
814
- background-color: #caecf6;
815
- text-align: center;
816
- }
812
+ body { background-color: #caecf6; }
817
813
#raptor {
814
+ background: url(<%= url_for '/failraptor.png' %>);
815
+ height: 488px;
816
+ left: 50%;
817
+ margin-left: -371px;
818
818
margin-top: -244px;
819
- position: relative ;
819
+ position:absolute ;
820
820
top: 50%;
821
+ width: 743px;
821
822
}
822
823
% end
823
- <body>
824
- %= image '/failraptor.png', alt => 'Server error!', id => 'raptor'
825
- </body>
824
+ <body><div id="raptor"></div></body>
826
825
</html>
827
826
828
827
@@ exception.development.html.ep
@@ -1073,26 +1072,28 @@ __DATA__
1073
1072
<head><title>Page Not Found</title></head>
1074
1073
%= stylesheet begin
1075
1074
a img { border: 0; }
1076
- body {
1077
- background-color: #caecf6;
1078
- text-align: center;
1079
- }
1080
- #notfound {
1081
- margin-top: -31px;
1082
- position: relative;
1083
- top: 50%;
1084
- }
1075
+ body { background-color: #caecf6; }
1085
1076
#noraptor {
1086
1077
left: 0%;
1087
1078
position: fixed;
1088
1079
top: 60%;
1089
1080
}
1081
+ #notfound {
1082
+ background: url(<%= url_for '/mojolicious-notfound.png' %>);
1083
+ height: 62px;
1084
+ left: 50%;
1085
+ margin-left: -153px;
1086
+ margin-top: -31px;
1087
+ position:absolute;
1088
+ top: 50%;
1089
+ width: 306px;
1090
+ }
1090
1091
% end
1091
1092
<body>
1092
1093
%= link_to url_for->base => begin
1093
- %= image '/noraptor.png', alt => 'Raptor not found !', id => 'noraptor'
1094
+ %= image '/mojolicious- noraptor.png', alt => 'Bye !', id => 'noraptor'
1094
1095
% end
1095
- %= image '/notfound.png', alt => 'Page not found!', id => ' notfound'
1096
+ <div id=" notfound"></div>
1096
1097
</body>
1097
1098
</html>
1098
1099
<!-- a padding to disable MSIE and Chrome friendly error page -->
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments