diff options
author | GN2 | 2020-04-21 17:47:16 -0500 |
---|---|---|
committer | GN2 | 2020-04-21 17:47:16 -0500 |
commit | 8267784b1c6e50d4c0ae9ddcb6741bcf5e018a38 (patch) | |
tree | 1885e02137f217b9d11ec9b773bb9dbf37ccb62c /wqflask | |
parent | 963542238760c789e6d4640429c755f8e13370e2 (diff) | |
parent | 7ed3c9486748fd00c1a767ed76c99fe599222ef2 (diff) | |
download | genenetwork2-8267784b1c6e50d4c0ae9ddcb6741bcf5e018a38.tar.gz |
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into HEAD
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/base.html | 1 | ||||
-rw-r--r-- | wqflask/wqflask/templates/tutorials.html | 17 | ||||
-rw-r--r-- | wqflask/wqflask/views.py | 6 |
3 files changed, 24 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index 2c95bf5e..46eee474 100644 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -58,6 +58,7 @@ <li><a href="/links">Links</a></li> <li><a href="/environments">Environments</a></li> <li><a href="/news">GN1 News</a></li> + <li><a href="/tutorials">Tutorials/Primers</a></li> </ul> </li> <li class=""> diff --git a/wqflask/wqflask/templates/tutorials.html b/wqflask/wqflask/templates/tutorials.html new file mode 100644 index 00000000..aa8e7d4e --- /dev/null +++ b/wqflask/wqflask/templates/tutorials.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block title %}Tutorials/Primers{% endblock %} +{% block content %} + +<Table width= "100%" cellSpacing=0 cellPadding=5><TR> +<!-- Body Start from Here --> +<TD valign="top" height="200" width="100%"> + <P class="title"><H2>Tutorials/Primers</H2></P> + <UL> + <LI><A HREF="http://www.nervenet.org/tutorials/HS_Rat_Using_GeneNetwork_21Apr2020v6.pptx">Statistical and genetic functions, +and initial mapping results for Rat GWAS P50 as implemented in GeneNetwork.org</A><P></P> + </UL> + <P></P> +</TD> +</TR></TABLE> + +{% endblock %} diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 923c89bd..76857650 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -299,6 +299,12 @@ def links(): #return render_template("docs.html", **doc.__dict__) return render_template("links.html") +@app.route("/tutorials") +def tutorials(): + #doc = docs.Docs("links", request.args) + #return render_template("docs.html", **doc.__dict__) + return render_template("tutorials.html") + @app.route("/environments") def environments(): doc = docs.Docs("environments", request.args) |