92 lines
2.2 KiB
HTML
92 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Ruby's Dashboard</title>
|
|
<style>
|
|
body {
|
|
background-color: #121212;
|
|
color: #e0e0e0;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
h1, h2 {
|
|
color: #ffffff;
|
|
}
|
|
p, li {
|
|
color: #cccccc;
|
|
}
|
|
ul {
|
|
list-style-type: square;
|
|
}
|
|
.section {
|
|
margin-bottom: 30px;
|
|
}
|
|
.divider {
|
|
border-top: 1px solid #333;
|
|
margin: 20px 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
|
|
<div class="nav">
|
|
<a href="/">🏠 Home</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>
|
|
</div>
|
|
|
|
<h1>Ruby is Running 🧠</h1>
|
|
|
|
<div class="section">
|
|
<h2>⏳ Next Cycle Countdown</h2>
|
|
<p id="countdown">{{ next_cycle }} seconds</p>
|
|
</div>
|
|
|
|
<script>
|
|
function updateCountdown() {
|
|
var countdown = document.getElementById("countdown");
|
|
var seconds = parseInt(countdown.innerText.split(" ")[0]);
|
|
if (seconds > 0) {
|
|
seconds -= 1;
|
|
countdown.innerText = seconds + " seconds";
|
|
}
|
|
}
|
|
setInterval(updateCountdown, 1000);
|
|
</script>
|
|
|
|
<div class="section">
|
|
<p><strong>Vocabulary Size:</strong> {{ vocab_size }}</p>
|
|
<p><strong>Memory Entries:</strong> {{ memory_size }}</p>
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
|
|
|
<div class="section">
|
|
<h2>🏆 Highest Scoring Dreams</h2>
|
|
<ul>
|
|
{% for dream in top_dreams %}
|
|
<li><strong>{{ dream.score }}</strong> | {{ dream.sentence }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
|
|
|
<div class="section">
|
|
<h2>📉 Recent Loss</h2>
|
|
<ul>
|
|
{% for loss in loss_data %}
|
|
<li>{{ loss }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|