Merge pull request #35 from Fingadumbledore/game

Game
This commit is contained in:
Fingadumbledore 2022-12-10 16:21:52 +01:00 committed by GitHub
commit 37b873010f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 6 deletions

View File

@ -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()

View File

@ -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;
}

View File

@ -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;
}

View File

@ -39,7 +39,7 @@
<input type="text" placeholder="Enter Username" name="username" required>
</br>
<label>UserId : </label>
<input type="text" placeholder="Session Id" name="userID" required>
<input type="text" placeholder="UserID" name="userID" required>
</br>
<label>Session Id : </label>
<input type="text" placeholder="Session Id" name="sessionID" required>
@ -60,7 +60,7 @@
<input type="text" placeholder="Enter Username" name="username" required>
</br>
<label>UserId : </label>
<input type="text" placeholder="Session Id" name="userID" required>
<input type="text" placeholder="UserID" name="userID" required>
</br>
<label>Session Id : </label>
<input type="text" placeholder="Session Id" name="sessionID" required>