Lots of changes around viewing tickets from css perspective logic changes nwe handlers and service triggers... just lots of stuff...

This commit is contained in:
2025-03-28 10:05:54 +00:00
parent e13b375af7
commit 23e0208317
22 changed files with 410 additions and 148 deletions

View File

@@ -1,4 +1,16 @@
<form method="POST" action="/admin/match">
{{ .CSRFField }} <!-- Injected via template helper -->
<button>Run Matching</button>
</form>
{{ define "content" }}
<h2>Manual Admin Triggers</h2>
<p>This page lets you manually run backend processes like result matching.</p>
<form method="POST" action="/admin/triggers">
{{ .CSRFField }}
<button class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600">
Run Ticket Matching
</button>
</form>
{{ if .Flash }}
<p class="mt-4 text-green-600 font-medium">{{ .Flash }}</p>
{{ end }}
{{ end }}