Research-Stack/5-Applications/tools-scripts/demo/dashboard.html

446 lines
17 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Research Stack | Controller</title>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=JetBrains+Mono&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0a0b10;
--surface: rgba(255, 255, 255, 0.05);
--border: rgba(255, 255, 255, 0.1);
--primary: #5865F2;
--primary-glow: rgba(88, 101, 242, 0.3);
--secondary: #ff007a; /* Euretha Magenta */
--secondary-glow: rgba(255, 0, 122, 0.3);
--accent: #00ffa3; /* Physics Bound Green */
--hazard: #ffaa00; /* Memetic Hazard Orange */
--text-main: #e0e0e0;
--text-muted: #888888;
--glass: blur(12px);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background: none;
border: none;
outline: none;
color: inherit;
}
body {
background: var(--bg);
color: var(--text-main);
font-family: 'Outfit', sans-serif;
overflow: hidden;
height: 100vh;
display: flex;
}
/* Ambient Background Glows */
.glow {
position: fixed;
width: 40vw;
height: 40vw;
border-radius: 50%;
background: var(--primary-glow);
filter: blur(150px);
z-index: -1;
pointer-events: none;
}
.glow-1 { top: -10%; left: -10%; }
.glow-2 { bottom: -10%; right: -10%; background: var(--secondary-glow); }
/* Sidebar */
aside {
width: 280px;
height: 100%;
background: var(--surface);
backdrop-filter: var(--glass);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
padding: 2rem;
z-index: 10;
}
.header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 3rem;
}
.logo {
width: 32px;
height: 32px;
background: var(--primary);
border-radius: 8px;
box-shadow: 0 0 15px var(--primary-glow);
}
.header h1 {
font-size: 1.25rem;
font-weight: 800;
letter-spacing: -1px;
text-transform: uppercase;
}
nav ul {
list-style: none;
}
nav li {
margin-bottom: 0.5rem;
}
nav a {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1rem;
border-radius: 12px;
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.3s ease;
color: var(--text-muted);
}
nav a:hover, nav a.active {
background: var(--surface);
color: var(--text-main);
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
nav a.active {
border: 1px solid var(--border);
}
/* Main Content */
main {
flex-grow: 1;
height: 100%;
padding: 3rem;
overflow-y: auto;
position: relative;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.card {
background: var(--surface);
backdrop-filter: var(--glass);
border: 1px solid var(--border);
padding: 2rem;
border-radius: 24px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
border-color: var(--primary);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1.5rem;
}
.card h2 {
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--text-muted);
}
/* Status Badges */
.badge {
padding: 4px 12px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.badge-hazard { background: var(--hazard); color: #000; box-shadow: 0 0 10px rgba(255, 170, 0, 0.4); }
.badge-bound { background: var(--accent); color: #000; box-shadow: 0 0 10px rgba(0, 255, 163, 0.4); }
/* Visualization: Euretha Pressure */
.viz-container {
height: 120px;
display: flex;
align-items: flex-end;
gap: 8px;
}
.bar {
flex-grow: 1;
background: var(--primary);
border-radius: 4px 4px 0 0;
transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
animation: pulse 3s infinite ease-in-out;
}
.bar.secondary { background: var(--secondary); background-image: linear-gradient(to top, var(--secondary), #ff80b3); }
@keyframes pulse {
0%, 100% { filter: brightness(1); }
50% { filter: brightness(1.3); }
}
/* Stats */
.stat-val {
font-size: 2.5rem;
font-weight: 800;
font-family: 'JetBrains Mono', monospace;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 0.85rem;
color: var(--text-muted);
}
/* Table */
.table-container {
margin-top: 3rem;
background: var(--surface);
border-radius: 24px;
border: 1px solid var(--border);
overflow: hidden;
}
table {
width: 100%;
border-collapse: collapse;
}
th {
text-align: left;
padding: 1.25rem 1.5rem;
background: rgba(255, 255, 255, 0.02);
color: var(--text-muted);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 1px solid var(--border);
}
td {
padding: 1.25rem 1.5rem;
border-bottom: 1px solid var(--border);
font-size: 0.9rem;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.01); }
.file-link {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--primary);
font-weight: 600;
text-decoration: none;
}
/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
</style>
</head>
<body>
<div class="glow glow-1"></div>
<div class="glow glow-2"></div>
<aside>
<div class="header">
<div class="logo"></div>
<h1>Substrate</h1>
</div>
<nav>
<ul>
<li><a href="#" class="active">Overview</a></li>
<li><a href="#">Manifold Stats</a></li>
<li><a href="#">Patent Archive</a></li>
<li><a href="#">MetaFoam Tiers</a></li>
<li><a href="#">Archival Vault</a></li>
</ul>
</nav>
<div style="flex-grow: 1;"></div>
<div class="card" style="padding: 1rem; border-radius: 12px; font-size: 0.8rem;">
<div style="display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;">
<span style="width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block;"></span>
<span>System Stable</span>
</div>
<p style="color: var(--text-muted);">Uptime: 45d 12h 4m</p>
</div>
</aside>
<main>
<div style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1rem;">
<div>
<p style="color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.25rem;">Wednesday, April 1</p>
<h1 style="font-size: 2.5rem; font-weight: 800; letter-spacing: -1.5px;">PATAMATHEMATICAL CONTROLLER</h1>
</div>
<div class="badge badge-hazard">MEMETIC_HAZARD ACTIVE</div>
</div>
<div class="grid">
<div class="card">
<div class="card-header">
<h2>Euretha Pressure</h2>
<span class="badge" style="border: 1px solid var(--secondary); color: var(--secondary);">DYNAMIC</span>
</div>
<div class="viz-container" id="pressure-viz">
<div class="bar" style="height: 60%"></div>
<div class="bar secondary" style="height: 80%"></div>
<div class="bar" style="height: 45%"></div>
<div class="bar secondary" style="height: 90%"></div>
<div class="bar" style="height: 55%"></div>
<div class="bar" style="height: 70%"></div>
</div>
<div style="display: flex; justify-content: space-between; margin-top: 1rem;">
<div>
<div class="stat-val" id="pressure-val">0.82</div>
<div class="stat-label">$\lambda$ Effective</div>
</div>
<div style="text-align: right;">
<div class="stat-val" id="load-val">2.4k</div>
<div class="stat-label">Cognitive TSM</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h2>Patent Corpus</h2>
<span class="badge badge-bound">PHYSICS_BOUND</span>
</div>
<div class="stat-val">34</div>
<div class="stat-label">Total Sealed Disclosures</div>
<div style="margin-top: 1.5rem; height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;">
<div style="flex-grow: 1; height: 100%; border: 1px dashed var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.8rem;">
Waiting for next delta...
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h2>Archive Status</h2>
<span class="badge" style="background: var(--surface); color: var(--text-muted);">STABLE</span>
</div>
<div class="stat-val">152</div>
<div class="stat-label">Archived Components</div>
<div style="margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 1rem;">
<div style="display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.25rem;">
<span>Historical Clean-up</span>
<span style="color: var(--accent);">+22 today</span>
</div>
</div>
</div>
</div>
<div class="table-container">
<table>
<thead>
<tr>
<th>Patent ID / Source</th>
<th>Status</th>
<th>Attestation</th>
<th>Sealed UTC</th>
</tr>
</thead>
<tbody id="patent-table-body">
<tr>
<td>
<a href="#" class="file-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
PTOS_THEORY_PATENT
</a>
</td>
<td><span class="badge" style="background: rgba(0, 255, 163, 0.1); color: var(--accent);">VERIFIED</span></td>
<td><code style="font-family: 'JetBrains Mono'; font-size: 0.8rem; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px;">a8f2...e391</code></td>
<td style="color: var(--text-muted);">2026-04-01 19:42:15</td>
</tr>
<tr>
<td>
<a href="#" class="file-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
COGNITIVE_LOAD_FUNCTIONS_PATENT
</a>
</td>
<td><span class="badge" style="background: rgba(0, 255, 163, 0.1); color: var(--accent);">VERIFIED</span></td>
<td><code style="font-family: 'JetBrains Mono'; font-size: 0.8rem; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px;">f4c1...01b2</code></td>
<td style="color: var(--text-muted);">2026-04-01 19:42:20</td>
</tr>
<tr>
<td>
<a href="#" class="file-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
EURETHA_DYNAMIC_MANIFOLD_PATENT
</a>
</td>
<td><span class="badge badge-hazard">PENDING SEALTH</span></td>
<td><code style="font-family: 'JetBrains Mono'; font-size: 0.8rem; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px;">computing...</code></td>
<td style="color: var(--text-muted);">2026-04-01 19:50:11</td>
</tr>
</tbody>
</table>
</div>
</main>
<script type="module">
// Simulate dynamic pressure variation
const pressureVal = document.getElementById('pressure-val');
const loadVal = document.getElementById('load-val');
const bars = document.querySelectorAll('.bar');
function updatePressure() {
const base = 0.82;
const fluctuation = (Math.random() - 0.5) * 0.1;
const newVal = (base + fluctuation).toFixed(3);
pressureVal.innerText = newVal;
const loadBase = 2410;
const loadFluct = Math.floor((Math.random() - 0.5) * 50);
loadVal.innerText = (loadBase + loadFluct).toLocaleString();
bars.forEach(bar => {
const h = 40 + Math.random() * 55;
bar.style.height = `${h}%`;
});
}
setInterval(updatePressure, 2000);
// Sidebar Navigation Simulation
document.querySelectorAll('nav a').forEach(link => {
link.addEventListener('click', (e) => {
e.preventDefault();
document.querySelector('nav a.active').classList.remove('active');
link.classList.add('active');
});
});
// Initialize with a simple pulse effect on hazards
const hazardBadge = document.querySelector('.badge-hazard');
setInterval(() => {
hazardBadge.style.opacity = hazardBadge.style.opacity === '0.7' ? '1' : '0.7';
}, 1000);
</script>
</body>
</html>