diff --git a/main.py b/main.py index 495d7ff..8077087 100644 --- a/main.py +++ b/main.py @@ -5,6 +5,7 @@ import os import time import qrcode import shutil +import re starttime = 0 user_count = 0 @@ -209,6 +210,8 @@ def session(id): cur = con.cursor() l = f"SELECT eventzeit FROM planer WHERE sessionID = \'{id}\' ORDER BY eventzeit;" eventzeit = cur.execute(l).fetchall() + print (eventzeit) + #eventtime = re.split(',', eventzeit) con.commit() cur.close() diff --git a/static/css/style.css b/static/css/style.css index 4c6bb9c..03dc34d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -10,7 +10,7 @@ a { /* Set a style for all buttons */ button { background-color: #6d4087; - color: white; + color: rgb(29, 24, 24); padding: 14px 20px; margin: 8px 0; border: none; @@ -90,10 +90,11 @@ a { margin: 8px 0; padding: 12px 20px; display: inline-block; - border: 2px solid green; + border: 2px solid rgb(58, 58, 58); box-sizing: border-box; border-radius: 12px; - color: #839c87; + color: #050705; + background-color: rgb(142, 142, 143); } @@ -177,9 +178,12 @@ a { details[open] summary::marker { content: " "; - }table, th, td, caption { + } + table, th, td, caption { border: thick solid #33363d; border-collapse: collapse; } + + \ No newline at end of file diff --git a/static/js/game.js b/static/js/game.js index 9b913df..af729ed 100644 --- a/static/js/game.js +++ b/static/js/game.js @@ -37,4 +37,5 @@ stop.onclick = function() { reset.onclick = function() { h1.textContent = "00:00:00"; seconds = 0; minutes = 0; hours = 0; + sec = 0; min = 0; hrs = 0; } diff --git a/templates/login.html b/templates/login.html index 4d46f60..f04f55f 100644 --- a/templates/login.html +++ b/templates/login.html @@ -39,7 +39,7 @@
- +
@@ -60,7 +60,7 @@
- +