From 9e70ff6866e7ec2239dc5c17ff0c37791e4b3a2a Mon Sep 17 00:00:00 2001 From: b3yond Date: Sat, 17 Mar 2018 15:57:56 +0100 Subject: [PATCH] removed debug messages, small layout changes --- frontend/website.py | 5 ----- static/css/style.css | 1 + static/index.html | 18 +++++++++--------- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/frontend/website.py b/frontend/website.py index 443142e..5dfeb8c 100644 --- a/frontend/website.py +++ b/frontend/website.py @@ -116,8 +116,6 @@ def confirm_account(encoded_jwt): with open(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "blacklists", "nbg_blacklist"), "r") as f: default_blacklist = f.read() - print(default_goodlist) # debug - print(default_blacklist) # debug db.cur.execute("INSERT INTO trigger_bad(user_id, words) VALUES(?, ?);", (get_user_id(email), default_blacklist)) db.conn.commit() bottle.response.set_cookie("account", email, secret, path="/") @@ -132,7 +130,6 @@ def manage_bot(): :return: If it returns something, it just refreshes the page. """ email = bottle.request.get_cookie("account", secret=secret) - print(email) # debug if email is not None: user_id = get_user_id(email) # get Enable Status from db @@ -151,7 +148,6 @@ def manage_bot(): # Deliver goodlist with a Cookie print("setting goodlist cookies?") resp.set_cookie("goodlist", words, path="/settings") - print(words) # debug # Get blacklist from db db.cur.execute("SELECT words FROM trigger_bad WHERE user_id=?;", (user_id,)) @@ -159,7 +155,6 @@ def manage_bot(): # Deliver badlist with a Cookie print("setting blacklist cookies?") resp.set_cookie("blacklist", words, path="/settings") - print(words) # debug return resp else: diff --git a/static/css/style.css b/static/css/style.css index f7400fd..e143570 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -81,6 +81,7 @@ input[type=text], input[type=password] { .footer { padding: 2em; bottom: 0; + background-color: #fff; float: center; width: 540px; height: 30px; diff --git a/static/index.html b/static/index.html index 31391b4..cd448a4 100644 --- a/static/index.html +++ b/static/index.html @@ -20,14 +20,12 @@ - - Remember me - - - Forgot password? - + +
+ + Forgot password? @@ -58,6 +56,8 @@ software like Aldus PageMaker including versions of Lorem Ipsum.

+
+  

Our Mission

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature @@ -73,9 +73,9 @@ popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

-
- - +