Reformat sus display code

This commit is contained in:
Marcus Kammer 2025-01-05 15:46:10 +01:00
parent f74b63d436
commit 905067fcb0
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -39,8 +39,9 @@
(defmethod displayer-generate-html ((disp sus-displayer) results &optional group-stats survey-id) (defmethod displayer-generate-html ((disp sus-displayer) results &optional group-stats survey-id)
(with-section (with-title-bar (format nil "~A" (displayer-name disp))) (with-section (with-title-bar (format nil "~A" (displayer-name disp)))
(with-accordion (with-accordion
nil (:id "sus-grading-table")
"Grading Table" (ml-sbt/tbl:render-tbl '("Score Range" "Grade" "Percentile range") "Grading Table"
(ml-sbt/tbl:render-tbl '("Score Range" "Grade" "Percentile range")
'(("84.1-100" "A+" "96-100") '(("84.1-100" "A+" "96-100")
("80.8-84.0" "A" "90-95") ("80.8-84.0" "A" "90-95")
("78.9-80.7" "A-" "85-89") ("78.9-80.7" "A-" "85-89")