diff options
author | zsloan | 2020-04-21 17:27:32 -0500 |
---|---|---|
committer | zsloan | 2020-04-21 17:27:32 -0500 |
commit | da86bc025e1f3547a5d2b1c4d4a7bae01c0e1f5c (patch) | |
tree | 41c06e57898ea2433e45268eee4ef7d46090729c | |
parent | eb1c0124ccdbdb9460017de6a57ae7b40b878a69 (diff) | |
parent | f2a3ae13231a7d270a5bb6911c248aa713f1ef91 (diff) | |
download | genenetwork2-da86bc025e1f3547a5d2b1c4d4a7bae01c0e1f5c.tar.gz |
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing
-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..1ac528a9 --- /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">Tutorials/Primers</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) |