Skip to content

Commit

Permalink
Created a view and template for a server error
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeveloper72 committed May 2, 2019
1 parent 9194890 commit 103a9bc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Binary file added static/img/500error.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions templates/500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block title %}Server Error{% endblock %}

{% block content %}

<div class="container mt-5 text-center">
<div class="row">
<div class="col-sm-12">
<a href="{{ url_for('appointment') }}"><img class="img-fluid" src="{{ url_for('static', filename='images/500error.jpg')}}" alt="500 server error"></a>
</div>
<div class="col-sm-12 mt-3">
<p class="lost">It looks like there has been a server error...</p>
</div>

</div>
</div>


{% endblock content %}

0 comments on commit 103a9bc

Please sign in to comment.