From bc5fcc9da225e28462df14dc1f2843b15a51fd01 Mon Sep 17 00:00:00 2001 From: Hannes Klinckaert Date: Fri, 20 Sep 2019 16:42:59 +0200 Subject: [PATCH 1/2] made server available to other people on local network --- watcher/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/app.py b/watcher/app.py index adbd84e..5039683 100644 --- a/watcher/app.py +++ b/watcher/app.py @@ -49,4 +49,4 @@ def link_handoff(run, index): if __name__ == '__main__': - app.run(debug=True) + app.run(host="0.0.0.0",debug=True) From e0888acf59b2e13b099abb8877d61dc718c44a1e Mon Sep 17 00:00:00 2001 From: Hannes Klinckaert Date: Fri, 20 Sep 2019 16:44:16 +0200 Subject: [PATCH 2/2] worked on website --- watcher/static/index.css | 38 +++++++++++++++++++++++++++++++++ watcher/templates/index.html | 41 ++++++++++++++++++++++++++++++++---- 2 files changed, 75 insertions(+), 4 deletions(-) diff --git a/watcher/static/index.css b/watcher/static/index.css index 9fab7db..9d31921 100644 --- a/watcher/static/index.css +++ b/watcher/static/index.css @@ -1,3 +1,41 @@ +body { + overflow: hidden; + background: #b6b6b5; +} + h1 { color: blue; } + +.container { + display: flex; + flex-direction: row; + height: 100%; + padding: 10px; +} + +.card { + flex-grow: 1; + margin: 15px; + box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); + height: 95%; + overflow: auto; + background: #fff; + border-radius: 6px; + display: flex; + flex-direction: column; + background: #e2e1e0; + width: 30%; +} + +.item { + margin: 10px; + padding: 5px; + height: 5%; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + background: #fff; + display: flex; + align-items: center; + justify-content: space-between; +} diff --git a/watcher/templates/index.html b/watcher/templates/index.html index eada1a5..fb794d5 100644 --- a/watcher/templates/index.html +++ b/watcher/templates/index.html @@ -1,10 +1,43 @@ - + + + - + - +
+
+
+
+ 1 +
+
+ time +
+
+ +
+
+
+
hoi
+
hoi
+
hoi
+
hoi
+
hoi
+
+
+
hoi
+
+
+
hoi
+
+