feat: Add panel page with daily quiz and update functionality
- Introduced a new panel page that includes a daily quiz based on the menu and tasks for the day. - Implemented functions to fetch and decrypt daily data, build quiz questions, and render the quiz interface. - Added a button to refresh the application, clearing the cache and updating the service worker. - Enhanced service worker to manage application version checks and handle CouchDB URL prefix. - Created a version.json file to manage application versioning.
This commit is contained in:
3
build.py
3
build.py
@@ -2,6 +2,7 @@ import json
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import time
|
||||
|
||||
def get_all_files(directory):
|
||||
files = []
|
||||
@@ -14,7 +15,7 @@ def get_all_files(directory):
|
||||
return files
|
||||
|
||||
PREFETCH = ""
|
||||
VERSIONCO = "2026-02"
|
||||
VERSIONCO = "2026-02-23_" + time.strftime("%Y%m%d%H%M%S")
|
||||
HANDLEPARSE = get_all_files("src")
|
||||
TITLE = os.environ.get("TELESEC_TITLE", "TeleSec")
|
||||
HOSTER = os.environ.get("TELESEC_HOSTER", "EuskadiTech")
|
||||
|
||||
Reference in New Issue
Block a user