add: frontend
This commit is contained in:
@@ -45,7 +45,7 @@ def get_db_connection():
|
||||
def mainpage():
|
||||
conn = get_db_connection()
|
||||
cursor = conn.cursor()
|
||||
cursor.execute("SELECT name, time, noshutdown FROM items ORDER BY name")
|
||||
cursor.execute("SELECT name, time, noshutdown, last_connection FROM items ORDER BY name")
|
||||
items = cursor.fetchall()
|
||||
cursor.execute("SELECT default_time FROM val")
|
||||
default_time_row = cursor.fetchone()
|
||||
|
||||
Reference in New Issue
Block a user