Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sfu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
sfu
Commits
bcc0e8da
Commit
bcc0e8da
authored
Sep 11, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfu: add 404 custom page
parent
df0bb231
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
0 deletions
+98
-0
static/404.css
static/404.css
+69
-0
static/404.html
static/404.html
+29
-0
No files found.
static/404.css
0 → 100644
View file @
bcc0e8da
body
{
margin
:
0
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
height
:
100vh
;
padding
:
0px
30px
;
background
:
#ddd
;
}
.wrapper
{
max-width
:
960px
;
width
:
100%
;
margin
:
30px
auto
;
transform
:
scale
(
0.8
);
}
.landing-page
{
max-width
:
960px
;
height
:
475px
;
margin
:
0
;
box-shadow
:
0px
0px
8px
1px
#ccc
;
background
:
#fafafa
;
border-radius
:
8px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
}
.logo
{
color
:
#7e7e7e
;
font-size
:
8em
;
text-align
:
center
;
line-height
:
1.1
;
}
.logo
.fa
{
color
:
#c39999
;
}
h1
{
font-size
:
48px
;
margin
:
0
;
color
:
#7e7e7e
;
}
p
{
font-size
:
18px
;
width
:
35%
;
margin
:
16px
auto
24px
;
text-align
:
center
;
}
.home-link
{
text-decoration
:
none
;
border-radius
:
8px
;
padding
:
12px
24px
;
font-size
:
18px
;
cursor
:
pointer
;
background
:
#610a86
;
color
:
#fff
;
border
:
none
;
box-shadow
:
0
4px
4px
0
#ccc
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
}
static/404.html
0 → 100644
View file @
bcc0e8da
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
Page not Found
</title>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"/common.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/404.css"
/>
<link
rel=
"author"
href=
"https://www.irif.fr/~jch/"
/>
<!-- Font Awesome File -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/font-awesome.min.css"
>
</head>
<body>
<div
class=
"wrapper"
>
<div
class=
"landing-page"
>
<div
class=
"logo"
>
<i
class=
"fa fa-frown-o"
aria-hidden=
"true"
></i>
</div>
<h1>
Page not found!
</h1>
<p>
We can't find the page you're looking for.
</p>
<a
href=
"/"
class=
"home-link"
>
Back to home
</a>
</div>
</div>
</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