Core brand design system, page layout templates, avatar styles, sponsor token purchase flow, and status dashboard — all as living HTML/CSS design references for the team. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1261 lines
41 KiB
HTML
1261 lines
41 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Payfrit — Server Status Dashboard</title>
|
|
<style>
|
|
/* ─── Reset & Base ─────────────────────────────────────────── */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
:root {
|
|
/* Brand colors (from design system) */
|
|
--brand-teal: #00B8A9;
|
|
--brand-teal-dark: #008C82;
|
|
--brand-teal-light: #E0F7F5;
|
|
--brand-navy: #0A2540;
|
|
--brand-navy-mid: #1A3A5C;
|
|
--brand-green: #2ECC71;
|
|
--brand-green-bg: #E8FAF1;
|
|
--brand-amber: #F39C12;
|
|
--brand-amber-bg: #FEF9EC;
|
|
--brand-red: #E74C3C;
|
|
--brand-red-bg: #FDECEB;
|
|
--brand-blue: #3498DB;
|
|
--brand-blue-bg: #EAF4FC;
|
|
|
|
/* Neutrals */
|
|
--gray-50: #F8FAFB;
|
|
--gray-100: #F1F4F6;
|
|
--gray-200: #E2E8ED;
|
|
--gray-300: #CBD5DE;
|
|
--gray-400: #9BAAB8;
|
|
--gray-500: #6B7E90;
|
|
--gray-600: #4A5E70;
|
|
--gray-700: #344D60;
|
|
--gray-800: #1E3448;
|
|
--gray-900: #0D1E2C;
|
|
|
|
/* Spacing */
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-8: 32px;
|
|
--space-10: 40px;
|
|
--space-12: 48px;
|
|
|
|
/* Typography */
|
|
--font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
|
|
--font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
|
|
/* Radius */
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 16px;
|
|
--radius-xl: 20px;
|
|
--radius-full: 9999px;
|
|
|
|
/* Shadows */
|
|
--shadow-sm: 0 1px 3px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04);
|
|
--shadow-md: 0 4px 12px rgba(10,37,64,.08), 0 2px 4px rgba(10,37,64,.04);
|
|
--shadow-lg: 0 8px 24px rgba(10,37,64,.10), 0 4px 8px rgba(10,37,64,.06);
|
|
}
|
|
|
|
html { font-size: 16px; }
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
background: var(--gray-50);
|
|
color: var(--gray-800);
|
|
line-height: 1.5;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ─── Header ───────────────────────────────────────────────── */
|
|
.dashboard-header {
|
|
background: var(--brand-navy);
|
|
color: white;
|
|
padding: var(--space-5) var(--space-8);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-4);
|
|
border-bottom: 3px solid var(--brand-teal);
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.logo-mark {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: var(--brand-teal);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo-mark svg { width: 22px; height: 22px; }
|
|
|
|
.header-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header-title .product {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
color: var(--brand-teal);
|
|
line-height: 1;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.header-title h1 {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: white;
|
|
letter-spacing: -.01em;
|
|
}
|
|
|
|
.header-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-6);
|
|
}
|
|
|
|
.header-stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.header-stat .label {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: .1em;
|
|
text-transform: uppercase;
|
|
color: var(--gray-400);
|
|
line-height: 1;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.header-stat .value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: white;
|
|
}
|
|
|
|
.overall-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
background: rgba(46,204,113,.15);
|
|
border: 1.5px solid rgba(46,204,113,.4);
|
|
border-radius: var(--radius-full);
|
|
padding: 6px 14px;
|
|
}
|
|
|
|
.overall-pill .dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--brand-green);
|
|
box-shadow: 0 0 6px var(--brand-green);
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.overall-pill span {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--brand-green);
|
|
letter-spacing: .02em;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--brand-green); }
|
|
50% { opacity: .7; box-shadow: 0 0 12px var(--brand-green); }
|
|
}
|
|
|
|
/* ─── Layout ───────────────────────────────────────────────── */
|
|
.dashboard-body {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: var(--space-8) var(--space-6);
|
|
display: grid;
|
|
gap: var(--space-6);
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
color: var(--gray-400);
|
|
margin-bottom: var(--space-3);
|
|
}
|
|
|
|
/* ─── KPI Row ──────────────────────────────────────────────── */
|
|
.kpi-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.kpi-card {
|
|
background: white;
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-5) var(--space-5);
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.kpi-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 3px;
|
|
}
|
|
|
|
.kpi-card.status-ok::before { background: var(--brand-green); }
|
|
.kpi-card.status-warn::before { background: var(--brand-amber); }
|
|
.kpi-card.status-crit::before { background: var(--brand-red); }
|
|
.kpi-card.status-info::before { background: var(--brand-teal); }
|
|
|
|
.kpi-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: var(--space-1);
|
|
}
|
|
|
|
.kpi-icon.green { background: var(--brand-green-bg); color: #27AE60; }
|
|
.kpi-icon.teal { background: var(--brand-teal-light); color: var(--brand-teal-dark); }
|
|
.kpi-icon.amber { background: var(--brand-amber-bg); color: #D68910; }
|
|
.kpi-icon.blue { background: var(--brand-blue-bg); color: #2980B9; }
|
|
.kpi-icon.navy { background: #E8EEF5; color: var(--brand-navy-mid); }
|
|
|
|
.kpi-icon svg { width: 20px; height: 20px; }
|
|
|
|
.kpi-val {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
color: var(--gray-900);
|
|
letter-spacing: -.02em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.kpi-label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--gray-500);
|
|
}
|
|
|
|
.kpi-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-full);
|
|
padding: 2px 8px;
|
|
margin-top: var(--space-1);
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.badge-ok { background: var(--brand-green-bg); color: #27AE60; }
|
|
.badge-warn { background: var(--brand-amber-bg); color: #D68910; }
|
|
.badge-info { background: var(--brand-teal-light); color: var(--brand-teal-dark); }
|
|
|
|
/* ─── Two-column grid ──────────────────────────────────────── */
|
|
.two-col {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-6);
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.two-col { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* ─── Panel Card ───────────────────────────────────────────── */
|
|
.panel {
|
|
background: white;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--gray-200);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-header {
|
|
padding: var(--space-4) var(--space-6);
|
|
border-bottom: 1px solid var(--gray-100);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.panel-header h2 {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--gray-800);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.panel-header h2 svg { color: var(--brand-teal); }
|
|
|
|
.panel-body { padding: var(--space-5) var(--space-6); }
|
|
|
|
/* ─── Resource Bars ────────────────────────────────────────── */
|
|
.resource-list { display: flex; flex-direction: column; gap: var(--space-5); }
|
|
|
|
.resource-item {}
|
|
|
|
.resource-meta {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
.resource-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.resource-detail {
|
|
font-size: 12px;
|
|
color: var(--gray-400);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.resource-pct {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.bar-track {
|
|
height: 10px;
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-full);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bar-fill {
|
|
height: 100%;
|
|
border-radius: var(--radius-full);
|
|
transition: width .6s cubic-bezier(.4,0,.2,1);
|
|
}
|
|
|
|
.bar-fill.low { background: linear-gradient(90deg, var(--brand-teal), var(--brand-green)); }
|
|
.bar-fill.mid { background: linear-gradient(90deg, var(--brand-teal), var(--brand-amber)); }
|
|
.bar-fill.high { background: linear-gradient(90deg, var(--brand-amber), var(--brand-red)); }
|
|
|
|
/* ─── Service List ─────────────────────────────────────────── */
|
|
.service-list { display: flex; flex-direction: column; gap: 0; }
|
|
|
|
.service-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid var(--gray-100);
|
|
}
|
|
|
|
.service-row:last-child { border-bottom: none; }
|
|
|
|
.service-name {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--gray-700);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.service-desc {
|
|
font-size: 11px;
|
|
color: var(--gray-400);
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: .04em;
|
|
border-radius: var(--radius-full);
|
|
padding: 3px 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.status-pill .dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.pill-ok { background: var(--brand-green-bg); color: #27AE60; }
|
|
.pill-ok .dot { background: var(--brand-green); }
|
|
.pill-warn { background: var(--brand-amber-bg); color: #D68910; }
|
|
.pill-warn .dot { background: var(--brand-amber); }
|
|
.pill-off { background: var(--gray-100); color: var(--gray-500); }
|
|
.pill-off .dot { background: var(--gray-400); }
|
|
|
|
/* ─── Bot Grid ─────────────────────────────────────────────── */
|
|
.bots-section { width: 100%; }
|
|
|
|
.bot-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.bot-card {
|
|
background: white;
|
|
border: 1px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-4);
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
transition: box-shadow .15s, border-color .15s;
|
|
}
|
|
|
|
.bot-card:hover {
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--brand-teal);
|
|
}
|
|
|
|
.bot-avatar {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: white;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.bot-info { min-width: 0; }
|
|
|
|
.bot-name {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: var(--gray-800);
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.bot-status-text {
|
|
font-size: 11px;
|
|
color: var(--brand-green);
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.bot-status-text .dot {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--brand-green);
|
|
}
|
|
|
|
/* ─── Site Health ──────────────────────────────────────────── */
|
|
.site-health-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.site-card {
|
|
border: 1px solid var(--gray-200);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-4) var(--space-5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.site-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.site-url {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--gray-800);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.site-meta-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.site-metric {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.site-metric .m-label {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
.site-metric .m-value {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--gray-800);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.site-metric .m-value.fast { color: var(--brand-green); }
|
|
|
|
.timing-bar-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.timing-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.timing-label .t-name { color: var(--gray-500); font-weight: 500; }
|
|
.timing-label .t-val { color: var(--gray-700); font-weight: 700; font-family: var(--font-mono); }
|
|
|
|
.timing-track {
|
|
height: 6px;
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-full);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.timing-fill {
|
|
height: 100%;
|
|
border-radius: var(--radius-full);
|
|
background: linear-gradient(90deg, var(--brand-teal), var(--brand-green));
|
|
}
|
|
|
|
/* ─── Infra Details ────────────────────────────────────────── */
|
|
.infra-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.infra-table tr {
|
|
border-bottom: 1px solid var(--gray-100);
|
|
}
|
|
|
|
.infra-table tr:last-child { border-bottom: none; }
|
|
|
|
.infra-table td {
|
|
padding: 9px 0;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.infra-table td:first-child {
|
|
font-weight: 600;
|
|
color: var(--gray-500);
|
|
width: 45%;
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .06em;
|
|
padding-right: var(--space-3);
|
|
padding-top: 11px;
|
|
}
|
|
|
|
.infra-table td:last-child {
|
|
font-weight: 500;
|
|
color: var(--gray-800);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.infra-tag {
|
|
display: inline-block;
|
|
background: var(--gray-100);
|
|
border-radius: var(--radius-sm);
|
|
padding: 2px 8px;
|
|
margin: 2px 2px 2px 0;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--gray-600);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* ─── Software Stack ───────────────────────────────────────── */
|
|
.software-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.software-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
background: var(--gray-50);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--gray-100);
|
|
}
|
|
|
|
.sw-name {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--gray-700);
|
|
}
|
|
|
|
.sw-version {
|
|
font-size: 11px;
|
|
font-family: var(--font-mono);
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
/* ─── Footer ───────────────────────────────────────────────── */
|
|
.dashboard-footer {
|
|
background: var(--brand-navy);
|
|
color: var(--gray-400);
|
|
padding: var(--space-5) var(--space-8);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-3);
|
|
font-size: 12px;
|
|
margin-top: var(--space-4);
|
|
}
|
|
|
|
.footer-sources { display: flex; gap: var(--space-4); }
|
|
|
|
.footer-src-tag {
|
|
background: rgba(255,255,255,.07);
|
|
border-radius: var(--radius-sm);
|
|
padding: 3px 10px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* ─── Responsive ───────────────────────────────────────────── */
|
|
@media (max-width: 600px) {
|
|
.dashboard-header { padding: var(--space-4); }
|
|
.dashboard-body { padding: var(--space-4); }
|
|
.kpi-row { grid-template-columns: 1fr 1fr; }
|
|
.header-meta { gap: var(--space-3); }
|
|
.bot-grid { grid-template-columns: 1fr 1fr; }
|
|
.software-grid { grid-template-columns: 1fr; }
|
|
.site-meta-grid { grid-template-columns: 1fr; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- ═══════════════════════════════════════════════════════════════
|
|
HEADER
|
|
════════════════════════════════════════════════════════════════ -->
|
|
<header class="dashboard-header">
|
|
<div class="header-left">
|
|
<div class="logo-mark">
|
|
<!-- Payfrit P icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M6 4h8a4 4 0 0 1 0 8H6V4Z" fill="white"/>
|
|
<path d="M6 12h5v8H6v-8Z" fill="rgba(255,255,255,.55)"/>
|
|
</svg>
|
|
</div>
|
|
<div class="header-title">
|
|
<span class="product">Payfrit</span>
|
|
<h1>Server Status Dashboard</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header-meta">
|
|
<div class="header-stat">
|
|
<span class="label">Server</span>
|
|
<span class="value">69.48.207.164</span>
|
|
</div>
|
|
<div class="header-stat">
|
|
<span class="label">Generated</span>
|
|
<span class="value">2026-03-19</span>
|
|
</div>
|
|
<div class="header-stat">
|
|
<span class="label">Uptime</span>
|
|
<span class="value">6h 23m</span>
|
|
</div>
|
|
<div class="overall-pill">
|
|
<div class="dot"></div>
|
|
<span>All Systems Go</span>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- ═══════════════════════════════════════════════════════════════
|
|
BODY
|
|
════════════════════════════════════════════════════════════════ -->
|
|
<main class="dashboard-body">
|
|
|
|
<!-- KPI Row -->
|
|
<div>
|
|
<p class="section-label">At a Glance</p>
|
|
<div class="kpi-row">
|
|
|
|
<div class="kpi-card status-ok">
|
|
<div class="kpi-icon green">
|
|
<!-- server icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/>
|
|
<line x1="6" y1="6" x2="6.01" y2="6"/><line x1="6" y1="18" x2="6.01" y2="18"/>
|
|
</svg>
|
|
</div>
|
|
<div class="kpi-val">11 / 11</div>
|
|
<div class="kpi-label">Bot Agents Running</div>
|
|
<div class="kpi-badge badge-ok">✓ All Healthy</div>
|
|
</div>
|
|
|
|
<div class="kpi-card status-ok">
|
|
<div class="kpi-icon teal">
|
|
<!-- cpu icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<rect x="4" y="4" width="16" height="16" rx="2"/>
|
|
<rect x="9" y="9" width="6" height="6"/>
|
|
<line x1="9" y1="1" x2="9" y2="4"/><line x1="15" y1="1" x2="15" y2="4"/>
|
|
<line x1="9" y1="20" x2="9" y2="23"/><line x1="15" y1="20" x2="15" y2="23"/>
|
|
</svg>
|
|
</div>
|
|
<div class="kpi-val">1.37</div>
|
|
<div class="kpi-label">Load Average (1m)</div>
|
|
<div class="kpi-badge badge-info">2 vCPUs</div>
|
|
</div>
|
|
|
|
<div class="kpi-card status-ok">
|
|
<div class="kpi-icon green">
|
|
<!-- memory icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M6 19v-3M10 19v-3M14 19v-3M18 19v-3M8 11V9M16 11V9M12 11V9"/>
|
|
<rect x="2" y="5" width="20" height="14" rx="2"/>
|
|
</svg>
|
|
</div>
|
|
<div class="kpi-val">37%</div>
|
|
<div class="kpi-label">RAM Used</div>
|
|
<div class="kpi-badge badge-ok">1.4 GiB / 3.8 GiB</div>
|
|
</div>
|
|
|
|
<div class="kpi-card status-ok">
|
|
<div class="kpi-icon blue">
|
|
<!-- disk icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<ellipse cx="12" cy="5" rx="9" ry="3"/>
|
|
<path d="M3 5v14c0 1.66 4.03 3 9 3s9-1.34 9-3V5"/>
|
|
<path d="M3 12c0 1.66 4.03 3 9 3s9-1.34 9-3"/>
|
|
</svg>
|
|
</div>
|
|
<div class="kpi-val">3%</div>
|
|
<div class="kpi-label">Disk Used (root)</div>
|
|
<div class="kpi-badge badge-ok">4.3G / 154G</div>
|
|
</div>
|
|
|
|
<div class="kpi-card status-ok">
|
|
<div class="kpi-icon green">
|
|
<!-- globe icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="10"/>
|
|
<line x1="2" y1="12" x2="22" y2="12"/>
|
|
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
|
|
</svg>
|
|
</div>
|
|
<div class="kpi-val">200</div>
|
|
<div class="kpi-label">Site Status (stonedfounder.com)</div>
|
|
<div class="kpi-badge badge-ok">114ms load</div>
|
|
</div>
|
|
|
|
<div class="kpi-card status-ok">
|
|
<div class="kpi-icon navy">
|
|
<!-- shield icon -->
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>
|
|
</svg>
|
|
</div>
|
|
<div class="kpi-val">9</div>
|
|
<div class="kpi-label">Core Services Up</div>
|
|
<div class="kpi-badge badge-info">0 Degraded</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Resources + Services -->
|
|
<div class="two-col">
|
|
|
|
<!-- Resource Utilization -->
|
|
<div class="panel">
|
|
<div class="panel-header">
|
|
<h2>
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
|
<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/>
|
|
</svg>
|
|
Resource Utilization
|
|
</h2>
|
|
<span class="kpi-badge badge-ok" style="font-size:10px;">Live</span>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="resource-list">
|
|
|
|
<div class="resource-item">
|
|
<div class="resource-meta">
|
|
<span class="resource-name">RAM</span>
|
|
<span class="resource-detail">1.4 GiB used · 2.4 GiB available · 3.8 GiB total</span>
|
|
</div>
|
|
<div style="display:flex;align-items:center;gap:var(--space-3);">
|
|
<div class="bar-track" style="flex:1;"><div class="bar-fill low" style="width:37%"></div></div>
|
|
<span class="resource-pct">37%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="resource-item">
|
|
<div class="resource-meta">
|
|
<span class="resource-name">Disk — / (root)</span>
|
|
<span class="resource-detail">4.3G used · 150G free · 154G total</span>
|
|
</div>
|
|
<div style="display:flex;align-items:center;gap:var(--space-3);">
|
|
<div class="bar-track" style="flex:1;"><div class="bar-fill low" style="width:3%"></div></div>
|
|
<span class="resource-pct">3%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="resource-item">
|
|
<div class="resource-meta">
|
|
<span class="resource-name">Disk — /boot</span>
|
|
<span class="resource-detail">117M used · 703M free · 881M total</span>
|
|
</div>
|
|
<div style="display:flex;align-items:center;gap:var(--space-3);">
|
|
<div class="bar-track" style="flex:1;"><div class="bar-fill low" style="width:15%"></div></div>
|
|
<span class="resource-pct">15%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="resource-item">
|
|
<div class="resource-meta">
|
|
<span class="resource-name">Disk — /boot/efi</span>
|
|
<span class="resource-detail">6.2M used · 99M free · 105M total</span>
|
|
</div>
|
|
<div style="display:flex;align-items:center;gap:var(--space-3);">
|
|
<div class="bar-track" style="flex:1;"><div class="bar-fill low" style="width:6%"></div></div>
|
|
<span class="resource-pct">6%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="resource-item">
|
|
<div class="resource-meta">
|
|
<span class="resource-name">Load Average</span>
|
|
<span class="resource-detail">1m: 1.37 · 5m: 1.37 · 15m: 1.50 · 2 vCPUs</span>
|
|
</div>
|
|
<!-- Load: 1.37/2.0 = ~69% equivalent -->
|
|
<div style="display:flex;align-items:center;gap:var(--space-3);">
|
|
<div class="bar-track" style="flex:1;"><div class="bar-fill mid" style="width:69%"></div></div>
|
|
<span class="resource-pct">69%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="resource-item">
|
|
<div class="resource-meta">
|
|
<span class="resource-name">Swap</span>
|
|
<span class="resource-detail">None configured</span>
|
|
</div>
|
|
<div style="display:flex;align-items:center;gap:var(--space-3);">
|
|
<div class="bar-track" style="flex:1;"><div class="bar-fill low" style="width:0%"></div></div>
|
|
<span class="resource-pct" style="color:var(--gray-400);">—</span>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Core Services -->
|
|
<div class="panel">
|
|
<div class="panel-header">
|
|
<h2>
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="3"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14M4.93 4.93a10 10 0 0 0 0 14.14"/>
|
|
</svg>
|
|
Core Services
|
|
</h2>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="service-list">
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">payfrit-cloud</div>
|
|
<div class="service-desc">Cloud Orchestration API · port 3100</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">apache2</div>
|
|
<div class="service-desc">HTTP Server · ports 80, 443</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">mariadb</div>
|
|
<div class="service-desc">Database Server · 10.11.14 · port 3306</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">docker</div>
|
|
<div class="service-desc">Container Engine · CE 29.3.0</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">postfix</div>
|
|
<div class="service-desc">Mail Transport · ports 25, 465</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">fail2ban</div>
|
|
<div class="service-desc">Intrusion Prevention</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">ssh</div>
|
|
<div class="service-desc">OpenSSH Server · port 22</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">sw-cp-server</div>
|
|
<div class="service-desc">Plesk Control Panel · ports 8443, 8880</div>
|
|
</div>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> Running</div>
|
|
</div>
|
|
|
|
<div class="service-row">
|
|
<div>
|
|
<div class="service-name">docker containers</div>
|
|
<div class="service-desc">Active workloads</div>
|
|
</div>
|
|
<div class="status-pill pill-off"><div class="dot"></div> None</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Bot Agents -->
|
|
<div class="bots-section">
|
|
<p class="section-label">Bot Agent Fleet — 11 / 11 Active</p>
|
|
<div class="bot-grid">
|
|
|
|
<!-- Each bot gets a color derived from its role -->
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #7C3AED, #5B21B6);">A</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">alex</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #00B8A9, #008C82);">A</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">ava</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #3B82F6, #1D4ED8);">J</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">jude</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #F59E0B, #D97706);">K</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">kira</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #10B981, #059669);">K</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">koda</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #EC4899, #BE185D);">L</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">luna</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #0A2540, #1A3A5C);">M</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">mike</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #8B5CF6, #6D28D9);">N</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">nora</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #EF4444, #B91C1C);">P</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">priya</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #06B6D4, #0E7490);">S</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">schwifty</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bot-card">
|
|
<div class="bot-avatar" style="background: linear-gradient(135deg, #F97316, #C2410C);">Z</div>
|
|
<div class="bot-info">
|
|
<div class="bot-name">zara</div>
|
|
<div class="bot-status-text"><div class="dot"></div> running</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Site Health + Infra Details -->
|
|
<div class="two-col">
|
|
|
|
<!-- Site Health -->
|
|
<div class="panel">
|
|
<div class="panel-header">
|
|
<h2>
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="10"/>
|
|
<line x1="2" y1="12" x2="22" y2="12"/>
|
|
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
|
|
</svg>
|
|
Site Health
|
|
</h2>
|
|
<span style="font-size:11px;color:var(--gray-400);">Checked by @luna · 2026-03-18</span>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="site-health-row">
|
|
|
|
<div class="site-card">
|
|
<div class="site-top">
|
|
<span class="site-url">stonedfounder.com</span>
|
|
<div class="status-pill pill-ok"><div class="dot"></div> 200 OK</div>
|
|
</div>
|
|
|
|
<div class="site-meta-grid">
|
|
<div class="site-metric">
|
|
<span class="m-label">Platform</span>
|
|
<span class="m-value">WordPress · Apache</span>
|
|
</div>
|
|
<div class="site-metric">
|
|
<span class="m-label">Response Size</span>
|
|
<span class="m-value">55 KB</span>
|
|
</div>
|
|
<div class="site-metric">
|
|
<span class="m-label">Total Load Time</span>
|
|
<span class="m-value fast">114ms ✓</span>
|
|
</div>
|
|
<div class="site-metric">
|
|
<span class="m-label">TTFB</span>
|
|
<span class="m-value fast">112ms ✓</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="timing-bar-container">
|
|
<div class="timing-label">
|
|
<span class="t-name">DNS + Connect</span>
|
|
<span class="t-val">14ms</span>
|
|
</div>
|
|
<div class="timing-track">
|
|
<div class="timing-fill" style="width:12%"></div>
|
|
</div>
|
|
|
|
<div class="timing-label">
|
|
<span class="t-name">Time to First Byte</span>
|
|
<span class="t-val">112ms</span>
|
|
</div>
|
|
<div class="timing-track">
|
|
<div class="timing-fill" style="width:98%"></div>
|
|
</div>
|
|
|
|
<div class="timing-label">
|
|
<span class="t-name">Total Load</span>
|
|
<span class="t-val">114ms</span>
|
|
</div>
|
|
<div class="timing-track">
|
|
<div class="timing-fill" style="width:100%"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display:flex;gap:var(--space-2);flex-wrap:wrap;margin-top:var(--space-1);">
|
|
<div class="kpi-badge badge-ok">✓ No redirects</div>
|
|
<div class="kpi-badge badge-ok">✓ HTTPS clean</div>
|
|
<div class="kpi-badge badge-ok">✓ wp-login reachable</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Infra Details -->
|
|
<div class="panel">
|
|
<div class="panel-header">
|
|
<h2>
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
|
<rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6"/>
|
|
<line x1="9" y1="1" x2="9" y2="4"/><line x1="15" y1="1" x2="15" y2="4"/>
|
|
<line x1="9" y1="20" x2="9" y2="23"/><line x1="15" y1="20" x2="15" y2="23"/>
|
|
</svg>
|
|
Infrastructure
|
|
</h2>
|
|
<span style="font-size:11px;color:var(--gray-400);">by @kira · 2026-03-19</span>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="infra-table">
|
|
<tr>
|
|
<td>Hostname</td>
|
|
<td>musing-einstein<br/>69.48.207.164</td>
|
|
</tr>
|
|
<tr>
|
|
<td>OS</td>
|
|
<td>Ubuntu 24.04.4 LTS<br/>Kernel 6.8.0-106-generic</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Virtualization</td>
|
|
<td>KVM (AMD-V) · AMD EPYC-Milan</td>
|
|
</tr>
|
|
<tr>
|
|
<td>CPU</td>
|
|
<td>2 vCPUs (1 core, 2 threads)</td>
|
|
</tr>
|
|
<tr>
|
|
<td>RAM</td>
|
|
<td>3.8 GiB · No swap</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Software Stack</td>
|
|
<td>
|
|
<span class="infra-tag">PHP 8.3.6</span>
|
|
<span class="infra-tag">Node 20.20.1</span>
|
|
<span class="infra-tag">Python 3.12.3</span>
|
|
<span class="infra-tag">MariaDB 10.11</span>
|
|
<span class="infra-tag">Git 2.43</span>
|
|
<span class="infra-tag">Docker 29.3</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Open Ports</td>
|
|
<td>
|
|
<span class="infra-tag">22 SSH</span>
|
|
<span class="infra-tag">80 HTTP</span>
|
|
<span class="infra-tag">443 HTTPS</span>
|
|
<span class="infra-tag">3100 API</span>
|
|
<span class="infra-tag">3306 DB</span>
|
|
<span class="infra-tag">8443 Plesk</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Bot Agents</td>
|
|
<td>11 active · /opt/payfrit-cloud/<br/>Logs: /var/log/payfrit-bots/</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<!-- ═══════════════════════════════════════════════════════════════
|
|
FOOTER
|
|
════════════════════════════════════════════════════════════════ -->
|
|
<footer class="dashboard-footer">
|
|
<span>Payfrit Infrastructure Status · 2026-03-19 · 69.48.207.164</span>
|
|
<div class="footer-sources">
|
|
<span class="footer-src-tag">@luna health-report.txt</span>
|
|
<span class="footer-src-tag">@kira server-readme.md</span>
|
|
<span class="footer-src-tag">live systemd data</span>
|
|
</div>
|
|
</footer>
|
|
|
|
</body>
|
|
</html>
|