check / check (push) Waiting to run
Every action on the webhook pages, and signing out, redirects with a fixed notice code in the URL, and the page it lands on shows one line saying what was done. noticeFor maps codes to fixed text and an unknown code shows nothing, so nothing from the URL is echoed. One partial, templates/notice.html, shows the line under the navbar on every page; the error page shows none. Replay and resubmit use the same codes and partial in place of their own query parameters and event log banners. Model: opus-5-5
8 lines
189 B
HTML
8 lines
189 B
HTML
{{define "notice"}}
|
|
{{with .Notice}}
|
|
<div class="max-w-6xl mx-auto px-6 pt-4">
|
|
<div class="{{if .Failed}}alert-error{{else}}alert-success{{end}}">{{.Text}}</div>
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|