diff options
author | gennyble <gen@nyble.dev> | 2025-02-25 17:17:59 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2025-02-25 17:17:59 -0600 |
commit | 5cbf6129e57bed9e509a25ca5b238b36b205566b (patch) | |
tree | 5972c78212d85b3b04758836ef1daa317b72cc2f | |
parent | ae1b92b000b15186bdde1519215395957490ae1f (diff) | |
download | ∞-5cbf6129e57bed9e509a25ca5b238b36b205566b.tar.gz ∞-5cbf6129e57bed9e509a25ca5b238b36b205566b.zip |
Remove bit about no sense of time as time is real again
-rw-r--r-- | served/starlight.html | 10 | ||||
-rw-r--r-- | served/styles/statistics.css | 9 |
2 files changed, 12 insertions, 7 deletions
diff --git a/served/starlight.html b/served/starlight.html index 3ab528b..b24a7f0 100644 --- a/served/starlight.html +++ b/served/starlight.html @@ -13,9 +13,8 @@ I've been wanting to build a little monitoring/system stats thing for awhile, and I can't think of a reason I care about to not make it public. Maybe you'll find it interesting, anyways. -Graphs are unanimated GIFs and, currently, have no concept of time. -Samples are taken every minute and graphs are generated every fifteen, -so data should be reasonably current. +Graphs are unanimated GIFs. Samples are taken every minute and graphs +are generated every fifteen, so data should be reasonably current. [@paragraphs off] <section id="stats"> @@ -36,11 +35,8 @@ so data should be reasonably current. <img src="/api/stats/current_hostnetinfo.gif" id="hostnetinfo"> <p> TX in blue // RX in green<br /> - range from 0kBps to 1MBps<br /> + range from 0kbps to {stats.net.max_bound}kbps<br /> parsed from <code>/proc/net/dev</code> </p> - <p> - not auto-ranging; values may draw over the top - </p> </section> </section> \ No newline at end of file diff --git a/served/styles/statistics.css b/served/styles/statistics.css index 2b9bb61..be0c370 100644 --- a/served/styles/statistics.css +++ b/served/styles/statistics.css @@ -20,4 +20,13 @@ display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.5rem; +} + +/* too-narrow. "mobile" style */ +@media (max-width: 50rem) { + #stats { + display: flex; + flex-direction: column; + row-gap: 0.5rem; + } } \ No newline at end of file |