Commit Graph

47 Commits

Author SHA1 Message Date
623291541a Fixing redirects 2024-07-28 15:23:12 +02:00
d7f7a2d8d9 Handling Calendar changes 2024-07-28 14:43:39 +02:00
14828fb901 Reservation calendar 4 2024-07-28 13:59:54 +02:00
7894a05daf Reservation Calendar 3 2024-07-27 22:39:23 +02:00
b97c6cba5c reservation calendar 2 2024-07-26 13:40:56 +02:00
a7cf9fe4f0 Showing the reservation calendar 2024-07-26 10:18:27 +02:00
5987fadb03 Deleting a reservation 2024-07-25 14:09:42 +02:00
fcd29cc082 Marking a resercation as processed 2024-07-25 13:51:31 +02:00
845f3a5836 Showing one reservation 2024-07-24 22:23:31 +02:00
dafd6f21c0 Listing new reservations 2024-07-24 14:20:30 +02:00
f93388a8e9 Listing all reservations 2024-07-22 22:14:48 +02:00
b34c217d98 create stub handlers for admin functionnality 2024-07-22 14:05:20 +02:00
ea796999d4 convert admin template into go template 2024-07-22 13:54:59 +02:00
51e3c74950 add admin dropdown 2024-07-22 13:10:17 +02:00
dedab91898 Protecting our routes with auth middleware 2024-07-22 10:13:50 +02:00
68d9110cd2 change flash to success 2024-07-22 10:04:08 +02:00
96f81418ec Checking to see if a user is logged in, and logging a user our 2024-07-22 10:00:17 +02:00
a0853cf880 Writing auth middleware 2024-07-19 18:40:19 +02:00
a6dca00199 Creating handler to log in 2024-07-19 10:02:58 +02:00
447bfc4599 Create the login screen 2024-07-19 09:23:24 +02:00
5d670c1dc5 fix availabilityJson post not working error: should pass CSRFToken into the function 2024-07-13 18:19:23 +02:00
e2e03307b7 Extrating js module 2024-07-11 23:30:17 +02:00
9775b67a2d Connecting the rooms page to make reservation page 2024-07-11 23:01:10 +02:00
fed901ce25 Providing feedback when searching by room, and connecting to the reservation page 2024-07-10 23:32:49 +02:00
5eb9284b6f Searching for availability by Room 2024-07-10 23:09:45 +02:00
e0a29d21c3 Cleaning up the reservation summary page and improbing validation 2024-07-10 22:55:54 +02:00
95cddfc950 Cleaning up our make reservation page and testing everything 2024-07-10 22:34:27 +02:00
5a646a2b27 Connection search availability to the make reservation page 2024-07-10 22:08:23 +02:00
Muyao CHEN
ab02f8e635 Connecting handlers to new database functions 2024-07-10 12:35:16 +02:00
2ae5d9a2c2 Setting up database functions: inserting a reservation 2024-07-08 23:04:17 +02:00
Muyao CHEN
d8d2abcde3 Finishing up our response to user, and adding alerts 2024-07-01 14:28:00 +02:00
Muyao CHEN
3ad57c754f Displaying a response to user after posting form data 2024-07-01 14:19:38 +02:00
Muyao CHEN
87dfd26268 Server Side form validation 3 2024-07-01 13:37:03 +02:00
Muyao CHEN
8be6ba7119 Server side form validation 2 2024-06-30 19:35:59 +02:00
Muyao CHEN
8394832428 Server-side form validation 1 2024-06-30 17:08:47 +02:00
Muyao CHEN
eca62e2e7b Sending AJAX post and generalizing the custom function 2024-06-30 16:37:57 +02:00
Muyao CHEN
e18849331c Sending & processing an AJAX request 2024-06-30 16:23:12 +02:00
Muyao CHEN
97b9898dfc rename reservation to availability 2024-06-30 10:51:29 +02:00
Muyao CHEN
76bee566cd Creating handlers for forms & adding CSRF Protection 2024-06-30 10:31:15 +02:00
Muyao CHEN
592d5241d1 Add check-avalability js 2024-06-29 21:42:15 +02:00
Muyao CHEN
0ca6de59fd Converting pages to templates 2024-06-29 21:30:06 +02:00
Muyao CHEN
6e6b003e05 Enabling static files 2024-06-28 22:30:19 +02:00
Muyao CHEN
c15e4da93c Experimenting with sessions 2024-06-28 15:41:25 +02:00
Muyao CHEN
668e88e578 Sharing data with templates: cycle import error 2024-06-28 10:40:47 +02:00
Muyao CHEN
10d4172f3c Working with layouts 2024-06-26 22:25:04 +02:00
Muyao CHEN
b207b9a293 Reorg code, add basic styling to pages 2024-06-26 21:56:58 +02:00
Muyao CHEN
ab6184e675 Serving HTML Templates 2024-06-26 18:10:56 +02:00