check / check (push) Waiting to run
The delete prompts on the webhook page were inline onsubmit handlers. Each delete form now carries its question in a data-confirm attribute, which one submit listener in static/js/app.js asks. The three style attributes became Tailwind classes, with tailwind.css regenerated, and the x-cloak rule moved to style.css. The policy now sends script-src 'self' and style-src 'self'. The browser test now answers a target's delete prompt no and then yes, and also loads the sign-in page, the webhook list, the settings and profile pages and the 404 error page under the policy. The README states the policy as sent. Model: opus-5-5
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
{{template "base" .}}
|
|
|
|
{{define "title"}}Settings - Webhooker{{end}}
|
|
|
|
{{define "content"}}
|
|
<div class="max-w-6xl mx-auto px-6 py-8">
|
|
<h1 class="text-2xl font-medium text-gray-900">Settings</h1>
|
|
<p class="text-sm text-gray-500 mt-1 mb-6">The configuration this server started with. It is set in the server's environment and cannot be changed here.</p>
|
|
|
|
<div class="card">
|
|
<div class="divide-y divide-gray-100">
|
|
{{range .Settings}}
|
|
<div class="p-4">
|
|
<!-- A value too wide to sit beside its name moves to the
|
|
next line, where a list breaks only at the spaces
|
|
between its entries. wrap-anywhere breaks inside a
|
|
value only when it alone is wider than the line. -->
|
|
<div class="flex flex-wrap justify-between items-start gap-4">
|
|
<code class="text-sm font-medium text-gray-900">{{.Name}}</code>
|
|
<code class="text-sm text-gray-900 wrap-anywhere">{{.Value}}</code>
|
|
</div>
|
|
<p class="text-sm text-gray-500 mt-1">{{.Description}}</p>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|