Files
boc/backups/2026-07-12-1023/quixzoom-landing-prod/status/index.html
T
Bernt 58ca4e68db feat(boc): Complete Business Operations Center v1.0
- Go backend API with full CRUD for all modules (CRM, Sales, Finance, HR, Legal, Marketing, Support, Purchase, Inventory, Projects, Automation, Analytics)
- Rust analytics service with parallel report generation
- C runtime with POSIX shared memory IPC
- PostgreSQL schema with 30+ tables, full migrations
- Redis cache, sessions, pub/sub
- Kafka event streaming with Zookeeper
- WebSocket hub for real-time updates
- Automation engine with cron jobs, workflows, event triggers
- JWT authentication, multi-tenant from start
- Docker Compose with all services
- Nginx reverse proxy with rate limiting
- Integration tests passing
- Feature gap analysis against Fortnox/Odoo/Visma

Refs: BOC-001
2026-07-12 12:41:35 +00:00

614 lines
16 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Status — quiXzoom</title>
<meta name="description" content="Real-time status for quiXzoom services and infrastructure.">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--accent: #007AFF;
--accent-hover: #0066DD;
--green: #34C759;
--yellow: #FF9500;
--red: #FF3B30;
--bg: #ffffff;
--bg-secondary: #f5f5f7;
--bg-card: #ffffff;
--text-primary: #1d1d1f;
--text-secondary: #6e6e73;
--border: #d2d2d7;
--shadow: rgba(0,0,0,0.06);
--nav-bg: rgba(255,255,255,0.85);
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #000000;
--bg-secondary: #1c1c1e;
--bg-card: #1c1c1e;
--text-primary: #f5f5f7;
--text-secondary: #98989d;
--border: #3a3a3c;
--shadow: rgba(0,0,0,0.3);
--nav-bg: rgba(0,0,0,0.85);
}
}
html { scroll-behavior: smooth; }
body {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
background: var(--bg);
color: var(--text-primary);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* ── NAV ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: var(--nav-bg);
backdrop-filter: saturate(180%) blur(20px);
-webkit-backdrop-filter: saturate(180%) blur(20px);
border-bottom: 1px solid var(--border);
padding: 0 24px;
height: 52px;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-logo {
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
text-decoration: none;
letter-spacing: -0.3px;
}
.nav-logo .x { color: var(--accent); }
.nav-links {
list-style: none;
display: flex;
gap: 28px;
}
.nav-links a {
font-size: 14px;
font-weight: 500;
color: var(--text-secondary);
text-decoration: none;
transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); }
@media (max-width: 640px) {
.nav-links { display: none; }
}
/* ── INCIDENT BANNER (hidden by default) ── */
#incident-banner {
display: none;
background: #FF9500;
color: #fff;
text-align: center;
padding: 12px 24px;
font-size: 14px;
font-weight: 500;
}
#incident-banner a { color: #fff; text-decoration: underline; }
/* ── HERO ── */
.hero {
background: var(--bg-secondary);
padding: 72px 24px 60px;
text-align: center;
border-bottom: 1px solid var(--border);
}
.hero-label {
font-size: 13px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 16px;
}
.hero h1 {
font-size: clamp(36px, 5vw, 56px);
font-weight: 700;
letter-spacing: -1.5px;
color: var(--text-primary);
margin-bottom: 28px;
line-height: 1.1;
}
.status-badge {
display: inline-flex;
align-items: center;
gap: 10px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 100px;
padding: 10px 24px;
font-size: 16px;
font-weight: 600;
box-shadow: 0 2px 12px var(--shadow);
transition: all 0.3s;
}
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
flex-shrink: 0;
background: var(--green);
box-shadow: 0 0 0 3px rgba(52,199,89,0.2);
animation: pulse 2.5s ease-in-out infinite;
}
.status-dot.yellow { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,149,0,0.2); }
.status-dot.red { background: var(--red); box-shadow: 0 0 0 3px rgba(255,59,48,0.2); }
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
.status-text { color: var(--text-primary); }
.hero-meta {
margin-top: 16px;
font-size: 13px;
color: var(--text-secondary);
}
#last-updated { font-variant-numeric: tabular-nums; }
/* ── SECTION ── */
.section {
max-width: 860px;
margin: 0 auto;
padding: 56px 24px;
}
.section-title {
font-size: 22px;
font-weight: 700;
letter-spacing: -0.4px;
color: var(--text-primary);
margin-bottom: 24px;
}
/* ── SERVICE CARDS ── */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 12px;
}
.service-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 18px 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
box-shadow: 0 1px 4px var(--shadow);
transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 16px var(--shadow); }
.service-name {
font-size: 15px;
font-weight: 500;
color: var(--text-primary);
}
.service-url {
font-size: 12px;
color: var(--text-secondary);
margin-top: 2px;
}
.service-status {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 500;
white-space: nowrap;
flex-shrink: 0;
}
.service-status .dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.service-status.operational { color: var(--green); }
.service-status.operational .dot { background: var(--green); }
.service-status.degraded { color: var(--yellow); }
.service-status.degraded .dot { background: var(--yellow); }
.service-status.outage { color: var(--red); }
.service-status.outage .dot { background: var(--red); }
/* ── DIVIDER ── */
hr.section-divider {
border: none;
border-top: 1px solid var(--border);
max-width: 860px;
margin: 0 auto;
}
/* ── INCIDENT HISTORY ── */
.incident-history {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 32px;
text-align: center;
}
.incident-history .empty-icon {
font-size: 40px;
margin-bottom: 12px;
}
.incident-history p {
font-size: 15px;
color: var(--text-secondary);
}
/* ── SLA ── */
.sla-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 16px;
}
.sla-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 14px;
padding: 20px 24px;
box-shadow: 0 1px 4px var(--shadow);
}
.sla-label {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-secondary);
margin-bottom: 8px;
}
.sla-value {
font-size: 26px;
font-weight: 700;
letter-spacing: -0.5px;
color: var(--accent);
line-height: 1.1;
}
.sla-desc {
font-size: 13px;
color: var(--text-secondary);
margin-top: 4px;
}
/* ── FOOTER NOTE ── */
.footer-note {
max-width: 860px;
margin: 0 auto 0;
padding: 0 24px 32px;
text-align: center;
font-size: 14px;
color: var(--text-secondary);
}
.footer-note a { color: var(--accent); text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }
/* ── GLOBAL FOOTER ── */
footer {
background: var(--bg-secondary);
border-top: 1px solid var(--border);
padding: 40px 24px;
text-align: center;
}
.footer-logo {
font-size: 20px;
font-weight: 700;
letter-spacing: -0.3px;
color: var(--text-primary);
text-decoration: none;
display: inline-block;
margin-bottom: 16px;
}
.footer-logo .x { color: var(--accent); }
.footer-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}
.footer-links a {
font-size: 13px;
color: var(--text-secondary);
text-decoration: none;
transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
font-size: 12px;
color: var(--text-secondary);
}
</style>
</head>
<body>
<!-- INCIDENT BANNER -->
<div id="incident-banner" role="alert">
⚠️ We are currently investigating an issue affecting some services.
<a href="mailto:enterprise@quixzoom.com">Contact support</a>
</div>
<!-- NAV -->
<nav>
<a href="/" class="nav-logo">qui<span class="x">X</span>zoom</a>
<ul class="nav-links">
<li><a href="/">For Zoomers</a></li>
<li><a href="/for-organisations/">For Organisations</a></li>
<li><a href="/developer">Developer</a></li>
<li><a href="/support">Support</a></li>
</ul>
</nav>
<!-- HERO -->
<section class="hero">
<p class="hero-label">Platform Status</p>
<h1>System Status</h1>
<div class="status-badge" id="global-status-badge">
<span class="status-dot" id="global-dot"></span>
<span class="status-text" id="global-status-text">All Systems Operational</span>
</div>
<p class="hero-meta">Updated automatically &mdash; <span id="last-updated">checking…</span></p>
</section>
<!-- SERVICES -->
<section class="section">
<h2 class="section-title">Services</h2>
<div class="services-grid" id="services-grid">
<div class="service-card">
<div>
<div class="service-name">API</div>
<div class="service-url">api.quixzoom.com</div>
</div>
<div class="service-status operational" id="svc-api">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">Mission Platform</div>
<div class="service-url">Mission creation &amp; management</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">Submission Processing</div>
<div class="service-url">Upload &amp; ingestion pipeline</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">AI Review</div>
<div class="service-url">Automated quality scoring</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">Payment Processing</div>
<div class="service-url">Powered by Stripe</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">Zoomer App</div>
<div class="service-url">iOS &amp; Android</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">Organisation Dashboard</div>
<div class="service-url">Web portal</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
<div class="service-card">
<div>
<div class="service-name">Webhooks</div>
<div class="service-url">Event delivery</div>
</div>
<div class="service-status operational">
<span class="dot"></span> Operational
</div>
</div>
</div>
</section>
<hr class="section-divider">
<!-- INCIDENT HISTORY -->
<section class="section">
<h2 class="section-title">Incident History</h2>
<div class="incident-history">
<div class="empty-icon"></div>
<p>No incidents in the last 90 days.</p>
</div>
</section>
<hr class="section-divider">
<!-- SLA -->
<section class="section">
<h2 class="section-title">Service Level Agreements</h2>
<div class="sla-grid">
<div class="sla-card">
<div class="sla-label">API Uptime SLA</div>
<div class="sla-value">99.5%</div>
<div class="sla-desc">Monthly rolling average</div>
</div>
<div class="sla-card">
<div class="sla-label">Response Time SLA</div>
<div class="sla-value">&lt;500ms</div>
<div class="sla-desc">p95, measured at edge</div>
</div>
<div class="sla-card">
<div class="sla-label">Support Response</div>
<div class="sla-value">24h</div>
<div class="sla-desc">Standard tier</div>
</div>
<div class="sla-card">
<div class="sla-label">Enterprise Support</div>
<div class="sla-value">4h</div>
<div class="sla-desc">Priority response SLA</div>
</div>
</div>
</section>
<!-- FOOTER NOTE -->
<p class="footer-note">
For critical incidents, contact
<a href="mailto:enterprise@quixzoom.com">enterprise@quixzoom.com</a>
</p>
<!-- GLOBAL FOOTER -->
<footer>
<a href="/" class="footer-logo">qui<span class="x">X</span>zoom</a>
<div class="footer-links">
<a href="/">For Zoomers</a>
<a href="/for-organisations/">For Organisations</a>
<a href="/developer">Developer</a>
<a href="/status">Status</a>
<a href="/about">About</a>
<a href="/support">Support</a>
<a href="/privacy">Privacy</a>
<a href="/terms">Terms</a>
</div>
<p class="footer-copy">© 2026 quiXzoom. Built in Sweden.</p>
</footer>
<script>
(function () {
const HEALTH_URL = 'https://api.quixzoom.com/health';
function setLastUpdated() {
const el = document.getElementById('last-updated');
if (!el) return;
const now = new Date();
el.textContent = now.toLocaleTimeString('en-GB', { hour: '2-digit', minute: '2-digit', second: '2-digit' }) + ' UTC';
}
function setGlobalStatus(state) {
const dot = document.getElementById('global-dot');
const text = document.getElementById('global-status-text');
const banner = document.getElementById('incident-banner');
dot.className = 'status-dot';
banner.style.display = 'none';
if (state === 'ok') {
text.textContent = 'All Systems Operational';
} else if (state === 'degraded') {
dot.classList.add('yellow');
text.textContent = 'Partial Service Disruption';
banner.style.display = 'block';
} else {
dot.classList.add('red');
text.textContent = 'Service Disruption Detected';
banner.style.display = 'block';
}
}
async function checkHealth() {
try {
const controller = new AbortController();
const timeout = setTimeout(() => controller.abort(), 7000);
const res = await fetch(HEALTH_URL, {
method: 'GET',
signal: controller.signal,
cache: 'no-store'
});
clearTimeout(timeout);
if (res.ok) {
setGlobalStatus('ok');
} else {
setGlobalStatus('degraded');
const apiCard = document.getElementById('svc-api');
if (apiCard) {
apiCard.className = 'service-status degraded';
apiCard.innerHTML = '<span class="dot"></span> Degraded';
}
}
} catch (e) {
// Network error or abort — could be CORS pre-flight or API down.
// Show warning only if it looks like a real outage (not just CORS).
if (e.name !== 'AbortError') {
setGlobalStatus('degraded');
}
}
setLastUpdated();
}
// Initial check
checkHealth();
// Refresh every 60 s
setInterval(checkHealth, 60_000);
})();
</script>
</body>
</html>