Cleaned up 500 error template

This commit is contained in:
Jeremy Stretch 2017-05-19 16:03:04 -04:00
parent e6b4d87939
commit 713c7cd8e3

View File

@ -1,37 +1,40 @@
{% load static from staticfiles %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Server Error</title> <title>Server Error</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="{% static 'bootstrap-3.3.7-dist/css/bootstrap.min.css' %}">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="{% static 'font-awesome-4.7.0/css/font-awesome.min.css' %}">
</head> </head>
<body> <body>
<div class="row"> <div class="container-fluid">
<div class="col-md-4 col-md-offset-4"> <div class="row">
<div class="panel panel-danger" style="margin-top: 200px"> <div class="col-md-4 col-md-offset-4">
<div class="panel-heading"> <div class="panel panel-danger" style="margin-top: 200px">
<strong> <div class="panel-heading">
<i class="fa fa-warning"></i> <strong>
Server Error <i class="fa fa-warning"></i>
</strong> Server Error
</div> </strong>
<div class="panel-body"> </div>
<p>There was a problem with your request. This error has been logged and administrative staff have <div class="panel-body">
been notified. Please return to the home page and try again.</p> <p>There was a problem with your request. This error has been logged and administrative staff have
<p>If you are responsible for this installation, please consider been notified. Please return to the home page and try again.</p>
<a href="https://github.com/digitalocean/netbox/issues">filing a bug report</a>. Additional <p>If you are responsible for this installation, please consider
information is provided below:</p> <a href="https://github.com/digitalocean/netbox/issues">filing a bug report</a>. Additional
<pre><strong>{{ exception }}</strong><br /> information is provided below:</p>
<pre><strong>{{ exception }}</strong><br />
{{ error }}</pre> {{ error }}</pre>
<div class="text-right"> <div class="text-right">
<a href="{% url 'home' %}" class="btn btn-primary">Home Page</a> <a href="{% url 'home' %}" class="btn btn-primary">Home Page</a>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</body> </body>
</html> </html>