Skip to content

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.

2.2 KB
Raw Blame
// Jobs page — host-idiom table-with-search, the /servers–/domains
// pattern. Most weight is carried by shared primitives: .sk-dtable (DataTable),
// .sk-kpiband (KpiBand), .sk-seg (SegControl) and the global .search-box. This
// file only lays out the page shell, the command bar, the scheduled-jobs
// section, and the row cell tints (pagination is the shared DataTableFooter).

// The page shell (.page-container in Jobs.jsx) handles max-width + centering and
// .main-content supplies the outer padding — matching /cron and /domains — so
// this wrapper only owns the internal vertical rhythm.
.sk-jobs {
    .sk-kpiband-wrap { margin-bottom: $space-5; }
}

// ── Activity / Scheduled switch ─────────────────────────────────────────
// This used to be JOBS_TABS in a PageTopbar of its own. Jobs is a Monitoring
// group tab now, so the group's bar owns the tab row and the view switch moved
// in-page — a nav under a nav reads as two competing headers.
.sk-jobs__viewswitch {
    display: flex;
    margin-bottom: $space-4;
}

// ── Slim reset bar (search + filters live in the page top bar; shown only
//    while filtering) ────────────────────────────────────────────────────
.sk-jobs__resultbar {
    display: flex;
    align-items: center;
    margin-bottom: $space-3;
}

// ── Row cell tints ──────────────────────────────────────────────────────
.sk-jobs__kind { color: $text-secondary; }

.sk-jobs__owner {
    color: $text-tertiary;
    font-size: $text-xs;
}

.sk-jobs__when {
    color: $text-tertiary;
    white-space: nowrap;
}

.sk-jobs__error {
    margin-top: $space-1;
    font-size: $text-xs;
    color: $danger;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-jobs__actions-col { text-align: right; }

.sk-jobs__actions {
    display: flex;
    gap: $space-1;
    justify-content: flex-end;
    white-space: nowrap;
}