109 lines
3.0 KiB
HTML
109 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="refresh" content="15">
|
|
<title>Ruby Status Dashboard</title>
|
|
<style>
|
|
body {
|
|
background-color: #0f0f0f;
|
|
color: #e0e0e0;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
.nav {
|
|
background-color: #1e1e1e;
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.nav a {
|
|
color: #e0e0e0;
|
|
margin-right: 20px;
|
|
text-decoration: none;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
color: #ffd700;
|
|
}
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
.section {
|
|
background-color: #1a1a1a;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
}
|
|
.section h2 {
|
|
margin-top: 0;
|
|
color: #f0f0f0;
|
|
border-bottom: 1px solid #333;
|
|
padding-bottom: 5px;
|
|
}
|
|
.kv {
|
|
margin: 6px 0;
|
|
}
|
|
.kv strong {
|
|
display: inline-block;
|
|
width: 150px;
|
|
color: #ccc;
|
|
}
|
|
.dream-box {
|
|
background-color: #262626;
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
margin-top: 10px;
|
|
font-style: italic;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="nav">
|
|
<a href="/">📊 Dashboard</a>
|
|
<a href="/journal">📓 Journal</a>
|
|
<a href="/concepts">🧠 Concepts</a>
|
|
<a href="/brainmap">🕸️ Brain Map</a>
|
|
<a href="/growth">📈 Growth</a>
|
|
<a href="/dreams">🌃 Dreams</a>
|
|
<a href="/health">❤️ Health</a>
|
|
</div>
|
|
|
|
<h1>🧠 Ruby System Status</h1>
|
|
|
|
<div class="grid">
|
|
|
|
<div class="section">
|
|
<h2>🔄 Current Activity</h2>
|
|
<div class="kv"><strong>Action:</strong> {{ status.next_action_label }}</div>
|
|
<div class="kv"><strong>Next in:</strong> {{ status.next_cycle }} sec</div>
|
|
<div class="kv"><strong>Reading:</strong> {{ status.current_book or "None" }}</div>
|
|
<div class="kv"><strong>Line:</strong> {{ status.current_line }} ({{ status.percent_done }}%)</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h2>📊 System Stats</h2>
|
|
<div class="kv"><strong>Vocabulary:</strong> {{ status.vocab_size }}</div>
|
|
<div class="kv"><strong>Memory:</strong> {{ status.memory_size }}</div>
|
|
<div class="kv"><strong>Brain Map:</strong> {{ status.brainmap_size }}</div>
|
|
<div class="kv"><strong>Journal:</strong> {{ status.journal_count }}</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="section" style="margin-top: 20px;">
|
|
<h2>💤 Latest Dream</h2>
|
|
{% if status.dream %}
|
|
<div><strong>Score:</strong> {{ status.dream.score }}</div>
|
|
<div class="dream-box">{{ status.dream.sentence }}</div>
|
|
{% else %}
|
|
<p>No dreams yet.</p>
|
|
{% endif %}
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|