Commit Graph

56 Commits (97b682fdfb874d96c5bcfbe3a1d7ac04a3267bd8)

Author SHA1 Message Date
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 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 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 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 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 0a677fa9d3 Use abetter form title. 2023-08-04 18:34:52 +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 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
Lan Hui 6b8f97dc58 Better JavaScript function name. 2023-08-02 15:12:24 +08:00
Lan Hui a56b4c00dd (1) Make php files look better; (2) Removed Visitors.php and Reset_password.php because they are no longer used; (3) TODO: review Submissions.php, Script.php, Course.php and Courses.php. 2023-08-01 17:02:33 +08:00
Lan Hui 197437f6a1 Make Courses.php look better 2023-07-31 17:15:35 +08:00
Lan Hui 346fb348c7 Move css class .form-control from Courses.php to Header.php 2023-07-31 17:13:36 +08:00
Hui Lan d94421a160 Fix typos listed in Bug 519. 2023-01-19 18:30:04 +08:00
ileaderx 868f5854a2 Fixed the Bug produced by fixing Bug196 2022-06-20 00:15:04 +03:00
ileaderx 8a47d3733c Fixed bug196 2022-06-19 15:49:56 +03:00
EDSON NYONI 0065489fcb Bug 404 Edson 201938330189 (#42)
Writing the course code in lower letters, results in "No results found for your Search" i solved this issue by adding  $search=strtoupper($_GET['search']); line in courses.php file

Co-authored-by: edson <edsonnyoni92@gmail.com>
Co-authored-by: Lan Hui <lanhui@zjnu.edu.cn>
Reviewed-on: http://121.4.94.30:3000/mrlan/LRR/pulls/42
Co-authored-by: EDSON NYONI <edsonnyoni92@gmail.com>
Co-committed-by: EDSON NYONI <edsonnyoni92@gmail.com>
2022-06-17 23:33:39 +08:00
Lan Hui fa1932c95c Max input length set to 11 characters. 2022-06-17 22:42:08 +08:00
SayidCali jamac bd8062502b show current academic courses and order them
Implemented filters for the following:
Case 1: the user has entered something under "Find course by Code".
List the courses whose course code matches the entered course code, in reverse chronological order.

Case 2: the user has not entered something under "Find course by Code".
If there is a value for "List courses by faculty", list all courses that belong to the entered faulty, in reverse chronological order.

Otherwise, list the student's joined courses (already done), in reverse chronological order.
2022-06-11 09:44:34 +03:00
SayidCali jamac ded10c1ff8 Revert "courses filter current year and ordering"
This reverts commit eee1a5e8ad.
2022-06-11 08:44:42 +03:00
SayidCali jamac eee1a5e8ad courses filter current year and ordering 2022-06-11 08:24:52 +03:00
bmth eb532d10af “LiangLigang” 2022-05-19 12:35:27 +08:00
Ibrahim ef6e79f31c Update 3: test cases 07-16 2021-12-05 00:59:43 +08:00
Ibrahim cf11ed40ad Update 2.5: Replaced some ID names 2021-12-03 10:58:07 +08:00
Ibrahim 6c6e60aac2 Update 2: test cases 05-07 2021-11-29 02:19:37 +08:00
Lan Hui 2d57786dc6 Courses.php: indent code. 2021-10-20 23:21:07 +08:00
Lan Hui 2aa691bf87 Courses.php: fix typo 'Invidual' 2021-10-18 21:52:05 +08:00
Hui Lan e49b047a93 Courses.php: trim course code before search for it. 2021-02-17 22:15:26 +08:00
Software Project Management 6e5eff11de
Merge pull request #53 from lanlab-org/Mabasaa
Mabasa Nyasha Mutyambizi 202025800045-Fixed Bug 51:
2020-12-29 12:00:46 +08:00
Hui Lan 4318437b16 Courses.php: be more specific on 'Code'. 2020-12-24 18:27:14 +08:00
Mabasa-elexma aa6401c5cd Mabasa Nyasha Mutyambizi 202025800045-Fixed Bug 51: Unable to find course after entering the course code. 2020-12-21 20:10:58 +08:00
Hui Lan ada55d3394 [Refactoring] Particularly make the SQL statement that shows new assigmments in Coruse.php less messy. 2020-10-02 17:02:20 +08:00
Hui Lan 1abe47788c Bug fixes for bug reports from 2020-09-24 to 2020-09-29. 2020-09-29 17:38:14 +08:00
Hui Lan df3b48553a Several fixes (sign up/sign in, recover password, etc). 2020-09-26 20:08:39 +08:00
Hui Lan 18f2e7023a Courses.php: change info_Updated to info_updated. PHP usually uses camelCase as its naming convention. In that case, there should be no underscore between info and Updated. 2020-04-20 20:11:40 +08:00
Hui Lan be86db36e9 Courses.php: fix typo Successfull. 2020-04-20 20:07:04 +08:00