Bug430-Eden2 #62

Closed
eden wants to merge 151 commits from Bug430-Eden2 into master

151 Commits (master)

Author SHA1 Message Date
Lan Hui 8d30ecc584 Course.php: format code for JavaScript function deleteGroup() 2023-09-09 19:22:15 +08:00
Lan Hui eccd584d76 Course.php: format code for JavaScript function removeMember() 2023-09-09 19:20:48 +08:00
Lan Hui 4caffe4709 Course.php: format code for JavaScript function accept() 2023-09-09 19:16:39 +08:00
Lan Hui d5165af308 Course.php: format code for JavaScript function invite() 2023-09-09 19:14:33 +08:00
Lan Hui a8b235052f Courses.php: better spacing and better variable name (fname -> faculty) 2023-09-08 19:46:51 +08:00
Lan Hui 33e454e3da Courses.php: better spacing 2023-09-08 19:42:49 +08:00
Lan Hui 849009e624 Courses.php: better variable name ( -> ) 2023-09-08 19:37:25 +08:00
Lan Hui 5683013655 Courses.php: better spacing and better variable name (academic -> academic_year) 2023-09-08 19:36:42 +08:00
Lan Hui aa349a8d6c Courses.php: format SQL code 2023-09-08 19:34:20 +08:00
Lan Hui 54d1d5ee97 Courses.php: better code spacing (3) 2023-09-07 20:02:30 +08:00
Lan Hui 1cac6bebea Courses.php: improve search logic 2023-09-07 19:49:35 +08:00
Lan Hui 79a928354b Courses.php: better code spacing (2) 2023-09-07 19:36:24 +08:00
Lan Hui 368c4763d2 Courses.php: variable renaming: -> 2023-09-07 19:33:03 +08:00
Lan Hui bc89e6c214 Courses.php: better code spacing 2023-09-07 19:32:09 +08:00
Lan Hui 0895121ed0 Courses.php: indent SQL code 2023-09-07 19:29:52 +08:00
Lan Hui 0e22600816 Courses.php: indent code 2023-09-06 19:50:32 +08:00
Lan Hui 6f689a2296 Courses.php: format SQL code 2023-09-06 19:40:30 +08:00
Lan Hui ae707cffca Courses.php: better spacing 2023-09-06 19:36:14 +08:00
Lan Hui 666ccd7260 Courses.php & Script.php: replace stdid with studentid 2023-09-06 19:33:59 +08:00
Lan Hui 399ac535a5 Courses.php: format SQL statement 2023-09-06 19:30:38 +08:00
Lan Hui 39cc069301 Courses.php: format code 2023-09-05 20:51:19 +08:00
Lan Hui 09301d84ca Courses.php: format SQL statement 2023-09-04 20:25:36 +08:00
Lan Hui 8fbf0f1d1d Courses.php: indent JavaScript code 2023-09-04 20:20:43 +08:00
Lan Hui 593ac0219a Submissions.php: replace frm with form 2023-09-03 20:42:15 +08:00
Lan Hui 6257818b86 Submissions.php: remove unused statements 2023-09-03 20:36:29 +08:00
Lan Hui 4292652e9b Submissions.php: capitalize SQL commands 2023-09-03 20:35:19 +08:00
Lan Hui f740ed9a03 Submissions.php: rename variable 2023-09-03 20:33:35 +08:00
Lan Hui d6365377ef Submissions.php: rename variables 2023-09-03 20:31:46 +08:00
Lan Hui ecce12e1f3 Submissions.php: format SQL statement 2023-09-03 20:30:25 +08:00
Lan Hui 59562ea497 index.php: password, not pass 2023-09-03 20:22:18 +08:00
Lan Hui 1c9c126f39 index.php: remove unnecessary space 2023-09-03 20:21:15 +08:00
Lan Hui d8aeeaa876 SubmitLab.php: add spaces around operator '=' 2023-09-03 20:17:39 +08:00
Lan Hui e5d4819f7d Course.php: indent SQL statement 2023-09-02 22:12:26 +08:00
Lan Hui 64c625ae58 SubmitLab.php: improve student's tab 'Submitted' 2023-09-01 19:11:11 +08:00
Lan Hui bef3f1ac39 SubmitLab.php: Group leader 2023-09-01 18:55:11 +08:00
Lan Hui 73f1e446cf SubmitLab.php: better SQL format 2023-09-01 18:54:41 +08:00
Lan Hui 25a5c89248 SubmitLab.php: better spacing (2) 2023-09-01 18:53:04 +08:00
Lan Hui 16235b175a SubmitLab.php: better spacing 2023-09-01 18:52:45 +08:00
Lan Hui 5ff32fae1a SubmitLab.php: make SQL statement look cleaner 2023-09-01 18:50:26 +08:00
Lan Hui faef5670db SubmitLab.php: indent code using web-mode 2023-09-01 18:48:55 +08:00
Lan Hui 702f7ebb19 SubmitLab.php: make the link text and link better by showing course name and by redirecting to the correct page after clicking 2023-09-01 18:47:43 +08:00
Lan Hui 71e835f3fd Course.php: indent JavaScript code. 2023-08-31 20:35:09 +08:00
Lan Hui 63c4da74f8 Course.php: make downloading attachment work & indent code. 2023-08-30 20:21:35 +08:00
Lan Hui 0e3e5aec8d Make posting assignment attachment work. 2023-08-29 21:34:58 +08:00
Lan Hui 84083981de Course.php: change warning message color to yellow. 2023-08-29 19:53:16 +08:00
Lan Hui de56d4bd6f Course.php: better DIV indentation. 2023-08-29 19:47:29 +08:00
Lan Hui 623634ba30 Course.php: better spacing around the '=' or '!=' operator. 2023-08-29 19:45:40 +08:00
Lan Hui c1aee1e457 Course.php: remove '`'. 2023-08-29 19:44:03 +08:00
Lan Hui 7282d80ce4 Course.php: use yellow as the color for the warning message. 2023-08-29 19:41:02 +08:00
Lan Hui a7aa3a103d Course.php: better indent SQL statement. 2023-08-29 19:40:07 +08:00
Lan Hui d0781cde08 Course.php: better indent HTML code. 2023-08-28 21:19:30 +08:00
Lan Hui 26bf3ec359 Course.php: better indent SQL statement. 2023-08-28 21:16:42 +08:00
Lan Hui 53cdccf8d7 Course.php: more space under tab and change message color to yellow. 2023-08-28 21:11:59 +08:00
Lan Hui 4f7cf62a24 Course.php: better code format. 2023-08-28 21:09:15 +08:00
Lan Hui 73273d75b9 Submissions.php: better code format. 2023-08-27 22:37:05 +08:00
Lan Hui a2f2c9c30f Submissions.php: better code format. 2023-08-26 20:12:46 +08:00
Lan Hui ad32a71cd9 Submissions.php: better highlighting. 2023-08-26 20:02:19 +08:00
Lan Hui 24131d3500 Submissions.php: more space above Total submissions. 2023-08-26 19:59:50 +08:00
Lan Hui 6200d6ab00 Submissions.php: simplify code logic. 2023-08-25 21:56:41 +08:00
Lan Hui 24af391961 Submissions.php: show group count. 2023-08-25 21:50:14 +08:00
Lan Hui 1b8e2bc76d Submissions.php: ignore cases where Student_ID is empty. 2023-08-25 21:42:01 +08:00
Lan Hui 5ac8062175 Submissions.php: better display course groups. 2023-08-25 21:37:57 +08:00
Lan Hui 32b1e81500 Submissions.php: format code. 2023-08-25 21:14:05 +08:00
Lan Hui 89f69a1692 Submissions.php: change left border size and color. 2023-08-25 21:10:12 +08:00
Lan Hui 44cd46451b Submissions.php: format code and make the appearance better. 2023-08-25 21:08:41 +08:00
Lan Hui eef551c2fb Submissions.php: improve assignment appearance. 2023-08-24 21:34:03 +08:00
Lan Hui 965d78c0c6 Script.php: improve notification message. 2023-08-24 21:29:17 +08:00
Lan Hui 117cc0431c Submissions.php: improve code readability. 2023-08-24 21:25:26 +08:00
Lan Hui baf2d831ef Course.php: better paragraphs. 2023-08-24 21:06:14 +08:00
Lan Hui 28617c9854 Course.php: better variable name . 2023-08-24 21:02:18 +08:00
Lan Hui 6b1d41a02d Course.php: better variable name . 2023-08-24 21:01:34 +08:00
Lan Hui 587474e074 Course.php: better variable name . 2023-08-24 20:59:27 +08:00
Lan Hui 97b682fdfb Course.php: better spacing. 2023-08-24 20:57:48 +08:00
Lan Hui f2dfb5ddd6 Course.php: make group invitation work. 2023-08-23 21:55:02 +08:00
Lan Hui b477edca1b Course.php: better spacing; removed unused code: echo '<ul>'; 2023-08-23 20:49:00 +08:00
Lan Hui 1875028472 Course.php: delete unused code. 2023-08-23 20:44:21 +08:00
Lan Hui 027c4fada6 Course.php: better code spacing. 2023-08-23 20:43:37 +08:00
Lan Hui 3270817a4b Course.php: remove link under Courses. 2023-08-23 20:31:11 +08:00
Lan Hui e41311dde9 Course.php: indent buffer using web-mode. 2023-08-23 20:15:55 +08:00
Lan Hui 0bf58fc282 Course.php: give the code better format; show None if there is no attachment. 2023-08-22 19:51:02 +08:00
Lan Hui 5ba25e7294 Header.php: show user name in bold face. 2023-08-22 19:39:41 +08:00
Lan Hui 44f478107f Admin.php: Admin user can see all courses. 2023-08-21 19:34:34 +08:00
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
Lan Hui 6b8f97dc58 Better JavaScript function name. 2023-08-02 15:12:24 +08:00
Lan Hui 7f870d8c7a Make Course.php look better. 2023-08-02 15:09:49 +08:00
Lan Hui 7ed74390ce Better JavaScript function name. 2023-08-02 15:03:25 +08:00
Lan Hui a1707314f5 Script.php: add the enclosing ?> for PHP code. 2023-08-02 15:02:19 +08:00
Lan Hui 58758be824 Remove **scratch** 2023-08-02 14:58:28 +08:00
Lan Hui 02da71b130 Make Submissions.php look better. 2023-08-02 14:57:08 +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 975cdfec63 Review & revise the files under directory doc/ 2023-07-31 17:42:22 +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
Lan Hui 443d76b639 Make Header.php look better 2023-07-31 17:10:53 +08:00
Lan Hui 24ed22e5b8 Make index.php look better 2023-07-31 17:09:21 +08:00
Lan Hui f81b98e6aa Indent code with Emacs web-mode 2023-07-31 16:55:47 +08:00
Lan Hui 5b8745cfe5 Update footer 2023-07-31 16:46:25 +08:00
Lan Hui a975dc638c Move <style> in index.php to Header.php 2023-07-31 16:45:07 +08:00
Lan Hui 830001e72d Make Header.php look better. 2023-07-31 16:39:53 +08:00
Lan Hui 760a80b461 Indent main.css. 2023-07-31 16:15:48 +08:00
Lan Hui 9424794cb3 Move <style> to <head>, and make a meaningful page title. 2023-07-31 16:14:47 +08:00
Lan Hui e455355da1 Remove redundant css link 2023-07-31 16:08:30 +08:00