<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CYBERNEXUS DASHBOARD</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Share+Tech+Mono&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: radial-gradient(circle at center, #0c0f1d 0%, #050811 100%);
color: #c3e6ff;
font-family: 'Share Tech Mono', monospace;
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
.grid-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px),
linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
pointer-events: none;
z-index: -1;
}
.scanline {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: rgba(0, 255, 213, 0.6);
box-shadow: 0 0 15px 5px rgba(0, 255, 213, 0.5);
animation: scan 4s linear infinite;
z-index: 999;
pointer-events: none;
}
@keyframes scan {
0% { top: -3px; }
100% { top: 100%; }
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
display: grid;
grid-template-columns: 1fr 3fr;
gap: 20px;
}
/* Стили для левого сайдбара */
.sidebar {
background: rgba(10, 15, 35, 0.6);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 8px;
box-shadow:
0 0 20px rgba(0, 217, 255, 0.1),
inset 0 0 15px rgba(0, 150, 255, 0.1);
padding: 20px;
backdrop-filter: blur(5px);
}
.logo-container {
text-align: center;
padding: 20px 0;
margin-bottom: 30px;
border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}
.logo {
font-family: 'Orbitron', sans-serif;
font-size: 2.2rem;
font-weight: 900;
text-transform: uppercase;
background: linear-gradient(90deg, #00eeff, #0077ff, #aa00ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 15px rgba(0, 238, 255, 0.5);
letter-spacing: 3px;
margin-bottom: 10px;
}
.logo-subtitle {
color: #80d0ff;
font-size: 0.9rem;
letter-spacing: 2px;
}
.user-info {
display: flex;
align-items: center;
margin-bottom: 25px;
padding: 15px;
background: rgba(20, 30, 60, 0.5);
border-radius: 6px;
border: 1px solid rgba(0, 217, 255, 0.2);
}
.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, #0077ff, #aa00ff);
margin-right: 15px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
}
.user-details {
flex-grow: 1;
}
.username {
font-size: 1.2rem;
color: #00eeff;
margin-bottom: 5px;
}
.user-role {
color: #80d0ff;
font-size: 0.9rem;
}
.nav-section {
margin-bottom: 30px;
}
.nav-title {
color: #00eeff;
font-family: 'Orbitron', sans-serif;
margin-bottom: 15px;
font-size: 1.1rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.nav-item {
display: flex;
align-items: center;
padding: 12px 15px;
margin-bottom: 8px;
border-radius: 4px;
color: #c3e6ff;
text-decoration: none;
transition: all 0.3s;
border-left: 3px solid transparent;
}
.nav-item:hover {
background: rgba(0, 150, 255, 0.2);
border-left: 3px solid #00eeff;
color: #ffffff;
}
.nav-item i {
margin-right: 10px;
font-size: 1.2rem;
color: #00eeff;
width: 25px;
text-align: center;
}
.status-indicators {
background: rgba(20, 30, 60, 0.5);
border-radius: 6px;
border: 1px solid rgba(0, 217, 255, 0.2);
padding: 20px;
}
.status-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}
.status-item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.status-label {
color: #80d0ff;
}
.status-value {
font-family: 'Orbitron', sans-serif;
font-size: 1.2rem;
color: #00eeff;
}
/* Стили для основной области */
.main-content {
display: flex;
flex-direction: column;
gap: 20px;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(10, 15, 35, 0.6);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 8px;
padding: 15px 25px;
backdrop-filter: blur(5px);
}
.date-time {
font-size: 1.1rem;
color: #00eeff;
font-family: 'Orbitron', sans-serif;
}
.search-box {
display: flex;
align-items: center;
background: rgba(20, 30, 60, 0.5);
border: 1px solid rgba(0, 217, 255, 0.2);
border-radius: 30px;
padding: 8px 15px;
}
.search-box input {
background: transparent;
border: none;
color: #c3e6ff;
padding: 5px 10px;
font-family: 'Share Tech Mono', monospace;
width: 200px;
}
.search-box input:focus {
outline: none;
}
.search-box i {
color: #00eeff;
}
.alert-indicator {
display: flex;
align-items: center;
background: rgba(255, 50, 100, 0.2);
border: 1px solid rgba(255, 50, 100, 0.4);
border-radius: 30px;
padding: 8px 20px;
color: #ff7799;
cursor: pointer;
transition: all 0.3s;
}
.alert-indicator:hover {
background: rgba(255, 50, 100, 0.3);
box-shadow: 0 0 10px rgba(255, 50, 100, 0.4);
}
.alert-indicator i {
margin-right: 8px;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { opacity: 0.7; }
50% { opacity: 1; }
100% { opacity: 0.7; }
}
.dashboard-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.card {
background: rgba(10, 15, 35, 0.6);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 8px;
padding: 20px;
box-shadow:
0 0 15px rgba(0, 217, 255, 0.1),
inset 0 0 10px rgba(0, 150, 255, 0.1);
position: relative;
overflow: hidden;
backdrop-filter: blur(5px);
}
.card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #00eeff, #0077ff, #aa00ff);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.card-title {
font-family: 'Orbitron', sans-serif;
font-size: 1.3rem;
color: #00eeff;
text-shadow: 0 0 8px rgba(0, 238, 255, 0.5);
}
.card-icon {
font-size: 1.8rem;
color: #00eeff;
background: rgba(0, 150, 255, 0.2);
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.chart-container {
height: 250px;
position: relative;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.stat-card {
background: rgba(20, 30, 60, 0.5);
border: 1px solid rgba(0, 217, 255, 0.2);
border-radius: 6px;
padding: 15px;
text-align: center;
}
.stat-value {
font-size: 2.2rem;
font-weight: bold;
color: #00eeff;
font-family: 'Orbitron', sans-serif;
margin: 10px 0;
text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}
.stat-label {
color: #80d0ff;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.data-table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
.data-table th {
text-align: left;
padding: 10px 15px;
background: rgba(0, 150, 255, 0.1);
color: #00eeff;
font-weight: normal;
text-transform: uppercase;
font-size: 0.9rem;
letter-spacing: 1px;
}
.data-table td {
padding: 12px 15px;
border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}
.data-table tr:hover td {
background: rgba(0, 150, 255, 0.1);
}
.status-badge {
display: inline-block;
padding: 5px 10px;
border-radius: 30px;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.status-online {
background: rgba(0, 255, 150, 0.15);
color: #00ff99;
}
.status-warning {
background: rgba(255, 200, 0, 0.15);
color: #ffcc00;
}
.status-offline {
background: rgba(255, 50, 100, 0.15);
color: #ff7799;
}
.terminal {
background: rgba(5, 10, 20, 0.7);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 6px;
padding: 15px;
font-family: 'Share Tech Mono', monospace;
height: 200px;
overflow-y: auto;
color: #00eeff;
font-size: 0.9rem;
line-height: 1.6;
}
.terminal-line {
margin-bottom: 5px;
display: flex;
}
.terminal-prompt {
color: #aa00ff;
margin-right: 10px;
}
.full-width {
grid-column: 1 / -1;
}
/* Анимации и эффекты */
.glitch {
position: relative;
}
.glitch::after {
content: attr(data-text);
position: absolute;
left: 2px;
top: 0;
color: #ff00ff;
background: rgba(10, 15, 35, 0.8);
overflow: hidden;
clip: rect(0, 900px, 0, 0);
animation: noise-anim 2s infinite linear alternate-reverse;
}
@keyframes noise-anim {
0% { clip: rect(12px, 9999px, 33px, 0); }
5% { clip: rect(42px, 9999px, 76px, 0); }
10% { clip: rect(18px, 9999px, 59px, 0); }
15% { clip: rect(37px, 9999px, 87px, 0); }
20% { clip: rect(9px, 9999px, 98px, 0); }
25% { clip: rect(28px, 9999px, 54px, 0); }
30% { clip: rect(65px, 9999px, 90px, 0); }
35% { clip: rect(12px, 9999px, 85px, 0); }
40% { clip: rect(32px, 9999px, 29px, 0); }
45% { clip: rect(68px, 9999px, 13px, 0); }
50% { clip: rect(23px, 9999px, 77px, 0); }
55% { clip: rect(51px, 9999px, 63px, 0); }
60% { clip: rect(44px, 9999px, 33px, 0); }
65% { clip: rect(12px, 9999px, 85px, 0); }
70% { clip: rect(32px, 9999px, 29px, 0); }
75% { clip: rect(68px, 9999px, 13px, 0); }
80% { clip: rect(23px, 9999px, 77px, 0); }
85% { clip: rect(51px, 9999px, 63px, 0); }
90% { clip: rect(44px, 9999px, 33px, 0); }
95% { clip: rect(12px, 9999px, 85px, 0); }
100% { clip: rect(98px, 9999px, 76px, 0); }
}
.hex-pattern {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 10% 20%, rgba(170, 0, 255, 0.1) 0%, transparent 20%),
radial-gradient(circle at 90% 80%, rgba(0, 238, 255, 0.1) 0%, transparent 20%);
pointer-events: none;
z-index: -1;
}
footer {
grid-column: 1 / -1;
text-align: center;
padding: 20px 0;
color: #80d0ff;
font-size: 0.9rem;
border-top: 1px solid rgba(0, 217, 255, 0.2);
margin-top: 20px;
}
/* Адаптивность */
@media (max-width: 1100px) {
.container {
grid-template-columns: 1fr;
}
.sidebar {
margin-bottom: 20px;
}
}
@media (max-width: 768px) {
.dashboard-grid {
grid-template-columns: 1fr;
}
.top-bar {
flex-direction: column;
gap: 15px;
}
.search-box {
width: 100%;
}
}
</style>
</head>
<body>
<div class="grid-overlay"></div>
<div class="hex-pattern"></div>
<div class="scanline"></div>
<div class="container">
<!-- Левый сайдбар -->
<aside class="sidebar">
<div class="logo-container">
<div class="logo glitch" data-text="CYBERNEXUS">CYBERNEXUS</div>
<div class="logo-subtitle">SYSTEM DASHBOARD v4.7.3</div>
</div>
<div class="user-info">
<div class="avatar">
<i class="fas fa-user-secret"></i>
</div>
<div class="user-details">
<div class="username">AGENT_KIRA</div>
<div class="user-role">Level 9 Access</div>
</div>
</div>
<div class="nav-section">
<div class="nav-title">Navigation</div>
<a href="#" class="nav-item">
<i class="fas fa-dashboard"></i>
<span>Dashboard</span>
</a>
<a href="#" class="nav-item">
<i class="fas fa-server"></i>
<span>Systems</span>
</a>
<a href="#" class="nav-item">
<i class="fas fa-shield-alt"></i>
<span>Security</span>
</a>
<a href="#" class="nav-item">
<i class="fas fa-chart-network"></i>
<span>Network</span>
</a>
<a href="#" class="nav-item">
<i class="fas fa-database"></i>
<span>Database</span>
</a>
</div>
<div class="nav-section">
<div class="nav-title">Quick Access</div>
<a href="#" class="nav-item">
<i class="fas fa-bolt"></i>
<span>Core Systems</span>
</a>
<a href="#" class="nav-item">
<i class="fas fa-terminal"></i>
<span>Terminal</span>
</a>
<a href="#" class="nav-item">
<i class="fas fa-bug"></i>
<span>Debug Console</span>
</a>
</div>
<div class="status-indicators">
<div class="status-item">
<div class="status-label">System Integrity</div>
<div class="status-value">98%</div>
</div>
<div class="status-item">
<div class="status-label">Threat Level</div>
<div class="status-value">LOW</div>
</div>
<div class="status-item">
<div class="status-label">Connection</div>
<div class="status-value">SECURE</div>
</div>
</div>
</aside>
<!-- Основная область -->
<main class="main-content">
<div class="top-bar">
<div class="date-time" id="datetime">2087-11-05 | 23:47:18</div>
<div class="search-box">
<i class="fas fa-search"></i>
<input type="text" placeholder="Search system...">
</div>
<div class="alert-indicator">
<i class="fas fa-exclamation-triangle"></i>
<span>3 ALERTS</span>
</div>
</div>
<div class="dashboard-grid">
<!-- Карточка 1: System Performance -->
<div class="card">
<div class="card-header">
<h2 class="card-title">System Performance</h2>
<div class="card-icon">
<i class="fas fa-microchip"></i>
</div>
</div>
<div class="chart-container">
<canvas id="performanceChart"></canvas>
</div>
</div>
<!-- Карточка 2: Network Traffic -->
<div class="card">
<div class="card-header">
<h2 class="card-title">Network Traffic</h2>
<div class="card-icon">
<i class="fas fa-network-wired"></i>
</div>
</div>
<div class="chart-container">
<canvas id="trafficChart"></canvas>
</div>
</div>
<!-- Карточка 3: Security Status -->
<div class="card">
<div class="card-header">
<h2 class="card-title">Security Status</h2>
<div class="card-icon">
<i class="fas fa-shield-alt"></i>
</div>
</div>
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Firewall</div>
<div class="stat-value">ONLINE</div>
</div>
<div class="stat-card">
<div class="stat-label">Intrusions</div>
<div class="stat-value">2</div>
</div>
<div class="stat-card">
<div class="stat-label">Encryption</div>
<div class="stat-value">AES-256</div>
</div>
<div class="stat-card">
<div class="stat-label">Last Scan</div>
<div class="stat-value">3h ago</div>
</div>
</div>
</div>
<!-- Карточка 4: Active Nodes -->
<div class="card">
<div class="card-header">
<h2 class="card-title">Active Nodes</h2>
<div class="card-icon">
<i class="fas fa-server"></i>
</div>
</div>
<table class="data-table">
<thead>
<tr>
<th>Node ID</th>
<th>Location</th>
<th>Status</th>
<th>Load</th>
</tr>
</thead>
<tbody>
<tr>
<td>NX-001</td>
<td>Sector 7-G</td>
<td><span class="status-badge status-online">Online</span></td>
<td>42%</td>
</tr>
<tr>
<td>NX-005</td>
<td>Sector 2-F</td>
<td><span class="status-badge status-online">Online</span></td>
<td>67%</td>
</tr>
<tr>
<td>NX-009</td>
<td>Sector 5-D</td>
<td><span class="status-badge status-warning">Warning</span></td>
<td>89%</td>
</tr>
<tr>
<td>NX-013</td>
<td>Sector 9-A</td>
<td><span class="status-badge status-offline">Offline</span></td>
<td>0%</td>
</tr>
</tbody>
</table>
</div>
<!-- Карточка 5: System Terminal -->
<div class="card full-width">
<div class="card-header">
<h2 class="card-title">System Terminal</h2>
<div class="card-icon">
<i class="fas fa-terminal"></i>
</div>
</div>
<div class="terminal">
<div class="terminal-line"><span class="terminal-prompt">></span>System initialized at 23:45:18</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Security protocols: ACTIVE</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Firewall: ONLINE | Version 7.4.2</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Intrusion detected: Sector 7-G</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Countermeasures engaged</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Threat neutralized</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Running system diagnostics...</div>
</div>
</div>
</div>
<footer>
<p>CYBERNEXUS SYSTEMS | SECURE CONNECTION ESTABLISHED | DATA ENCRYPTION: AES-256</p>
<p>LAST UPDATE: 05 NOV 2087 23:47:18 | USER: AGENT_KIRA | ACCESS LEVEL: 9</p>
</footer>
</main>
</div>
<script>
// Обновление времени
function updateDateTime() {
const now = new Date();
const dateStr = now.toISOString().slice(0, 10);
const timeStr = now.toTimeString().slice(0, 8);
document.getElementById('datetime').textContent = `${dateStr} | ${timeStr}`;
}
setInterval(updateDateTime, 1000);
updateDateTime();
// Инициализация графиков
document.addEventListener('DOMContentLoaded', function() {
// График производительности системы
const perfCtx = document.getElementById('performanceChart').getContext('2d');
const perfChart = new Chart(perfCtx, {
type: 'line',
data: {
labels: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00', '24:00'],
datasets: [{
label: 'CPU Usage',
data: [65, 59, 80, 81, 75, 82, 70],
borderColor: '#00eeff',
backgroundColor: 'rgba(0, 238, 255, 0.1)',
borderWidth: 2,
tension: 0.4,
fill: true
}, {
label: 'Memory Usage',
data: [45, 52, 60, 55, 70, 65, 58],
borderColor: '#aa00ff',
backgroundColor: 'rgba(170, 0, 255, 0.1)',
borderWidth: 2,
tension: 0.4,
fill: true
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
labels: {
color: '#80d0ff',
font: {
family: "'Share Tech Mono', monospace"
}
}
}
},
scales: {
y: {
beginAtZero: true,
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#80d0ff'
}
},
x: {
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#80d0ff'
}
}
}
}
});
// График сетевого трафика
const trafficCtx = document.getElementById('trafficChart').getContext('2d');
const trafficChart = new Chart(trafficCtx, {
type: 'bar',
data: {
labels: ['HTTP', 'HTTPS', 'FTP', 'SSH', 'RDP'],
datasets: [{
label: 'Traffic (GB)',
data: [42, 78, 15, 28, 19],
backgroundColor: [
'rgba(0, 238, 255, 0.7)',
'rgba(170, 0, 255, 0.7)',
'rgba(0, 119, 255, 0.7)',
'rgba(0, 238, 255, 0.7)',
'rgba(170, 0, 255, 0.7)'
],
borderColor: [
'rgba(0, 238, 255, 1)',
'rgba(170, 0, 255, 1)',
'rgba(0, 119, 255, 1)',
'rgba(0, 238, 255, 1)',
'rgba(170, 0, 255, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
}
},
scales: {
y: {
beginAtZero: true,
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#80d0ff'
}
},
x: {
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#80d0ff'
}
}
}
}
});
// Добавление строк в терминал
const terminal = document.querySelector('.terminal');
function addTerminalLine() {
const lines = [
"> Security audit completed: no vulnerabilities found",
"> Data sync with core servers: COMPLETE",
"> Backup initiated: Sector 3-D",
"> System resources: CPU 68% | MEM 72% | NET 45%",
"> Encryption cycle: 98% complete",
"> Network optimization: running",
"> New node detected: authenticating...",
"> Authentication complete: node NX-021 added"
];
const randomLine = lines[Math.floor(Math.random() * lines.length)];
terminal.innerHTML += `<div class="terminal-line"><span class="terminal-prompt">></span>${randomLine}</div>`;
terminal.scrollTop = terminal.scrollHeight;
}
setInterval(addTerminalLine, 5000);
// Случайный глитч-эффект
setInterval(() => {
document.querySelector('.logo').classList.toggle('glitch');
}, 3000);
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NEON NETWORK DASHBOARD</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: radial-gradient(circle at center, #050a18 0%, #01040f 100%);
color: #c5e8ff;
font-family: 'Rajdhani', sans-serif;
min-height: 100vh;
overflow-x: hidden;
position: relative;
line-height: 1.6;
}
.matrix-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
background-size: 40px 40px;
z-index: -2;
}
.grid-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 30%, rgba(106, 27, 154, 0.08) 0%, transparent 30%),
radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.08) 0%, transparent 30%);
pointer-events: none;
z-index: -1;
}
.scanline {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, transparent, rgba(0, 255, 213, 0.6), transparent);
box-shadow: 0 0 15px 2px rgba(0, 255, 213, 0.5);
animation: scan 6s linear infinite;
z-index: 999;
pointer-events: none;
}
@keyframes scan {
0% { top: -4px; }
100% { top: 100%; }
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
margin-bottom: 30px;
position: relative;
}
.logo {
font-family: 'Orbitron', sans-serif;
font-size: 2.8rem;
font-weight: 900;
text-transform: uppercase;
background: linear-gradient(90deg, #ff00cc, #00ccff, #6600ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 15px rgba(255, 0, 204, 0.4);
letter-spacing: 4px;
position: relative;
z-index: 10;
}
.logo::after {
content: "DASHBOARD";
position: absolute;
top: 0;
left: 0;
color: transparent;
text-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
z-index: -1;
animation: glitch 3s infinite linear;
}
@keyframes glitch {
0% { transform: translate(0); }
20% { transform: translate(-3px, 3px); }
40% { transform: translate(-3px, -3px); }
60% { transform: translate(3px, 3px); }
80% { transform: translate(3px, -3px); }
100% { transform: translate(0); }
}
.header-info {
display: flex;
gap: 30px;
align-items: center;
}
.date-time {
font-size: 1.3rem;
color: #00ccff;
font-family: 'Orbitron', sans-serif;
text-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
background: rgba(10, 20, 40, 0.5);
padding: 10px 20px;
border-radius: 30px;
border: 1px solid rgba(0, 204, 255, 0.3);
}
.user-info {
display: flex;
align-items: center;
gap: 15px;
background: rgba(10, 20, 40, 0.5);
padding: 8px 20px 8px 15px;
border-radius: 30px;
border: 1px solid rgba(255, 0, 204, 0.3);
}
.avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, #ff00cc, #6600ff);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
}
.user-details {
display: flex;
flex-direction: column;
}
.username {
font-weight: 600;
color: #ff00cc;
text-shadow: 0 0 8px rgba(255, 0, 204, 0.5);
}
.user-role {
font-size: 0.9rem;
color: #00ccff;
}
.dashboard-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 25px;
margin-bottom: 40px;
}
.card {
background: rgba(15, 20, 40, 0.7);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 12px;
padding: 25px;
box-shadow:
0 0 20px rgba(0, 217, 255, 0.1),
inset 0 0 15px rgba(0, 150, 255, 0.1);
position: relative;
overflow: hidden;
backdrop-filter: blur(5px);
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}
.card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(90deg, #ff00cc, #00ccff, #6600ff);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}
.card-title {
font-family: 'Orbitron', sans-serif;
font-size: 1.4rem;
color: #00ccff;
text-shadow: 0 0 8px rgba(0, 204, 255, 0.7);
letter-spacing: 1px;
}
.card-icon {
font-size: 1.8rem;
color: #ff00cc;
text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
}
.chart-container {
height: 250px;
position: relative;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 15px;
}
.stat-card {
background: rgba(25, 35, 70, 0.5);
border: 1px solid rgba(0, 217, 255, 0.2);
border-radius: 8px;
padding: 20px;
text-align: center;
position: relative;
overflow: hidden;
}
.stat-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #ff00cc, #6600ff);
}
.stat-value {
font-size: 2.5rem;
font-weight: bold;
color: #00ccff;
text-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
margin: 15px 0;
font-family: 'Orbitron', sans-serif;
}
.stat-label {
color: #a0c5ff;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
}
.progress-container {
margin: 20px 0;
}
.progress-label {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 1rem;
color: #a0c5ff;
font-weight: 500;
}
.progress-bar {
height: 12px;
background: rgba(40, 50, 90, 0.5);
border-radius: 6px;
overflow: hidden;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #ff00cc, #6600ff);
border-radius: 6px;
box-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
position: relative;
overflow: hidden;
}
.progress-fill::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
animation: progress-shine 2s infinite;
}
@keyframes progress-shine {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
.data-table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
.data-table th {
text-align: left;
padding: 12px 15px;
background: rgba(0, 150, 255, 0.15);
color: #00ccff;
font-weight: 600;
text-transform: uppercase;
font-size: 0.9rem;
letter-spacing: 1px;
font-family: 'Orbitron', sans-serif;
}
.data-table td {
padding: 14px 15px;
border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}
.data-table tr:hover td {
background: rgba(0, 200, 255, 0.1);
}
.status-indicator {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 10px;
box-shadow: 0 0 8px currentColor;
}
.status-active {
background: #00ff00;
color: #00ff00;
}
.status-warning {
background: #ffcc00;
color: #ffcc00;
}
.status-critical {
background: #ff3300;
color: #ff3300;
}
.terminal {
background: rgba(5, 10, 25, 0.7);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 8px;
padding: 15px;
font-family: 'Rajdhani', monospace;
height: 200px;
overflow-y: auto;
color: #00ccff;
font-size: 1rem;
line-height: 1.8;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.terminal-line {
margin-bottom: 5px;
display: flex;
}
.terminal-prompt {
color: #ff00cc;
margin-right: 10px;
min-width: 30px;
text-shadow: 0 0 5px rgba(255, 0, 204, 0.5);
}
.full-width {
grid-column: 1 / -1;
}
.half-width {
grid-column: span 2;
}
.glow-effect {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at center, rgba(0, 204, 255, 0.1) 0%, transparent 70%);
pointer-events: none;
z-index: -1;
}
.alert-badge {
position: absolute;
top: -10px;
right: -10px;
background: linear-gradient(135deg, #ff0066, #ff3300);
color: white;
font-size: 0.8rem;
font-weight: 600;
padding: 5px 10px;
border-radius: 20px;
box-shadow: 0 0 15px rgba(255, 0, 102, 0.7);
z-index: 10;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 10px rgba(255, 0, 102, 0.7); }
50% { box-shadow: 0 0 20px rgba(255, 0, 102, 0.9); }
100% { box-shadow: 0 0 10px rgba(255, 0, 102, 0.7); }
}
.node-map {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 20px;
}
.node {
background: rgba(25, 35, 70, 0.5);
border: 1px solid rgba(0, 217, 255, 0.3);
border-radius: 8px;
padding: 15px;
text-align: center;
position: relative;
overflow: hidden;
transition: all 0.3s;
}
.node:hover {
transform: scale(1.05);
box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}
.node::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #ff00cc, #6600ff);
}
.node-id {
font-family: 'Orbitron', sans-serif;
font-size: 1.2rem;
color: #00ccff;
margin-bottom: 10px;
text-shadow: 0 0 8px rgba(0, 204, 255, 0.5);
}
.node-status {
font-size: 0.9rem;
padding: 3px 10px;
border-radius: 20px;
display: inline-block;
margin-bottom: 15px;
}
.status-online {
background: rgba(0, 255, 150, 0.15);
color: #00ff99;
}
.status-offline {
background: rgba(255, 50, 100, 0.15);
color: #ff7799;
}
.node-stats {
display: flex;
justify-content: space-around;
}
.node-stat {
display: flex;
flex-direction: column;
}
.node-stat-value {
font-weight: 700;
font-size: 1.3rem;
color: #ff00cc;
text-shadow: 0 0 8px rgba(255, 0, 204, 0.5);
}
.node-stat-label {
font-size: 0.8rem;
color: #a0c5ff;
}
footer {
text-align: center;
padding: 30px 0 20px;
color: #80b0ff;
font-size: 0.9rem;
border-top: 1px solid rgba(0, 217, 255, 0.2);
margin-top: 20px;
font-family: 'Orbitron', sans-serif;
letter-spacing: 1px;
}
/* Адаптивность */
@media (max-width: 1100px) {
.dashboard-grid {
grid-template-columns: repeat(3, 1fr);
}
.half-width {
grid-column: span 3;
}
}
@media (max-width: 768px) {
.dashboard-grid {
grid-template-columns: repeat(2, 1fr);
}
.half-width {
grid-column: span 2;
}
header {
flex-direction: column;
gap: 20px;
}
.header-info {
width: 100%;
justify-content: center;
}
}
@media (max-width: 576px) {
.dashboard-grid {
grid-template-columns: 1fr;
}
.half-width {
grid-column: 1;
}
.header-info {
flex-direction: column;
}
}
</style>
</head>
<body>
<div class="matrix-bg"></div>
<div class="grid-overlay"></div>
<div class="scanline"></div>
<div class="container">
<header>
<div class="logo">NEON NETWORK</div>
<div class="header-info">
<div class="date-time" id="datetime">2087-11-05 | 23:47:18</div>
<div class="user-info">
<div class="avatar">
<i class="fas fa-user-astronaut"></i>
</div>
<div class="user-details">
<div class="username">SYSTEM_ADMIN</div>
<div class="user-role">ACCESS LEVEL 10</div>
</div>
</div>
</div>
</header>
<div class="dashboard-grid">
<!-- System Overview -->
<div class="card">
<div class="card-header">
<h2 class="card-title">System Overview</h2>
<i class="fas fa-globe-americas card-icon"></i>
</div>
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Nodes Online</div>
<div class="stat-value">87%</div>
</div>
<div class="stat-card">
<div class="stat-label">Threat Level</div>
<div class="stat-value">LOW</div>
</div>
<div class="stat-card">
<div class="stat-label">Bandwidth</div>
<div class="stat-value">2.7Tb/s</div>
</div>
<div class="stat-card">
<div class="stat-label">Uptime</div>
<div class="stat-value">99.8%</div>
</div>
</div>
</div>
<!-- CPU Usage -->
<div class="card">
<div class="card-header">
<h2 class="card-title">CPU Usage</h2>
<i class="fas fa-microchip card-icon"></i>
</div>
<div class="progress-container">
<div class="progress-label">
<span>Core Allocation</span>
<span>78%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 78%"></div>
</div>
</div>
<div class="chart-container">
<canvas id="cpuChart"></canvas>
</div>
</div>
<!-- Memory Usage -->
<div class="card">
<div class="card-header">
<h2 class="card-title">Memory Usage</h2>
<i class="fas fa-memory card-icon"></i>
</div>
<div class="progress-container">
<div class="progress-label">
<span>RAM Allocation</span>
<span>64%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" style="width: 64%"></div>
</div>
</div>
<div class="chart-container">
<canvas id="memoryChart"></canvas>
</div>
</div>
<!-- Network Traffic -->
<div class="card">
<div class="card-header">
<h2 class="card-title">Network Traffic</h2>
<i class="fas fa-network-wired card-icon"></i>
<div class="alert-badge">+12%</div>
</div>
<div class="chart-container">
<canvas id="networkChart"></canvas>
</div>
</div>
<!-- Security Status -->
<div class="card half-width">
<div class="card-header">
<h2 class="card-title">Security Status</h2>
<i class="fas fa-shield-alt card-icon"></i>
</div>
<div class="chart-container">
<canvas id="securityChart"></canvas>
</div>
</div>
<!-- System Logs -->
<div class="card half-width">
<div class="card-header">
<h2 class="card-title">System Logs</h2>
<i class="fas fa-terminal card-icon"></i>
</div>
<div class="terminal">
<div class="terminal-line"><span class="terminal-prompt">></span>System initialized at 23:45:18 UTC</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Security protocols: ACTIVE | Firewall v7.4</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Intrusion detected: Sector 7-G | Threat level: MEDIUM</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Countermeasures engaged | Threat neutralized</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Data encryption cycle: 98% complete</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Running system diagnostics... All systems nominal</div>
<div class="terminal-line"><span class="terminal-prompt">></span>Backup initiated: Sector 3-D | ETA 12min</div>
</div>
</div>
<!-- Node Map -->
<div class="card full-width">
<div class="card-header">
<h2 class="card-title">Network Node Map</h2>
<i class="fas fa-sitemap card-icon"></i>
</div>
<div class="node-map">
<div class="node">
<div class="node-id">CORE-001</div>
<div class="node-status status-online">ONLINE</div>
<div class="node-stats">
<div class="node-stat">
<div class="node-stat-value">42%</div>
<div class="node-stat-label">CPU</div>
</div>
<div class="node-stat">
<div class="node-stat-value">58%</div>
<div class="node-stat-label">MEM</div>
</div>
<div class="node-stat">
<div class="node-stat-value">1.2G</div>
<div class="node-stat-label">NET</div>
</div>
</div>
</div>
<div class="node">
<div class="node-id">EDGE-005</div>
<div class="node-status status-online">ONLINE</div>
<div class="node-stats">
<div class="node-stat">
<div class="node-stat-value">67%</div>
<div class="node-stat-label">CPU</div>
</div>
<div class="node-stat">
<div class="node-stat-value">72%</div>
<div class="node-stat-label">MEM</div>
</div>
<div class="node-stat">
<div class="node-stat-value">890M</div>
<div class="node-stat-label">NET</div>
</div>
</div>
</div>
<div class="node">
<div class="node-id">DB-009</div>
<div class="node-status status-online">ONLINE</div>
<div class="node-stats">
<div class="node-stat">
<div class="node-stat-value">35%</div>
<div class="node-stat-label">CPU</div>
</div>
<div class="node-stat">
<div class="node-stat-value">82%</div>
<div class="node-stat-label">MEM</div>
</div>
<div class="node-stat">
<div class="node-stat-value">450M</div>
<div class="node-stat-label">NET</div>
</div>
</div>
</div>
<div class="node">
<div class="node-id">AUTH-003</div>
<div class="node-status status-online">ONLINE</div>
<div class="node-stats">
<div class="node-stat">
<div class="node-stat-value">28%</div>
<div class="node-stat-label">CPU</div>
</div>
<div class="node-stat">
<div class="node-stat-value">41%</div>
<div class="node-stat-label">MEM</div>
</div>
<div class="node-stat">
<div class="node-stat-value">320M</div>
<div class="node-stat-label">NET</div>
</div>
</div>
</div>
<div class="node">
<div class="node-id">BACKUP-002</div>
<div class="node-status status-offline">OFFLINE</div>
<div class="node-stats">
<div class="node-stat">
<div class="node-stat-value">0%</div>
<div class="node-stat-label">CPU</div>
</div>
<div class="node-stat">
<div class="node-stat-value">0%</div>
<div class="node-stat-label">MEM</div>
</div>
<div class="node-stat">
<div class="node-stat-value">0</div>
<div class="node-stat-label">NET</div>
</div>
</div>
</div>
<div class="node">
<div class="node-id">CACHE-007</div>
<div class="node-status status-online">ONLINE</div>
<div class="node-stats">
<div class="node-stat">
<div class="node-stat-value">51%</div>
<div class="node-stat-label">CPU</div>
</div>
<div class="node-stat">
<div class="node-stat-value">63%</div>
<div class="node-stat-label">MEM</div>
</div>
<div class="node-stat">
<div class="node-stat-value">780M</div>
<div class="node-stat-label">NET</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<p>NEON NETWORK SYSTEMS | SECURE CONNECTION ESTABLISHED | ENCRYPTION: QUANTUM-AES-512</p>
<p>LAST UPDATE: 05 NOV 2087 23:47:18 | USER: SYSTEM_ADMIN | ACCESS LEVEL: 10</p>
</footer>
</div>
<script>
// Обновление времени
function updateDateTime() {
const now = new Date();
const dateStr = now.toISOString().slice(0, 10);
const timeStr = now.toTimeString().slice(0, 8);
document.getElementById('datetime').textContent = `${dateStr} | ${timeStr}`;
}
setInterval(updateDateTime, 1000);
updateDateTime();
// Инициализация графиков
document.addEventListener('DOMContentLoaded', function() {
// CPU Usage Chart
const cpuCtx = document.getElementById('cpuChart').getContext('2d');
const cpuChart = new Chart(cpuCtx, {
type: 'line',
data: {
labels: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00', '24:00'],
datasets: [{
label: 'CPU Usage',
data: [45, 52, 60, 65, 70, 78, 72],
borderColor: '#ff00cc',
backgroundColor: 'rgba(255, 0, 204, 0.1)',
borderWidth: 3,
tension: 0.4,
fill: true,
pointBackgroundColor: '#00ccff',
pointBorderColor: '#fff',
pointHoverRadius: 6,
pointRadius: 4
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
}
},
scales: {
y: {
min: 0,
max: 100,
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#a0c5ff'
}
},
x: {
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#a0c5ff'
}
}
}
}
});
// Memory Usage Chart
const memoryCtx = document.getElementById('memoryChart').getContext('2d');
const memoryChart = new Chart(memoryCtx, {
type: 'line',
data: {
labels: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00', '24:00'],
datasets: [{
label: 'Memory Usage',
data: [40, 45, 52, 58, 60, 64, 59],
borderColor: '#00ccff',
backgroundColor: 'rgba(0, 204, 255, 0.1)',
borderWidth: 3,
tension: 0.4,
fill: true,
pointBackgroundColor: '#ff00cc',
pointBorderColor: '#fff',
pointHoverRadius: 6,
pointRadius: 4
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
}
},
scales: {
y: {
min: 0,
max: 100,
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#a0c5ff'
}
},
x: {
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#a0c5ff'
}
}
}
}
});
// Network Traffic Chart
const networkCtx = document.getElementById('networkChart').getContext('2d');
const networkChart = new Chart(networkCtx, {
type: 'bar',
data: {
labels: ['HTTP', 'HTTPS', 'FTP', 'SSH', 'RDP', 'VPN'],
datasets: [{
label: 'Traffic (GB)',
data: [42, 78, 15, 28, 19, 35],
backgroundColor: [
'rgba(255, 0, 204, 0.7)',
'rgba(0, 204, 255, 0.7)',
'rgba(102, 0, 255, 0.7)',
'rgba(255, 0, 204, 0.7)',
'rgba(0, 204, 255, 0.7)',
'rgba(102, 0, 255, 0.7)'
],
borderColor: [
'rgba(255, 0, 204, 1)',
'rgba(0, 204, 255, 1)',
'rgba(102, 0, 255, 1)',
'rgba(255, 0, 204, 1)',
'rgba(0, 204, 255, 1)',
'rgba(102, 0, 255, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
}
},
scales: {
y: {
beginAtZero: true,
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#a0c5ff'
}
},
x: {
grid: {
color: 'rgba(0, 217, 255, 0.1)'
},
ticks: {
color: '#a0c5ff'
}
}
}
}
});
// Security Status Chart
const securityCtx = document.getElementById('securityChart').getContext('2d');
const securityChart = new Chart(securityCtx, {
type: 'radar',
data: {
labels: ['Firewall', 'Encryption', 'Intrusion', 'Malware', 'DDoS', 'Access'],
datasets: [{
label: 'Security Level',
data: [90, 85, 75, 80, 70, 95],
backgroundColor: 'rgba(0, 204, 255, 0.2)',
borderColor: 'rgba(0, 204, 255, 1)',
pointBackgroundColor: 'rgba(255, 0, 204, 1)',
pointBorderColor: '#fff',
pointHoverBackgroundColor: '#fff',
pointHoverBorderColor: 'rgba(255, 0, 204, 1)',
borderWidth: 2,
pointRadius: 5
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
r: {
angleLines: {
color: 'rgba(0, 217, 255, 0.2)'
},
grid: {
color: 'rgba(0, 217, 255, 0.2)'
},
pointLabels: {
color: '#a0c5ff',
font: {
size: 11
}
},
ticks: {
display: false,
stepSize: 20
},
suggestedMin: 0,
suggestedMax: 100
}
},
plugins: {
legend: {
labels: {
color: '#a0c5ff',
font: {
size: 12
}
}
}
}
}
});
// Добавление строк в терминал
const terminal = document.querySelector('.terminal');
function addTerminalLine() {
const lines = [
"> Security audit completed: no vulnerabilities found",
"> Data sync with core servers: COMPLETE",
"> Backup initiated: Sector 3-D | ETA 8min",
"> System resources: CPU 68% | MEM 72% | NET 45%",
"> Encryption cycle: 100% complete | Security upgraded",
"> Network optimization: running",
"> New node detected: authenticating...",
"> Authentication complete: node NX-021 added"
];
const randomLine = lines[Math.floor(Math.random() * lines.length)];
terminal.innerHTML += `<div class="terminal-line"><span class="terminal-prompt">></span>${randomLine}</div>`;
terminal.scrollTop = terminal.scrollHeight;
}
setInterval(addTerminalLine, 5000);
// Анимация узлов
const nodes = document.querySelectorAll('.node');
nodes.forEach(node => {
node.addEventListener('mouseenter', () => {
const glow = document.createElement('div');
glow.className = 'glow-effect';
node.appendChild(glow);
setTimeout(() => {
if (node.contains(glow)) {
node.removeChild(glow);
}
}, 1000);
});
});
});
</script>
</body>
</html>