MDL-80880 quiz: change display of previous attempts summary
commita57d88b3834806e5daa63b2d07d39d819b671d0e
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 9 Feb 2024 19:52:49 +0000 (9 19:52 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 5 Mar 2024 12:02:11 +0000 (5 12:02 +0000)
tree71ac49fdc6456e8faf7cb6a1d4835b3e0f5d4034
parent8feeacc42577aa2ead185b61452e88d05b566434
MDL-80880 quiz: change display of previous attempts summary

Rather than a table (neither reponsive nor very accesible) we now
represent a student's previous attempts with cards. The content
of the cards is now the same table as at the top of the review
attempt page.
13 files changed:
mod/quiz/classes/output/attempt_summary_information.php
mod/quiz/classes/output/list_of_attempts.php [new file with mode: 0644]
mod/quiz/classes/output/renderer.php
mod/quiz/classes/output/view_page.php
mod/quiz/classes/quiz_attempt.php
mod/quiz/lang/en/quiz.php
mod/quiz/styles.css
mod/quiz/templates/list_of_attempts.mustache [new file with mode: 0644]
mod/quiz/tests/attempt_test.php
mod/quiz/tests/behat/preview.feature
mod/quiz/tests/behat/reattempt_quiz.feature
mod/quiz/upgrade.txt
mod/quiz/view.php