From 422b2a111ca3902c9501cf9f4be390647dc417f7 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 29 Jul 2020 20:42:42 -0400 Subject: [PATCH] got buttons working on index. Starting working on css and page layout. Temporarily swithed back to dev server instead of waitress --- main.py | 4 ++-- static/style.css | 18 ++++++++++++++++++ templates/index.html | 25 +++++++++++++++++++++---- 3 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 static/style.css diff --git a/main.py b/main.py index 33526b8..7cf154b 100644 --- a/main.py +++ b/main.py @@ -231,5 +231,5 @@ def test(): return jsonify(mangaInfo) if __name__ == "__main__": - # app.run(host='0.0.0.0', debug=True) - serve(app, host='0.0.0.0', port=8000) \ No newline at end of file + app.run(host='0.0.0.0', debug=True) + #serve(app, host='0.0.0.0', port=8000) diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..1847971 --- /dev/null +++ b/static/style.css @@ -0,0 +1,18 @@ +.button { + background-color: #4CAF50; + border: none; + color: white; + text-align: center; + text-decoration: none; + font-size: 16px +} +body{ + background: white; +} +.wrapper{ + display: block; +} + +.main { + float:right +} diff --git a/templates/index.html b/templates/index.html index f2a18ac..ffa5288 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,10 +1,27 @@ - + + Title - - + +
+
+

Test

+
+
+ +
+ HIIIIIII +
+
+
- \ No newline at end of file +