aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-20 11:49:49 +0300
committerAlexander_Kabui2024-09-20 11:49:49 +0300
commitf7c9599ace5a4aa5783e70d54c743353533bee74 (patch)
tree9faac5ecc74b6005e04eb8e8463ce3af747be006 /gn2
parenta71f641bd893825c3d71fe55d09f40075336a345 (diff)
downloadgenenetwork2-f7c9599ace5a4aa5783e70d54c743353533bee74.tar.gz
Add error template for gn_docs.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/gn_docs_errors.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/gn_docs_errors.html b/gn2/wqflask/templates/gn_docs_errors.html
new file mode 100644
index 00000000..dc381e08
--- /dev/null
+++ b/gn2/wqflask/templates/gn_docs_errors.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+{% block title %}Gn docs Error Page{% endblock %}
+{% block css %}<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />{% endblock %}
+{% block content %}
+ <div id="markdown" class="container">
+ <h1>Error occurred:</h1>
+ <div>
+ <pre>
+ <span> <b>Error/Reason: </b><i><mark> {{ error_reason}} </mark></i></span>
+ <span> <b>Error/Message: </b><mark> {{ error_msg }} </mark></span>
+ <span> <b>Error/Status: </b><mark> {{error_status_code}} </mark></span>
+ </pre>
+ </div>
+ </div>
+{% endblock %}