From f4a6d9417935a82032fd2875dafa1ded0cfa5330 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Thu, 9 Dec 2021 23:37:08 -0600 Subject: [PATCH 1/2] Replace Location Finder with LeafletJS --- templates/index.html | 63 ++++++++++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/templates/index.html b/templates/index.html index f3cc1d8..1b780da 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,9 +5,13 @@ - - - + + + @@ -16,9 +20,8 @@ MIX :: CS 240 From e90a24780964150d63ab5f9cdfd0dc04c29f126a Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Thu, 9 Dec 2021 23:38:12 -0600 Subject: [PATCH 2/2] Restore route --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 78be057..7ca049a 100644 --- a/app.py +++ b/app.py @@ -13,12 +13,12 @@ # Route for "/" (frontend): -@app.route('/kevin') +@app.route('/') def index(): return render_template("index.html") # Route for old (plain) frontend: -@app.route('/') +@app.route('/plain') def index_plain(): return render_template("index_plain.html")