Extension

This commit is contained in:
SpaceNerd0717
2025-11-16 16:48:48 -05:00
parent 7c346caa5c
commit 2903d36234
2 changed files with 4 additions and 7 deletions

View File

@@ -259,8 +259,6 @@ def format_status_display(status):
except Exception:
return str(status or "")
# -------------------------
# Write Countdown HTML
# -------------------------
@@ -283,6 +281,7 @@ def write_countdown_html(mission_name, timer_text):
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1">
<style>
body {{
margin: 0;
@@ -297,11 +296,6 @@ body {{
#mission {{ font-size: {mission_px}px; margin-bottom: 0; }}
#timer {{ font-size: {timer_px}px; margin-bottom: 40px; }}
</style>
<script>
setTimeout(() => {{
location.href = location.href.split('?')[0] + '?t=' + Date.now();
}}, 1000);
</script>
</head>
<body>
{mission_div_hidden}