I want a sliding switch. On the left would be Off and on the right would be On. When the user toggles the switch, a callback to the database would establish if the item linked to the button is still available (green light) or not (red light)
Any idea how to do this?