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,19 +39,20 @@
(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-accordion
nil
"Grading Table" (ml-sbt/tbl:render-tbl '("Score Range" "Grade" "Percentile range")
'(("84.1-100" "A+" "96-100")
("80.8-84.0" "A" "90-95")
("78.9-80.7" "A-" "85-89")
("77.2-78.8" "B+" "80-84")
("74.1-77.1" "B" "70-79")
("72.6-74.0" "B-" "65-69")
("71.1-72.5" "C+" "60-64")
("65.0-71.0" "C" "41-59")
("62.7-64.9" "C-" "35-40")
("51.7-62.6" "D" "15-34")
("0.0-51.6" "F" "0-14"))))
(:id "sus-grading-table")
"Grading Table"
(ml-sbt/tbl:render-tbl '("Score Range" "Grade" "Percentile range")
'(("84.1-100" "A+" "96-100")
("80.8-84.0" "A" "90-95")
("78.9-80.7" "A-" "85-89")
("77.2-78.8" "B+" "80-84")
("74.1-77.1" "B" "70-79")
("72.6-74.0" "B-" "65-69")
("71.1-72.5" "C+" "60-64")
("65.0-71.0" "C" "41-59")
("62.7-64.9" "C-" "35-40")
("51.7-62.6" "D" "15-34")
("0.0-51.6" "F" "0-14"))))
(:div :class "row"
(with-section-col
(with-title-bar "Results"