diff options
author | Alexander_Kabui | 2024-09-12 23:03:06 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-12 23:03:06 +0300 |
commit | 5c2664c56e13636f61a87f9ddb39aa55661310e4 (patch) | |
tree | f6a40e46a5b08d9340d7279f63935a5fa403ca9d | |
parent | b8d55b7830364d00f8f69ce1f0614f4a945e0fd8 (diff) | |
download | genenetwork2-5c2664c56e13636f61a87f9ddb39aa55661310e4.tar.gz |
Add a generic gn_docs template.
-rw-r--r-- | gn2/wqflask/templates/generic_gn_docs.html | 24 |
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 %} |