alaudet / raspi-sump

A sump pump monitoring system using Python and Raspberry Pi
https://www.linuxnorth.org/raspi-sump/
MIT License
92 stars 36 forks source link

Restyle Web Page #78

Closed revendoc closed 1 year ago

revendoc commented 1 year ago

Update webpage with new navigation menu using bootstrap.

alaudet commented 1 year ago

Yup just loaded it up and I like it. Looks much better on mobile. I can work with this and will merge this into devel. Still a couple of tweaks to do but that menu on browser that changes to hamburger menu on smaller screens is much nicer.

But awesome, I appreciate this contribution and is a nicer approach.

alaudet commented 1 year ago

merged to devel

alaudet commented 1 year ago

index.html located on devel branch at https://github.com/alaudet/raspi-sump/blob/devel/conf/web/index.html

fitig commented 1 year ago

Out of curiosity, does the new page "degrade" gracefully when there is no internet? I could imagine a situation where the pi is powered on but internet is down during a storm and I am nervously / constantly checking my water level. I suppose I'd probably be opening the pit and just looking myself or just look at the .csv file but I'm lazy :-) . This is by no means a necessity, just a curiosity.

alaudet commented 1 year ago

Out of curiosity, does the new page "degrade" gracefully when there is no internet? I could imagine a situation where the pi is powered on but internet is down during a storm and I am nervously / constantly checking my water level. I suppose I'd probably be opening the pit and just looking myself or just look at the .csv file but I'm lazy :-) . This is by no means a necessity, just a curiosity.

As long as there is power to the pi you should be fine. There is no dependancy on internet access. You may lose some formatting from bootstrap but you could still read the graphs.

revendoc commented 1 year ago

@alaudet - I just made a few adjustments as a followup to your comments on the last contribution.

alaudet commented 1 year ago

Thanks changes merged. Much appreciated

alaudet commented 1 year ago

It's already looking better and I am good with this for now. Thanks for your help, much appreciated.