| Feature | File type | File path | Notes |
|---|---|---|---|
| Main pages | |||
| Main page | PHP | index.php | Does the routing using PHP GET method |
| Popup Loader | PHP | load_form.php | Loads the data into the popup (only available on main page) |
| Dashboard | |||
| User dashboard | HTML | matter/dashboard.htm | This is temporary and should be changed. |
| Staff dashboard | HTML | matter/dashboard.htm | This is temporary and should be changed. |
| Popups | |||
| Login popup | PHP | php/login.php | Handles the SQL queries to DB for login |
| HTML | matter/login.htm | HTML code used to populate the login popup | |
| Sign Up popup | PHP | php/signup.php | Handles the SQL queries to DB for signup |
| HTML | matter/signup.htm | HTML code used to populate the signup popup | |
- Encryption of the passwords
- Dashboard pages
- Availibility pages (+editing page for staff)
- Course pages
- Booking & Confirmation page
The course can probably be merged into the dashboard, same for the availability page. We might want to add some sort of phonebook to search through staff members with office hours (maybe allow multi selection to preview multiple OH in one calendar view). This would require a selection box to choose the staff with whom we want a booking.
- Line 49 in
php/login.phpmight not require the extra SQL query to revalidate the user. - Encryption not working.
The navigation bar isn't hard coded in the top.htm, but rather is loaded with JS in on_page_load.js. This is to change the navigation bar and allow other items to be added.