aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-10 00:49:07 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-10 00:49:07 +0530
commite8c3a2e2a04488a23207076f7db14b267d25528c (patch)
treed9f5e7fe2f244b631d8a29510d4cfaa579181886
parent068517dc2366365afb145ef3a659b9738def8841 (diff)
added generic error form
-rw-r--r--app/templates/error.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/templates/error.html b/app/templates/error.html
new file mode 100644
index 0000000..3073037
--- /dev/null
+++ b/app/templates/error.html
@@ -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 %} \ No newline at end of file