Job description
Hi,
I am creating a website for a developer with apartment floor plans.
I need you to create a plugin for me that will have a list/table on the admin side with select:
Apartment 1 - o free o reserved o occupied
Apartment 2 - o free o reserved o occupied
Apartment 3- o free o reserved o occupied
Apartment 4 - o free o reserved o occupied
And so we have 41 apartments.
example for apartment 1. Depending on what will be selected is for the special HTML attribute [data-shape-title="apartment-1"].
the plugin is to add a class: ".free", or ".reserved", or ".occupied">.
And so for each apartment. The purpose of this is simply to change the background color using the loaded class.
The hook for the frontend is the attribute: [data-shape-title="apartment-1"] where number, is the apartment number.
It would be nice if on the admin side it looked like the picture in the order: