Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
fde96505
Commit
fde96505
authored
Dec 24, 2013
by
Jean Michel Rouly
Browse files
Added error pages.
parent
9a6ab6b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
go/templates/404.html
0 → 100644
View file @
fde96505
<!DOCTYPE html>
<html>
<title>
404
</title>
<style>
body
{
text-align
:
center
;
display
:
-webkit-box
;
display
:
-moz-box
;
display
:
-ms-flexbox
;
display
:
-webkit-flex
;
display
:
flex
;
height
:
100%
;
}
.container
{
margin
:
auto
;
}
h1
{
font-family
:
"Helvetica Neue"
,
"Helvetica"
,
sans-serif
;
margin-top
:
;
}
#squirrels
{
width
:
100%
;
}
#acorn
{
width
:
52px
;
position
:
fixed
;
bottom
:
10px
;
right
:
10px
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<h1>
404 Error - Page Not Found
</h1>
<img
id=
"squirrels"
src=
"/static/img/squirrels.png"
>
</div>
<a
href=
"/"
><img
id=
"acorn"
src=
"/static/img/acorn.png"
></a>
</body>
</html>
go/templates/500.html
0 → 100644
View file @
fde96505
<!DOCTYPE html>
<html>
<title>
500 Server Error
</title>
<style>
body
{
text-align
:
center
;
display
:
-webkit-box
;
display
:
-moz-box
;
display
:
-ms-flexbox
;
display
:
-webkit-flex
;
display
:
flex
;
height
:
100%
;
}
.container
{
margin
:
auto
;
}
h1
{
font-family
:
"Helvetica Neue"
,
"Helvetica"
,
sans-serif
;
margin-top
:
;
}
#squirrels
{
width
:
100%
;
}
#acorn
{
width
:
52px
;
position
:
fixed
;
bottom
:
10px
;
right
:
10px
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<h1>
500 Error - Internal Server Error
</h1>
<img
id=
"squirrels"
src=
"/static/img/squirrels.png"
>
</div>
<a
href=
"/"
><img
id=
"acorn"
src=
"/static/img/acorn.png"
></a>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment