KipK / openevse-gui-v2

OpenEVSE WiFi Gateway User Interface (V2)
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Highlight disabled icon background on limit reached #28

Closed fhteagle closed 1 year ago

fhteagle commented 1 year ago

If no schedule is set, only "charge" and "disabled" icons are shown on main charging tab, which is expected. If a limit is later set and reached, neither "charge" nor "disabled" buttons are shown as selected / active (white background for either button).

If limit is reached, "disabled" button should have filled in red background.

fhteagle commented 1 year ago

Also, the robot head next to "Limit" in status block is not consistent with the rest of the GUI (i.e. robot head is for schedule). I suggest setting the icon in the status block line to correspond the kind of limit that was reached. If energy, display lightning bolt next to Limit, if time, use hourglass icon next to Limit.

KipK commented 1 year ago

Yep it's planned I've already selected the icons. Also I have fixed the button states. It's now set to Off and buttons are disabled

KipK commented 1 year ago

should be ok with https://github.com/KipK/openevse-gui-v2/commit/80fc127fa1ffc67b5b148dd98e65164950fb7ff9