Commit Graph

45 Commits (2fa24bba94bc89d7adb3ac3e9227117abc1db140)

Author SHA1 Message Date
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
Software Project Management 058eb2adac
Merge pull request #21 from lanlab-org/Ashly-Tafadzwa-Dhani-201632120150-Contributor_List
Allowing all group member to submit assignment and allowing Lecturer to edit assignment info.
2020-04-18 17:49:48 +08:00
CloudStarTreck 2a6ed869ff Updating Course_id variable
In the input form of Posting New Lab assignment in COurse.php, the COurse_id variable was converted from int to a char string by adding dots around the variable. This caused a 44440 upload error since the column can only hold integers.
2020-04-18 17:30:40 +08:00
和user.email 674ba53cfd Link js css files to local. -Dai 2020-04-17 22:20:28 +08:00
CloudStarTreck f894e79de1 Editing report by Instructor
In the previous update, the form for editing assignments by instructor was failing to retrieve <textarea> Now its working fine. (Line 171 Courses.php)
2020-04-08 10:05:17 +08:00
CloudStarTreck 25f9b4ff0f Allowing all group member to submit assignment and allowing Lecture to Edit Assignments
Two Issues have been Fixed

1)Firstly
Only Group Admins were able to submit group assignments and the system was indicating to other members that they missed the deadline.

This Problems was solved through the following stages:

Create 4 new columns 'Member_ID1-4 Varchar(50) DEFAULT 0' in the database table 'course_group_table' (this will limit each group to max 5 members you can check the file Script.php from line 1071.)

Changing the SQL query in SubmitLab.php to allow both Group Member and Group Admin to submit assignment. (However for this feature to take effect with backward compat, the group admin might need to invite other members again into the group or else they still wont be able to submit but all the group assignments will indicate that they have been submitted by the admin. For any new group after the update it works perfect.)

Changing the Course.php allows other members to be updated once 1 member submit the assignment.

2)Secondly
The Tutor couldnt modify assignments once posted.

Adding an 'Edit' Button on the Tutor's page allows him to modify new and old assignment without any duplications. This feature afftected Courses.php from line 109.

Group
Ashly Tafadzwa Dhani 201632120150
Samantha Rusike 201632120140
2020-04-06 23:45:30 +08:00
CloudStarTreck 2ac128c680 adding LRR files
uploading the full project online
2020-03-16 15:23:14 +08:00