diff options
author | Alexander_Kabui | 2024-09-20 11:49:49 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-20 11:49:49 +0300 |
commit | f7c9599ace5a4aa5783e70d54c743353533bee74 (patch) | |
tree | 9faac5ecc74b6005e04eb8e8463ce3af747be006 | |
parent | a71f641bd893825c3d71fe55d09f40075336a345 (diff) | |
download | genenetwork2-f7c9599ace5a4aa5783e70d54c743353533bee74.tar.gz |
Add error template for gn_docs.
-rw-r--r-- | gn2/wqflask/templates/gn_docs_errors.html | 15 |
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 %} |