From ede2d9c6946030cbf3cdf543100e0e28c207959c Mon Sep 17 00:00:00 2001 From: acenteno Date: Tue, 21 Apr 2020 16:25:55 -0500 Subject: Update base.html --- wqflask/wqflask/templates/base.html | 1 + 1 file changed, 1 insertion(+) 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 @@
  • Links
  • Environments
  • GN1 News
  • +
  • Tutorials/Primers
  • -- cgit v1.2.3 From 3f5c664e2857630923613675e189998fe5d98ba5 Mon Sep 17 00:00:00 2001 From: acenteno Date: Tue, 21 Apr 2020 17:12:24 -0500 Subject: Update views.py Add tutorials link under News--- wqflask/wqflask/views.py | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v1.2.3 From 2f9f7ac42700f39c547ab351899419d7b7f5fbc1 Mon Sep 17 00:00:00 2001 From: acenteno Date: Tue, 21 Apr 2020 17:23:20 -0500 Subject: Create tutorials.html Link to the actual power point presentation--- wqflask/wqflask/templates/tutorials.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 wqflask/wqflask/templates/tutorials.html 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 %} + + + + +
    +

    Tutorials/Primers

    + +

    +
    + +{% endblock %} -- cgit v1.2.3