ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
// ============================================
// EVENTS (telemetry stream) — Monitoring group tab
// ============================================
// Rewritten alongside the page. The old rules styled a bespoke KPI strip
// (.telemetry-stat), an inline collapsible filter panel (.telemetry-filters) and
// a hand-rolled drawer — all replaced by the shared DS primitives (KpiBand /
// MetricCard, topbar SearchField + FilterDrawer, DS Drawer, DataTable), so only
// what the DS does not already cover lives here.
.telemetry-page {
// Banner shown while the list is pinned to one correlation id.
.telemetry-trace {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-3;
flex-wrap: wrap;
margin: $space-4 0 $space-3;
padding: $space-3 $space-4;
border: 1px solid var(--border-soft);
border-left: 3px solid var(--violet);
border-radius: $radius-card;
background: var(--surface-2);
font-size: $text-sm;
color: var(--text-dim);
code {
font-family: var(--mono);
font-size: $text-xs;
color: var(--violet);
}
}
.telemetry-cell__message {
font-size: $text-sm;
font-weight: $font-weight-medium;
}
.telemetry-cell__meta {
display: flex;
align-items: center;
gap: $space-2;
flex-wrap: wrap;
margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
.telemetry-cell__source {
color: var(--accent-bright);
}
.telemetry-cell__badge {
display: inline-flex;
align-items: center;
height: 20px; // geometry: badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-badge;
border: 1px solid var(--border);
color: var(--text-dim);
}
.telemetry-cell__when {
font-size: $text-xs;
color: var(--text-faint);
white-space: nowrap;
}
.telemetry-cell__muted { color: var(--text-ghost); }
// Severity accent down the left edge of a row — the one visual the DataTable
// does not provide and the whole point of skimming an event log.
.sk-dtable .is-critical,
.sk-dtable .is-error { box-shadow: inset 3px 0 0 var(--red); } // geometry: draws the severity rule
.sk-dtable .is-warning { box-shadow: inset 3px 0 0 var(--amber); } // geometry: draws the severity rule
.sk-dtable .is-debug { opacity: 0.72; }
.telemetry-loading {
display: flex;
justify-content: center;
padding: $space-5 0;
}
}
// Event drawer body
.telemetry-detail {
display: flex;
flex-direction: column;
gap: $space-4;
&__heading {
margin: 0;
font-size: $text-xs;
color: var(--text-faint);
}
&__payload {
margin: 0;
max-height: 340px;
overflow: auto;
padding: $space-3;
border-radius: $radius-card;
border: 1px solid var(--border-soft);
background: var(--surface-2);
font-family: var(--mono);
font-size: $text-xs;
line-height: 1.55;
color: var(--text-dim);
}
code {
font-family: var(--mono);
font-size: $text-xs;
}
// Same definition rows the monitor surfaces use.
.mon-inforows {
margin: 0;
display: flex;
flex-direction: column;
> div {
display: flex;
align-items: center;
justify-content: space-between;
gap: $space-4;
padding: $space-2 0;
border-bottom: 1px solid var(--border-soft);
&:last-child { border-bottom: none; }
}
dt { font-size: $text-sm; color: var(--text-faint); }
dd {
margin: 0;
font-size: $text-sm;
color: var(--text-dim);
text-align: right;
word-break: break-word;
}
}
}