refactor(webhooks): Integrate webhooks panel into status card
All checks were successful
All checks were successful
- Moved webhooks-section to be inline with status-panel in HTML - Updated toggleStatusPanel() to show/hide webhooks section for admin users - Updated closeStatusPanel() to also hide webhooks section - Removed webhooks visibility from showDashboard() - now tied to status panel - Updated CSS to make webhooks section styling consistent with status panel: - Same border, border-radius, margin, box-shadow - Updated webhook-stats to use status-card styling (background, border) - Webhooks metrics now display inline with status panel for admin users
This commit is contained in:
@@ -1520,9 +1520,11 @@ body {
|
||||
/* ===== Webhooks Configuration ===== */
|
||||
.webhooks-section {
|
||||
background: var(--surface);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 2px 8px var(--shadow);
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
padding: 0;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: 0 2px 4px var(--shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -1548,6 +1550,15 @@ body {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Webhooks metrics styling to match status cards */
|
||||
.webhook-stats {
|
||||
background: var(--background);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 14px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.webhooks-toggle {
|
||||
font-size: 1rem;
|
||||
color: var(--text-muted);
|
||||
@@ -1690,13 +1701,6 @@ body {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.webhook-stats {
|
||||
margin-top: 12px;
|
||||
padding: 12px;
|
||||
background: var(--surface-alt);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.webhook-stats-title {
|
||||
color: var(--text-muted);
|
||||
font-size: 0.7rem;
|
||||
|
||||
Reference in New Issue
Block a user