From 3199c6ffee887c1dd21fbaecf9fdfe8c8a25a4cf Mon Sep 17 00:00:00 2001 From: Priyansh Date: Wed, 10 Nov 2021 00:52:06 -0500 Subject: Added Image graph from Flask --- dashboard/app.py | 5 +++-- dashboard/templates/index.html | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dashboard/app.py b/dashboard/app.py index f5c5ab4..9c7e23b 100644 --- a/dashboard/app.py +++ b/dashboard/app.py @@ -7,7 +7,8 @@ app = Flask(__name__) @app.route("/") @app.route("/index") def index(): - return render_template("index.html") + graph = 'https://humansofdata.atlan.com/wp-content/uploads/2016/11/Line-Graph.png' + return render_template("index.html", graph=graph) @app.route("/map") def map(): @@ -17,4 +18,4 @@ def map(): if __name__ == '__main__': - app.run(debug=True) \ No newline at end of file + app.run(debug=True) diff --git a/dashboard/templates/index.html b/dashboard/templates/index.html index e5568fe..a26ac3c 100644 --- a/dashboard/templates/index.html +++ b/dashboard/templates/index.html @@ -18,7 +18,7 @@
-
+
@@ -50,7 +50,9 @@
-
Row 3
+
+ +