added generic error form

This commit is contained in:
Navan Chauhan 2020-09-10 00:49:07 +05:30
parent 068517dc23
commit e8c3a2e2a0
1 changed files with 17 additions and 0 deletions

17
app/templates/error.html Normal file
View File

@ -0,0 +1,17 @@
{% extends 'base.html' %}
{% block main %}
<h2>Oh Snap! An error occured</h2>
<p>Error Code: {{code}}</p>
<p>Error Description: {{description}}</p>
<section>
<style>
#puzzle{
height: 40vh;
}
</style>
<div id="puzzle"></div>
<script src="{{url_for('static',filename='js/missing_puzzle.js')}}"></script>
</section>
{% endblock %}