New version with grafana

This commit is contained in:
erik 2025-05-23 08:11:11 +00:00
parent f86ad9a542
commit b2f649a489
6 changed files with 201 additions and 21 deletions

View file

@ -220,7 +220,7 @@ body {
}
/* ---------- chat window styling ------------------------------- */
.chat-btn {
.chat-btn, .stats-btn {
margin-top: 4px;
padding: 2px 6px;
background: var(--accent);
@ -231,7 +231,7 @@ body {
cursor: pointer;
}
.chat-window {
.chat-window, .stats-window {
position: absolute;
top: 10px;
/* position window to start just right of the sidebar */
@ -319,3 +319,24 @@ body.noselect, body.noselect * {
stroke-linecap: round;
stroke-linejoin: round;
}
/* -------------------------------------------------------- */
/* Stats window: 2×2 iframe grid and flexible height */
.stats-window {
/* allow height to expand to fit two rows of panels */
height: auto;
}
.stats-window .chat-messages {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: auto;
gap: 10px;
padding: 10px;
overflow: visible;
background: #f7f7f7;
color: #000;
}
.stats-window iframe {
width: 350px;
height: 200px;
border: none;
}