This repository has been archived by the owner on Feb 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding 404 and 500 pages to Dragnet.
- Loading branch information
1 parent
8f2f41f
commit 588bc5c
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% block extrahead %} | ||
|
||
{{ js('detail_js') }} | ||
|
||
{% endblock %} | ||
|
||
{% block mainbody %} | ||
<div class="panel"> | ||
Sorry, but the page you requested could not be found. | ||
|
||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% extends 'base.html' %} | ||
|
||
{% block extrahead %} | ||
|
||
{{ js('detail_js') }} | ||
|
||
{% endblock %} | ||
|
||
{% block mainbody %} | ||
<div class="panel"> | ||
An error occurred. The error has been logged, and reported to our systems administrators. | ||
|
||
</div> | ||
{% endblock %} |
588bc5c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If anything errs in base.html this page will fail.
By the way, why does it need
detail_js
?