Replies: 1 comment
-
Very nice, I'll have a look at this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Was looking for a way to change the background color based on some sort of state change. Some folks (@RoboMagus and @cadeluca) over on Homepage contributed this and with my very limited JavaScript knowledge and much trial and error I took their input and adjusted for my use.
It basically changes the background color to red when my UPS battery goes below 100%, when Cloudflare Tunnel becomes "Un-Healthy" and when Healthchecks goes "Down".
In the case of the services.yaml file just add id: as defined in custom.js
description: APC BE600M1
id: nutcase
icon: ups.png
Attached are my custom.js and custom.css file
Hope this is of value!
Al...
custom.css.txt
custom.js.txt
Beta Was this translation helpful? Give feedback.
All reactions