Commit e05233e2 authored by Jon Yu's avatar Jon Yu
Browse files

Include custom error templates

parent 3e536c8a
{% extends 'base.html' %}
{% block title %}Bad Request{% endblock %}
{% block content %}
<div class="card">
<div class="card-body">
<h1 class="card-title">Bad Request</h1>
<p class="card-text">You entered an invalid request. Please try again.</p>
<p class="card-text">If you feel that you have received this in error, contact the <a href="http://its.umich.edu/help/" target="_blank">ITS Service Center for help.</a></p>
</div>
</div>
{% endblock %}
{% extends 'base.html' %}
{% block title %}Permission Denied{% endblock %}
{% block content %}
<div class="card">
<div class="card-body">
<h1 class="card-title">Permission Denied</h1>
<p class="card-text">You do not have access to visit this page.</p>
<p class="card-text">If you feel that you have received this in error, contact the <a href="http://its.umich.edu/help/" target="_blank">ITS Service Center for help.</a></p>
</div>
</div>
{% endblock %}
{% extends 'base.html' %}
{% block title %}Page Not Found{% endblock %}
{% block content %}
<div class="card">
<div class="card-body">
<h1 class="card-title">Page Not Found</h1>
<p class="card-text">We’re sorry, the page you were looking for can’t be located.</p>
<p class="card-text">
You may have typed the address incorrectly.
If you think this is the case, please try retyping the address and resubmitting the page.
If you have arrived at this page from a bookmark, the page may no longer be available on the web.
</p>
<p class="card-text">Need help still? Contact the <a href="http://its.umich.edu/help/" target="_blank">ITS Service Center.</a></p>
</div>
</div>
{% endblock %}
{% extends 'base.html' %}
{% block title %}Server Error{% endblock %}
{% block content %}
<div class="card">
<div class="card-body">
<h1 class="card-title">Server Error</h1>
<p class="card-text">Something went wrong</p>
<p class="card-text">If you feel that you have received this in error, contact the <a href="http://its.umich.edu/help/" target="_blank">ITS Service Center for help.</a></p>
</div>
</div>
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment