Using codeigniter, css framework and/or javascript framework, create a simple room booking system. To keep the application simple only 1 room and 3 users are to be considered. Room A, User 1, User 2 and User 3.
System specifications
1) A page showing a room and the status of the room, booked or available. If the room is booked, the ‘booked; radio button be selected along with the name of the person who booked it.
2) To book a room the user need to click on the booked radio button and the username
3) If a room is booked that room cannot be booked until it is free again
4) At any time a user can only book a room and a room can only be booked by one user
5) To book a room, a user click on the booked radio button and the username displayed in the
page.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |