Hui-Organize #57

Open
mrlan wants to merge 219 commits from Hui-Organize into master

219 Commits (master)

Author SHA1 Message Date
Lan Hui 44aa38be76 Add a new regression test: test_student_can_join_course 2024-09-28 09:46:52 +08:00
Lan Hui debd85e74d Add two new regression tests: test_student_with_valid_student_number_can_sign_up, test_student_with_invalid_student_number_cannot_sign_up 2024-09-27 10:16:01 +08:00
Lan Hui 39c14f7425 Add a new regression test: test_lecturer_can_add_student_numbers 2024-09-26 18:14:37 +08:00
Lan Hui 1ed7e2e394 Add test case: test_lecturer_can_post_assignment 2024-09-25 16:10:55 +08:00
Lan Hui a34ab61916 Add a new regression test 2024-09-24 09:09:54 +08:00
Lan Hui 33f997412b Improve the test script 2024-09-22 11:28:02 +08:00
Lan Hui b1dbd94b00 Add a regression test script and fix bug 2024-09-22 10:50:49 +08:00
Lan Hui 7388868678 README.md: edit 2024-09-17 14:58:47 +08:00
Lan Hui aa85b742f5 README.md: how to restore database 2024-09-17 14:51:22 +08:00
Lan Hui e1c95395ef README.md: seperate Q and A into two different lines 2024-09-17 14:40:23 +08:00
mrlan 65920bc0ac Merge pull request 'Fix bug 193 http://118.25.96.118/bugzilla/show_bug.cgi?id=193' (#35) from Bug193-Martha into Hui-Organize
Reviewed-on: #35
2024-09-16 19:25:29 +08:00
Lan Hui e66af1f419 Fix Bug 193 2024-09-16 19:22:39 +08:00
mrlan 162b347119 Merge pull request 'BUG430-Eden test script' (#70) from Eden-Testscript into Hui-Organize
Reviewed-on: #70
2024-09-16 18:47:01 +08:00
mrlan 5ebb0ccd6c Merge pull request 'Fix Bug 430' (#63) from Bug430-Eden into Hui-Organize
Reviewed-on: #63
2024-09-15 16:03:59 +08:00
Lan Hui 5bbd812189 Fix bug 430 2024-09-15 16:02:40 +08:00
Lan Hui 162de63b4d Merge branch 'Bug430-Eden' of http://118.25.96.118:3000/mrlan/LRR into Bug430-Eden 2024-09-15 15:45:20 +08:00
mrlan 88d20ed476 Merge pull request 'Bug486-Nartey' (#65) from Bug486-Nartey into Hui-Organize
Reviewed-on: #65
2024-09-15 15:34:57 +08:00
Lan Hui 5d0d0d91f7 Resolve merge conflict 2024-09-15 15:32:30 +08:00
mrlan fea32072c3 Merge pull request 'Bug352-Neil-Revised' (#69) from Bug352-Neil-Revised into Hui-Organize
Reviewed-on: #69
2024-09-15 14:23:42 +08:00
nartey 5639ce4c6b test script 2024-06-21 13:32:50 +08:00
nartey 8f3919d3bb TestScript 2024-06-21 13:16:11 +08:00
ADMASU EDEN SOLOMON da18cb617d BUG430-Eden test script 2024-06-21 06:06:32 +08:00
Lan Hui 23e192568f Merge branch 'Hui-Organize' of http://118.25.96.118:3000/mrlan/LRR into Bug352-Neil-Revised 2024-05-10 08:13:21 +08:00
Lan Hui dc3ff79b5d Rename test_cases.py to test_bug352_neil.py, and change some lines to use fixtures in conftest.py. 2024-05-10 08:13:04 +08:00
Lan Hui 690db8d5fe Merge branch 'BUG352-NEIL2' of http://118.25.96.118:3000/mrlan/LRR into Bug352-Neil-Revised 2024-05-10 07:34:56 +08:00
mrlan 1a01b4facd Merge pull request 'added my version of the test script' (#67) from Bug418-Yaaqob into Hui-Organize
Reviewed-on: #67
2024-05-10 07:19:52 +08:00
Lan Hui 4024a36021 (1) Move conftest.py to the top level test directory so that it applies to all test subfolders; (2) Move login() to helper.py so that it could be reused by other test scripts. 2024-05-10 07:17:56 +08:00
KOUONTCHOU NEIL ARMSTRONG f600f2bc24 this is the demo video link https://cloud.zjnu.edu.cn/share/5d5a595aa863203768489383cd a second live demonsatration would be made in class 2024-05-08 15:48:49 +01:00
KOUONTCHOU NEIL ARMSTRONG 8e200b647f udpdate that includes database restore make sure the original database link is ok in the case of error 2024-05-08 15:42:56 +01:00
KOUONTCHOU NEIL ARMSTRONG dcd0e522c7 updated code tha uses fixture to restore the database. make sure the link of the database sql file is set nomally. this is the demo video https://cloud.zjnu.edu.cn/share/5d5a595aa863203768489383cd 2024-05-07 12:45:03 +01:00
Lan Hui 4da1c5a641 Merge branch 'Hui-Organize' of http://118.25.96.118:3000/mrlan/LRR into Bug418-Yaaqob 2024-05-03 15:38:06 +08:00
Lan Hui f2aa60c994 Define extra fixtures (i.e., driver, url, admin_username, admin_password) in conftest.py and use them 2024-05-03 15:34:39 +08:00
Lan Hui 5b72461eda Make the password work 2024-05-02 20:45:06 +08:00
Lan Hui ff092f2a8e Merge branch 'Bug418-Yaaqob' of http://118.25.96.118:3000/mrlan/LRR into Bug418-Yaaqob 2024-05-02 19:11:42 +08:00
YAAQOB ABDULSATTAR HAMID ABDULQADER 622ed4350f added my version of the test script 2024-04-29 14:14:19 +08:00
ADMASU EDEN SOLOMON 64ffc3af1c Resolve merge conflict( probably due to overlapping changes made in branch Bug557-Ayoub 2024-01-12 02:24:45 +08:00
mrlan fde44f7600 Merge pull request 'Fix Bug 557' (#61) from Bug557-Ayoub into Hui-Organize
Reviewed-on: #61
2024-01-08 18:25:36 +08:00
mrlan 44a7d4533e Merge pull request 'BUG352-NEIL2' (#59) from BUG352-NEIL2 into Hui-Organize
Reviewed-on: #59
2024-01-08 18:24:59 +08:00
mrlan 70d2bb4504 Merge pull request 'Fixed Bug418' (#58) from Bug418-YAAQOB-MPIANA into Hui-Organize
Reviewed-on: #58
2024-01-08 18:24:21 +08:00
Nartey Sylvester Amanor 9f03d380cd Fix Bug486 2023-12-31 19:43:47 +08:00
Nartey Sylvester Amanor c1f95ce017 Bug Fix 486 2023-12-31 18:20:22 +08:00
KOUONTCHOU NEIL ARMSTRONG 9d1670577e this is the demo video.https://share.weiyun.com/I6ojWg0E 2023-12-27 22:45:36 +01:00
KOUONTCHOU NEIL ARMSTRONG a87c741c13 Update test case script with improvements
- Removing unused statement.
- Testing already existing accounts.
2023-12-27 22:29:25 +01:00
ADMASU EDEN SOLOMON adc9daef98 Fix Bug 430 2023-12-27 03:15:49 +08:00
YAAQOB ABDULSATTAR HAMID ABDULQADER 2dcbfab501 Merge branch 'Bug418-YAAQOB-MPIANA' of http://118.25.96.118:3000/mrlan/LRR into Bug418-YAAQOB-MPIANA 2023-12-27 00:11:46 +08:00
YAAQOB ABDULSATTAR HAMID ABDULQADER cd7ece13bc MPIANA updated test script test_assign_ta.py 2023-12-27 00:08:41 +08:00
YAAQOB ABDULSATTAR HAMID ABDULQADER 20cc8a332c Merge branch 'Hui-Organize' of http://118.25.96.118:3000/mrlan/LRR into Bug418-YAAQOB-MPIANA 2023-12-27 00:03:50 +08:00
Lan Hui 1c560589ba Merge branch 'Bug557-Ayoub' of http://118.25.96.118:3000/mrlan/LRR into Bug557-Ayoub 2023-12-23 17:17:27 +08:00
Lan Hui 61212c8e94 Merge branch 'Bug418-YAAQOB-MPIANA' of http://118.25.96.118:3000/mrlan/LRR into Bug418-YAAQOB-MPIANA 2023-12-23 15:54:35 +08:00
KOUONTCHOU NEIL ARMSTRONG da9e29c5b6 this is the video https://cloud.zjnu.edu.cn/share/7c5a9ec7a87883c105687cf234 2023-12-22 15:05:33 +01:00
KOUONTCHOU NEIL ARMSTRONG f3f7e0ccfd Update test case script with improvements
- Introduce pytest framework to consolidate test cases into a single file.
- Directly test the login functionality for newly created Teaching Assistants (TA's).
2023-12-22 14:59:17 +01:00
RBAHI AYOUB 5a82c91304 Fix Bug 557 2023-12-20 03:52:29 +08:00
KOUONTCHOU NEIL ARMSTRONG f29f2d5212 3 test files has been added to the project this files can be found under the folder test and subfolder SeleniumNeil a demonstation video is found in this link https://cloud.zjnu.edu.cn/share/6c07a0f2ed1304743078234ea1 2023-12-19 15:03:57 +01:00
Lan Hui e6487c5d1a Admin.php: use yellow color for warning message 2023-12-12 20:17:44 +08:00
Lan Hui 3ee85d0bda Script.php: remove unused statements 2023-12-12 19:22:54 +08:00
Lan Hui 2255a1a9eb Script.php: not Users_Table, but users_table -- every letter in the table name should be in lowercase 2023-12-12 19:21:24 +08:00
Lan Hui 2b0574fd6d Admin.php: improve indentation 2023-12-12 19:17:53 +08:00
Lan Hui 0a7d4a5afa Admin.php: use a better instruction for the password 2023-12-12 19:05:53 +08:00
Lan Hui 12e9038dec Script.php: make DB connection work. 2023-12-12 19:02:41 +08:00
KOUONTCHOU NEIL ARMSTRONG 71ce1e1345 update the sql connections 2023-12-06 03:36:54 +01:00
KOUONTCHOU NEIL ARMSTRONG 7f26ff5fc9 bug 352 update 6-12-23 2023-12-06 03:23:42 +01:00
KOUONTCHOU NEIL ARMSTRONG fec5499861 bug352 script.php update 2023-12-06 03:02:55 +01:00
KOUONTCHOU NEIL ARMSTRONG f3ef8d8e5c Fix Bug352 2023-12-06 02:40:34 +01:00
KOUONTCHOU NEIL ARMSTRONG ef87c1248f Fix Bug352 2023-12-06 02:34:46 +01:00
YAAQOB ABDULSATTAR HAMID ABDULQADER cf30889bdd removed punctuations from sql statement, and added MPIANA selenium test case 2023-12-04 12:30:38 +08:00
Lan Hui ff407da550 Merge branch 'Bug418-YAAQOB-MPIANA' of http://118.25.96.118:3000/mrlan/LRR into Bug418-YAAQOB-MPIANA 2023-11-28 19:07:21 +08:00
YAAQOB ABDULSATTAR HAMID ABDULQADER 7b68043060 Fixed Bug418 2023-11-27 10:40:35 +08:00
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
Lan Hui fc8ad0c0a9 Fix bug 193 http://118.25.96.118/bugzilla/show_bug.cgi?id=193 2022-03-23 14:57:05 +08:00