Closes #630: Added a custom 404 page

This commit is contained in:
Jeremy Stretch
2016-10-24 13:53:58 -04:00
parent fc2ac8a02b
commit f44a322df5
3 changed files with 31 additions and 10 deletions

19
netbox/templates/404.html Normal file
View File

@@ -0,0 +1,19 @@
{% extends '_base.html' %}
{% block content %}
<div class="row" style="margin-top: 150px;">
<div class="col-sm-4 col-sm-offset-4">
<div class="panel panel-default">
<div class="panel-heading">
<strong><i class="glyphicon glyphicon-warning-sign"></i> Page Not Found</strong>
</div>
<div class="panel-body">
The requested page does not exist.
</div>
<div class="panel-footer text-right">
<a href="{% url 'home' %}" class="btn btn-xs btn-primary">Home Page</a>
</div>
</div>
</div>
</div>
{% endblock %}