Commit Graph

465 Commits (e5d4819f7df2998be120694c05a4d15b6c885675)

Author SHA1 Message Date
Lan Hui 11a35b326d Header.php: do not show 'My courses' for Admin. 2023-08-21 19:25:57 +08:00
Lan Hui eef84ab25f Admin.php: show Admin link icon for Admin user. 2023-08-21 19:21:35 +08:00
Lan Hui aed70f3056 Admin.php: fix a bug that prevents Lecturer from blocking/activating a TA 2023-08-20 22:03:33 +08:00
Lan Hui 48cff9c8d9 Admin.php: remove dash before TA name (if any). If no TA is available, show 'None' instead of leaving it empty. 2023-08-19 21:11:48 +08:00
Lan Hui 6309a32a07 Admin.php: SQL statement in one line. 2023-08-19 20:56:03 +08:00
Lan Hui c3183773ea Admin.php: remove superfluous whitespaces before comma. 2023-08-19 20:54:15 +08:00
Lan Hui 93ba7d4389 Admin.php: remove superfluous if statement. 2023-08-19 20:53:12 +08:00
Lan Hui 12239d9a29 Admin.php: remove superfluous if statement. 2023-08-19 20:49:33 +08:00
Lan Hui ec0d73db52 Admin.php: better spacing. 2023-08-19 20:47:26 +08:00
Lan Hui d1d37f46e4 Admin.php: better spacing. 2023-08-19 20:46:32 +08:00
Lan Hui 2aefceedee Admin.php: remove superfluous DIV tags. 2023-08-19 20:44:21 +08:00
Lan Hui 87d5c51e9b Admin.php: move the position of including Footer.php. 2023-08-19 20:39:45 +08:00
Lan Hui 2284e78179 Admin.php: Improve tab 'Create instructor account'. 2023-08-19 20:37:53 +08:00
Lan Hui 1c4acbf31b Better code indentation. Better style for listings. 2023-08-13 21:30:56 +08:00
Lan Hui 6a840566d2 Solve the no X problem in modal dialogue (complete it). 2023-08-12 21:29:49 +08:00
Lan Hui 90f8e7b835 Solve the no X problem in modal dialogue. 2023-08-12 21:25:16 +08:00
Lan Hui 0bcb687cb3 Revise info message. 2023-08-12 20:58:28 +08:00
Lan Hui debd5a124e Update jquery and jquery-ui. 2023-08-12 20:56:27 +08:00
Lan Hui 590661d02b Make the 'New assignment' page look better. 2023-08-11 22:26:40 +08:00
Lan Hui 632ee82e7b Use Bootstrap's card class to make things look better. 2023-08-11 22:12:59 +08:00
Lan Hui 965540c522 Remove unused CSS class definitions. 2023-08-11 21:55:56 +08:00
Lan Hui a7a33e1400 Remove unused CSS class definitions. Make spacing better. 2023-08-11 21:53:55 +08:00
Lan Hui fc6a1d0223 Simplify page title. 2023-08-11 21:45:22 +08:00
Lan Hui a5d90e5c50 Courses.php: seperate form from php. 2023-08-10 22:52:28 +08:00
Lan Hui 380c79fd8a Indent Courses.php using Emacs web-mode. 2023-08-10 22:48:12 +08:00
Lan Hui 2fa24bba94 Use default col-md-4 from Bootstrap 5. 2023-08-10 22:46:04 +08:00
Lan Hui 498f5549df Make index page, sign up page and recover password page look better. 2023-08-10 22:41:59 +08:00
Lan Hui 89395dbb98 Make student's interface look better. 2023-08-09 16:40:26 +08:00
Lan Hui a4a413f700 Use card class while displaying assignments in New and Marked tabs. 2023-08-09 14:18:05 +08:00
Lan Hui 6af2d77912 Add non-sticky footer. 2023-08-08 15:02:26 +08:00
Lan Hui 0e4a49fb3d Make nav tabs work, and make buttons look better. 2023-08-07 16:39:19 +08:00
Lan Hui 9c529e0022 Upgrade to Bootstrap 5. TODO: nav tab does not work in Admin.php. 2023-08-06 17:43:36 +08:00
Lan Hui 7d28f987d2 Make pages look even better. 2023-08-05 16:11:27 +08:00
Lan Hui e74c018a8c Remove Footer.php because it is not useful. 2023-08-05 14:53:43 +08:00
Lan Hui 6a4f44df73 Better information display for the student's assignment status. 2023-08-04 20:42:40 +08:00
Lan Hui c490974dd7 Better look. 2023-08-04 18:44:10 +08:00
Lan Hui 0a677fa9d3 Use abetter form title. 2023-08-04 18:34:52 +08:00
Lan Hui 890083d159 Use better form information. 2023-08-04 18:31:03 +08:00
Lan Hui 732a22b9c1 Use Bootstrap's default primary button style - that one looks nicer. 2023-08-04 18:29:16 +08:00
Lan Hui 05303096e1 CSS tweaks. 2023-08-04 18:26:22 +08:00
Lan Hui da6ffcf306 If a user has already logged in, he will not see the login page again after he clicks the LRR logo. 2023-08-04 18:14:05 +08:00
Lan Hui 6be0908210 Make pages look better. List courses in descending order creation. 2023-08-04 15:24:51 +08:00
Lan Hui 954006ff0b Make a student's Course Page look better. The first letter in a button name is uppercase, others are in lowercase. 2023-08-03 16:31:16 +08:00
Lan Hui dd0fc3a005 README.md: create database before import 2023-08-03 16:14:32 +08:00
Lan Hui a485c4eaf1 README.md: Add a section on solving the character-coding problem in the MySQL dump file. 2023-08-03 16:05:24 +08:00
Lan Hui 68f9db8e1d Make PHP having UTF-8 encoding. 2023-08-03 15:31:38 +08:00
Lan Hui 020d7a2c04 Delte mail_spam.html because it is not used. 2023-08-02 15:31:01 +08:00
Lan Hui a758c5a2c6 Do not track .DS_Store 2023-08-02 15:29:47 +08:00
Lan Hui 4f7cda823b Make Courses.php look better. 2023-08-02 15:28:29 +08:00
Lan Hui 122bd27e80 Better indented JavaScript code. 2023-08-02 15:27:51 +08:00