This pull request contains the Numbas (SCORM) frontend changes.
Summary of key features:
Launch Numbas (SCORM 2004) tests
Upload test zip file for task and configure related properties (attempt limit, review, etc.)
Save and resume tests
Review completed attempts
Override attempt pass status
Delete attempts
Request more attempts if none left
Prevent file upload if test not passed
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Test this together with the backend doubtfire-api/new/numbas-integration changes. Make sure to disable browser web security or CORS for the test viewing functionality to work.
Login as convenor to configure tests and manage test attempts. Login as student to launch and view tests and make test attempts.
Screenshots:
Convenor view for configuration:
Default student view:
Student view if unsuccessful but more attempts are left:
Student view if passed:
Student view if passed without mistakes:
Attempt request:
Student view if no more attempts left:
Tutor view for attempt request:
Testing Checklist:
[x] Tested in latest Chrome
[x] Tested in latest Safari
[x] Tested in latest Firefox
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have requested a review from @macite, @jakerenzella and @maddernd on the Pull Request
Description
This pull request contains the Numbas (SCORM) frontend changes.
Summary of key features:
Type of change
How Has This Been Tested?
Test this together with the backend
doubtfire-api/new/numbas-integration
changes. Make sure to disable browser web security or CORS for the test viewing functionality to work.Login as convenor to configure tests and manage test attempts. Login as student to launch and view tests and make test attempts.
Screenshots:
Convenor view for configuration:
Default student view:
Student view if unsuccessful but more attempts are left:
Student view if passed:
Student view if passed without mistakes:
Attempt request:
Student view if no more attempts left:
Tutor view for attempt request:
Testing Checklist:
Checklist: