Working through issue where prizes are incorrect and need updating.

This commit is contained in:
2025-03-29 15:42:14 +00:00
parent c0143df8c0
commit f8dab97a54
7 changed files with 136 additions and 17 deletions

View File

@@ -19,4 +19,11 @@
<button>Run All</button>
</form>
<form method="POST" action="/admin/triggers" class="mt-4">
{{ .CSRFField }}
<input type="hidden" name="action" value="refresh_prizes">
<button class="bg-indigo-500 text-white px-4 py-2 rounded hover:bg-indigo-600">
Refresh Ticket Prizes
</button>
</form>
{{ end }}

View File

@@ -6,15 +6,6 @@
<head>
<meta charset="UTF-8">
<title>SynLotto</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; }
table { border-collapse: collapse; width: 100%; margin-top: 20px; }
th, td { padding: 8px 12px; border: 1px solid #ddd; text-align: center; }
th { background-color: #f5f5f5; }
.form-section { margin-bottom: 20px; }
.topbar { margin-bottom: 20px; }
.flash { padding: 10px; color: green; background: #e9ffe9; border: 1px solid #c3e6c3; margin-bottom: 15px; }
</style>
</head>
<body>
<div class="topbar">