Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
SRCT
go
Commits
f6c6ad04
Verified
Commit
f6c6ad04
authored
Apr 25, 2017
by
David Haynes
🙆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update error pages to confirm to design pattern
- fa-exclaimation-triangle - copy paste Closes
#140
parent
a03241ee
Pipeline
#1318
passed with stages
in 2 minutes and 51 seconds
Changes
3
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
7 deletions
+51
-7
go/go/templates/403.html
go/go/templates/403.html
+17
-2
go/go/templates/404.html
go/go/templates/404.html
+17
-2
go/go/templates/500.html
go/go/templates/500.html
+17
-3
No files found.
go/go/templates/403.html
View file @
f6c6ad04
...
...
@@ -6,11 +6,26 @@
403 Error
•
Forbidden
{% endblock %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- define the content block for the page -->
{% block content %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- define the page header div -->
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h1>
<span
class=
"fa-stack fa-lg"
>
<i
class=
"fa fa-circle fa-stack-2x"
></i>
<i
class=
"fa fa-exclamation-triangle fa-stack-1x fa-inverse"
></i>
</span>
403 Error!
</h1>
</div>
</div>
</div>
<!-- div that contains the 404 page content -->
<div
class=
"row"
>
...
...
go/go/templates/404.html
View file @
f6c6ad04
...
...
@@ -6,11 +6,26 @@
404 Error
•
Page Not Found
{% endblock %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- define the content block for the page -->
{% block content %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- define the page header div -->
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h1>
<span
class=
"fa-stack fa-lg"
>
<i
class=
"fa fa-circle fa-stack-2x"
></i>
<i
class=
"fa fa-exclamation-triangle fa-stack-1x fa-inverse"
></i>
</span>
404 Error!
</h1>
</div>
</div>
</div>
<!-- div that contains the 404 page content -->
<div
class=
"row"
>
...
...
go/go/templates/500.html
View file @
f6c6ad04
...
...
@@ -6,12 +6,26 @@
500 Error
•
Internal Server Error
{% endblock %}
<!-- define the content block for the page -->
{% block content %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- define the content block for the page -->
{% block content %}
<!-- define the page header div -->
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h1>
<span
class=
"fa-stack fa-lg"
>
<i
class=
"fa fa-circle fa-stack-2x"
></i>
<i
class=
"fa fa-exclamation-triangle fa-stack-1x fa-inverse"
></i>
</span>
500 Error!
</h1>
</div>
</div>
</div>
<!-- div that contains the 500 page content -->
<div
class=
"row"
>
...
...
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