From ee41edd761f9652c65b2c0b0d51c00438c2c3746 Mon Sep 17 00:00:00 2001 From: benjamyn Date: Thu, 23 Jan 2020 03:18:24 +1100 Subject: [PATCH] made not garbage --- shop.py | 2 +- static/css/main.css | 2 +- templates/addForm.html | 16 +++++++++------- templates/auth.html | 2 +- templates/list.html | 4 ++-- templates/mobile.html | 2 +- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/shop.py b/shop.py index 7dc7f06..f5eefef 100644 --- a/shop.py +++ b/shop.py @@ -88,4 +88,4 @@ def handle_data(): if __name__ == '__main__': doesDBExist(DBNAME) - app.run() + app.run(host="0.0.0.0") diff --git a/static/css/main.css b/static/css/main.css index c89c51d..912347e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -6,4 +6,4 @@ aside { box-shadow: inset 5px 0 5px -5px #000000; font-style: italic; color: #000000; -} \ No newline at end of file +} diff --git a/templates/addForm.html b/templates/addForm.html index 88097bf..0f2eb9c 100644 --- a/templates/addForm.html +++ b/templates/addForm.html @@ -1,7 +1,9 @@ -
- Name:
-
- Item:
-

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

Name:

+
+

Item:

+

+ +
+
\ No newline at end of file diff --git a/templates/auth.html b/templates/auth.html index 93307b5..a0d40ee 100644 --- a/templates/auth.html +++ b/templates/auth.html @@ -5,7 +5,7 @@
- +
diff --git a/templates/list.html b/templates/list.html index 3ab6a88..3210669 100644 --- a/templates/list.html +++ b/templates/list.html @@ -12,12 +12,12 @@ {{x[4]}} {% if x[3] == 0 %} -
+
{% else %} yes {% endif %}
- +
diff --git a/templates/mobile.html b/templates/mobile.html index 1afd8ce..17d783a 100644 --- a/templates/mobile.html +++ b/templates/mobile.html @@ -1,7 +1,7 @@ {% include "header.html" %}

{{ data["title"] }}

-
+
{% include "addForm.html" %}