aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/generic_gn_docs.html
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-12 23:03:06 +0300
committerAlexander_Kabui2024-09-12 23:03:06 +0300
commit5c2664c56e13636f61a87f9ddb39aa55661310e4 (patch)
treef6a40e46a5b08d9340d7279f63935a5fa403ca9d /gn2/wqflask/templates/generic_gn_docs.html
parentb8d55b7830364d00f8f69ce1f0614f4a945e0fd8 (diff)
downloadgenenetwork2-5c2664c56e13636f61a87f9ddb39aa55661310e4.tar.gz
Add a generic gn_docs template.
Diffstat (limited to 'gn2/wqflask/templates/generic_gn_docs.html')
-rw-r--r--gn2/wqflask/templates/generic_gn_docs.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/generic_gn_docs.html b/gn2/wqflask/templates/generic_gn_docs.html
new file mode 100644
index 00000000..2f591f38
--- /dev/null
+++ b/gn2/wqflask/templates/generic_gn_docs.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block title %} {{ file_title|capitalize }} {% endblock %}
+
+{% block css %}
+<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />
+{% endblock %}
+
+{% block content %}
+
+ <div class="github-btn-container">
+ <div class="github-btn">
+ <a href="/editor/edit?file-path={{ file_path }}">
+ Edit Text
+ <img src="/static/images/edit.png">
+ </a>
+ </div>
+</div>
+<div id="markdown" class="container">
+ {{ rendered_markdown|safe }}
+
+</div>
+
+{% endblock %}