mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-13 00:07:21 +00:00
commit
37b873010f
3
main.py
3
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()
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user