diff options
author | Alexander Kabui | 2024-09-16 15:27:12 +0300 |
---|---|---|
committer | GitHub | 2024-09-16 15:27:12 +0300 |
commit | 1ee4e945dbc3b0fd8788341667f2e39f776cc3c4 (patch) | |
tree | 314fa913381eca6cf40a02cec2500192e5e891e2 /gn2/wqflask/templates/generic_gn_docs.html | |
parent | e823d509b2e2485ab65b1e26a7d4c40042714c25 (diff) | |
parent | 304f3f35bfea61bdf9e6be2286b8f6e83b71edb6 (diff) | |
download | genenetwork2-1ee4e945dbc3b0fd8788341667f2e39f776cc3c4.tar.gz |
Merge pull request #869 from genenetwork/features/Integrate-editing-doc-files
Integrate gn editor for files.
Diffstat (limited to 'gn2/wqflask/templates/generic_gn_docs.html')
-rw-r--r-- | gn2/wqflask/templates/generic_gn_docs.html | 14 |
1 files changed, 14 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..57723f0b --- /dev/null +++ b/gn2/wqflask/templates/generic_gn_docs.html @@ -0,0 +1,14 @@ +{% 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 %} |