chriscareycode / nagiostv-react

Monitor your Nagios server on a wall mounted TV (or a phone or desktop). Installation instructions are below in the README.md
https://nagiostv.com
GNU General Public License v2.0
67 stars 12 forks source link

"Quiet For X hours Y minutes" line is too large #28

Closed masutomo closed 3 years ago

masutomo commented 3 years ago

Hi Chris I like your nagios TV a lot about I found this problem in the 0.5.8, that this Quiet For bar takes up lots for blank space vertically in my Chromium Linux browser. I found this can be fixed by edit the main.XXX.css at: QuietFor.quietfor-xlarge-size{padding-top:100px;padding-bottom:100px} change to: QuietFor.quietfor-xlarge-size{padding-top:10px;padding-bottom:10px} Can this be fixed in the next version? Thanks.

chriscareycode commented 3 years ago

I did this change on purpose to help signify a longer quiet time vs a short quiet time

Previously I had been using color only to signify how long the quiet time was. red, orange, yellow, green . With red being short quiet time, up to green meaning the quiet time was very long.

In a recent version I added the padding to give a better visual indication of how long the quiet time was with short quiet time being vertically small and long quiet time being vertically long.

The xlarge size is a bit extreme with 100 pixels above and below. I will consider to make this less extreme for future version, or to add an option like "Show Quiet time length visually" to turn it on.

Also since there is so much color already on NagiosTV I think I may get rid of those colors on quiet time altogether and go with a neutral text color on dark background.

chriscareycode commented 3 years ago

Going back to a more minimal design. Coming up in the next release

chriscareycode commented 3 years ago

Fixed in v0.5.9