From a3d1d44bb377b77d76476b0f57b34a5b601ae26a Mon Sep 17 00:00:00 2001 From: Maxime Bloch Date: Fri, 20 Sep 2019 14:27:07 +0200 Subject: [PATCH] make server and client --- app.py => watcher/app.py | 4 ++-- watcher/index.html | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) rename app.py => watcher/app.py (95%) create mode 100644 watcher/index.html diff --git a/app.py b/watcher/app.py similarity index 95% rename from app.py rename to watcher/app.py index 5cac297..18248eb 100644 --- a/app.py +++ b/watcher/app.py @@ -1,4 +1,4 @@ -from flask import Flask +from flask import Flask,render_template import datetime app = Flask(__name__) @@ -21,7 +21,7 @@ db = { @app.route("/") def index(): - return "Okay" + return render_template("index.html") @app.route("/start_run/") def start_run(run_index): diff --git a/watcher/index.html b/watcher/index.html new file mode 100644 index 0000000..aed39f5 --- /dev/null +++ b/watcher/index.html @@ -0,0 +1,7 @@ + + + + +

+ +