diff options
author | zsloan | 2020-02-12 12:49:35 -0600 |
---|---|---|
committer | zsloan | 2020-02-12 12:49:35 -0600 |
commit | 6cf9c888eb67e5b950afd41dc319168a7cfefb7a (patch) | |
tree | 3a24f17d17be28c93232ace9df02853ca816d719 /wqflask | |
parent | cbdab7d7dcf9b0d7d6efd5e72035b5242e0ee4cf (diff) | |
download | genenetwork2-6cf9c888eb67e5b950afd41dc319168a7cfefb7a.tar.gz |
Replaced the vandalized ckeditor pages with static html
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/views.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 00cdd1ab..b443286d 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -65,6 +65,8 @@ from utility.benchmark import Bench from pprint import pformat as pf +#from wqflask import user_login +#from wqflask import user_session from wqflask import user_manager from wqflask import collect @@ -270,8 +272,8 @@ def news(): @app.route("/references") def references(): doc = docs.Docs("references", request.args) - return render_template("docs.html", **doc.__dict__) - # return render_template("reference.html") + # return render_template("docs.html", **doc.__dict__) + return render_template("reference.html") @app.route("/intro") def intro(): @@ -281,7 +283,8 @@ def intro(): @app.route("/policies") def policies(): doc = docs.Docs("policies", request.args) - return render_template("docs.html", **doc.__dict__) + return render_template("policies.html") + # return render_template("docs.html", **doc.__dict__) @app.route("/links") def links(): @@ -292,7 +295,8 @@ def links(): @app.route("/environments") def environments(): doc = docs.Docs("environments", request.args) - return render_template("docs.html", **doc.__dict__) + # return render_template("docs.html", **doc.__dict__) + return render_template("environments.html", **doc.__dict__) @app.route("/update_text", methods=('POST',)) def update_page(): |