ashokkrish / spatialEpisim

spatialEpisim: Spatial Tracking of Infectious Disease Epidemics using Mathematical Models
GNU General Public License v3.0
9 stars 4 forks source link

SEI compartment checkboxes are selectable (user is able to deselect them) #30

Closed bryce-carson closed 3 months ago

bryce-carson commented 4 months ago

The S, E, and I compartment selectors are not supposed to be enabled at the moment. They are supposed to be disabled, each with a value of 1 so that they are always on and cannot be turned off. Furthermore, the visual style of the application as it is (with MRU-style colours) makes it difficult to see the combo-button contents compared to a default bootstrap CSS.

bryce-carson commented 4 months ago

Compare the appearance of the boxes when the MRU-styled CSS is used, versus default bootstrap styling.

MRU-style

Screenshot 2024-07-15 at 22-41-53 spatialEpisim

Bootstrap default

Screenshot 2024-07-15 at 23-15-46 spatialEpisim

ashokkrish commented 4 months ago

I would like the MRU-style please.

bryce-carson commented 4 months ago

I would like the MRU-style please.

Sure. The current MRU-style CSS needs some work, in my opinion, but an MRU colour scheme would be pleasant to have in the end. I'll open an issue to track that, because there are a lot of small points where things were overriden at too high a level and visual detail is lost, like the difference in the background colour of the combined checkbox group between the selected and unselected buttons/checkboxes.