diff options
author | zsloan | 2024-07-01 19:40:07 +0000 |
---|---|---|
committer | zsloan | 2024-07-01 19:40:07 +0000 |
commit | 0ba243e6ed4af57c8638bfe8a81ec5551589d96a (patch) | |
tree | e2cc2c9828fe30ba920435e5517421eb8c65eba7 /gn2/wqflask/templates | |
parent | deb8d7241f1ca05865fababc2799ead9a684f8be (diff) | |
download | genenetwork2-0ba243e6ed4af57c8638bfe8a81ec5551589d96a.tar.gz |
Link to global search syntax document as markdown on github
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r-- | gn2/wqflask/templates/base.html | 2 | ||||
-rw-r--r-- | gn2/wqflask/templates/search-syntax.html | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 14b484a5..eb4e9e91 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -189,7 +189,7 @@ </span> --> <span style="padding: 5px;margin-left: 65px;" > - <a style="text-decoration: none" target="_blank" href="https://issues.genenetwork.org/topics/xapian/xapian-search-queries"> + <a style="text-decoration: none" target="_blank" href="/search-syntax"> <i style="text-align: center;color:#336699;;" class="fa fa-question-circle fa-2x" title="see more search hints" aria-hidden="true"></i> </a> </span> diff --git a/gn2/wqflask/templates/search-syntax.html b/gn2/wqflask/templates/search-syntax.html new file mode 100644 index 00000000..52538826 --- /dev/null +++ b/gn2/wqflask/templates/search-syntax.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}Global Search Syntax{% 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="https://github.com/genenetwork/gn-docs/blob/master/general/search/xapian_syntax.md"> + Edit Text + <img src="/static/images/edit.png"> + </a> + </div> +</div> +<div id="markdown" class="container"> + {{ rendered_markdown|safe }} + +</div> + +{% endblock %}
\ No newline at end of file |