feat: improve webhook URL field UI
Made webhook URL a password field for security and added POST badge indicator. Changes: - Changed webhook URL input type from "url" to "password" - Added POST badge to indicate HTTP method used for webhook delivery - Improved layout with flex container for badge and input 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
556d93ecb8
commit
769d2eca35
1 changed files with 8 additions and 3 deletions
|
|
@ -23,9 +23,14 @@
|
||||||
<div class="w-48">
|
<div class="w-48">
|
||||||
<x-forms.checkbox canGate="update" :canResource="$settings" instantSave="instantSaveWebhookEnabled" id="webhookEnabled" label="Enabled" />
|
<x-forms.checkbox canGate="update" :canResource="$settings" instantSave="instantSaveWebhookEnabled" id="webhookEnabled" label="Enabled" />
|
||||||
</div>
|
</div>
|
||||||
<x-forms.input canGate="update" :canResource="$settings" type="url"
|
<div class="flex items-start gap-2">
|
||||||
helper="Enter a valid HTTP or HTTPS URL. Coolify will send POST requests to this endpoint when events occur."
|
<span class="px-2 py-1 text-xs font-mono font-semibold rounded bg-warning text-warning-content">POST</span>
|
||||||
required id="webhookUrl" label="Webhook URL" />
|
<div class="flex-1">
|
||||||
|
<x-forms.input canGate="update" :canResource="$settings" type="password"
|
||||||
|
helper="Enter a valid HTTP or HTTPS URL. Coolify will send POST requests to this endpoint when events occur."
|
||||||
|
required id="webhookUrl" label="Webhook URL" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<h2 class="mt-4">Notification Settings</h2>
|
<h2 class="mt-4">Notification Settings</h2>
|
||||||
<p class="mb-4">
|
<p class="mb-4">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue