Ball/imagespite tinydb

i am making a room reservation app, and is thinking of using a imagespite or a ball(colorchange) to indicate whether the room is available or not. i am using a tinydb to store room infos, and is thinking of adding the colorchange along with it. can anyone suggest how to make this work, or any alternative to make the goal happen? thank you!

The reservation is a table row with date and room as a compound key.

How to display should be totally removed from how you store it.

i added some screenshots to give a better description

Perhaps something like this:

image

1 Like

yeah, but i also want the color change to be saved. like when i close and open the app, the changes in colors would remain. i am using tinydb. my brain is not braining aisjhdiahsdia

This shows the requirements for one room:

A procedure could be created to handle all rooms, along with the use of the anySwitch components and possibly the everySwitch block.

If you can cope without using a floorplan image and just use rectangles (vertical arrangements), then you could use buttons (set to oval):

image

This would be a good use for SVG graphics in a Web Viewer.

You can build the SVG text on the fly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.