I have website where I want to see todays calender with appointments have for the doctor.
What I want to create is somewhat like below.
However instead of days, it will be minutes and all timings would be coming from database.
Let's say I have timing from 8:00 AM to 4:00 PM each with interval of 30 minutes.
What I want is like below structure using JSF.
Any idea how can I do this?
I know how to use datatables & get all this data in arraylist. For me issue in how can I design using HTML and CSS.
Note: All those squares will be buttons as I can edit those appointments also or I can make booking for that appointment too.
Edit 1
What I could do is use h:dataTable and bring the data from the array list... but for me the problem is on same button showing the name and button... is that possible?
Let's say I want in below way.
---------------
| Time |
| |
| Name |
---------------
Box I can make as button, but how can I write Name and Time over same box?