The current availability calendar does not use colors to indicate whether a place has beds or not.
It would be nice to have an input in the sidebar saying "number of persons" and if a hut has at least that many beds available, the corresponding cell should be colored green.
One way to do this is to add custom CSS to the dataframe.
The current availability calendar does not use colors to indicate whether a place has beds or not.
It would be nice to have an input in the sidebar saying "number of persons" and if a hut has at least that many beds available, the corresponding cell should be colored green.
One way to do this is to add custom CSS to the dataframe.
https://stackoverflow.com/questions/43596579/how-to-use-pandas-stylers-for-coloring-an-entire-row-based-on-a-given-column
And combine this with https://shiny.posit.co/py/docs/ui-customize.html#custom-css.