fix(ui): Integrate webhooks panel into status panel
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
Licence Check / Licence compatibility and copyright header verification (push) Successful in 59s
CI / Security audit (push) Successful in 1m21s
CI / Tests & coverage (push) Successful in 1m35s

The webhooks panel was appearing separately from the status panel.
Now it's properly nested inside the status-panel div:

- Moved webhooks-section inside status-panel in HTML
- Updated CSS so nested webhooks looks like a subsection (no double borders)
- Simplified JS toggle logic - webhooks shows/hides automatically with status panel
- Admin users see webhooks inside status panel, collapsed by default
This commit is contained in:
2026-05-19 22:24:15 +01:00
parent 2469c3e3f4
commit e2757768c7
3 changed files with 19 additions and 9 deletions

View File

@@ -1528,6 +1528,16 @@ body {
overflow: hidden;
}
/* When nested inside status-panel, remove outer styling and look like a subsection */
.status-panel > .webhooks-section {
background: transparent;
border: none;
border-radius: 0;
box-shadow: none;
margin-bottom: 0;
border-top: 1px solid var(--border);
}
.webhooks-header {
padding: 16px 20px;
background: var(--surface-alt);