From a941346fdedb25d0ac4e47f0126fdbb3fbebd688 Mon Sep 17 00:00:00 2001 From: "Luiz F. Picolo" Date: Tue, 9 Jul 2024 17:30:43 -0400 Subject: [PATCH 1/3] Improve UI --- app/index.html | 105 ++++++++++++++++++++++--------------------- app/portable.py | 116 +++++++++++++++++++++++------------------------- 2 files changed, 110 insertions(+), 111 deletions(-) diff --git a/app/index.html b/app/index.html index d4da1e4..07444ee 100644 --- a/app/index.html +++ b/app/index.html @@ -1,73 +1,76 @@ + + 13ft Ladder - - - + -
-
-

- -

-
- - -
-
+
+

Enter Website Link

+ + + +
diff --git a/app/portable.py b/app/portable.py index a71454b..0ee2b5b 100644 --- a/app/portable.py +++ b/app/portable.py @@ -7,84 +7,80 @@ googlebot_headers = { "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" } html = """ + + 13ft Ladder - - - - - + - -
-
-

- -

-
- - -
-
+
+

Enter Website Link

+ + + +
""" From a3e2a5c89645ec9f332298556ce8454e70ce7039 Mon Sep 17 00:00:00 2001 From: "Luiz F. Picolo" Date: Mon, 5 Aug 2024 21:43:46 -0400 Subject: [PATCH 2/3] Fixed top position --- app/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.html b/app/index.html index 07444ee..099840b 100644 --- a/app/index.html +++ b/app/index.html @@ -15,7 +15,7 @@ display: flex; justify-content: center; align-items: center; - height: 100vh; + height: 90vh; } h1 { From 73b410fc3eb80085d0543a79255249c74717aff1 Mon Sep 17 00:00:00 2001 From: "Luiz F. Picolo" Date: Mon, 5 Aug 2024 21:45:54 -0400 Subject: [PATCH 3/3] Added restart and remove desnecessary version --- app/portable.py | 2 +- docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/portable.py b/app/portable.py index 0ee2b5b..5c9cc9a 100644 --- a/app/portable.py +++ b/app/portable.py @@ -24,7 +24,7 @@ html = """ display: flex; justify-content: center; align-items: center; - height: 100vh; + height: 90vh; } h1 { diff --git a/docker-compose.yaml b/docker-compose.yaml index 799a2a8..d5225c4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ -version: '3' services: 13ft: build: . #image: your-image-name:tag + restart: unless-stopped ports: - "5000:5000" \ No newline at end of file