Update HTML

This commit is contained in:
Marcus Kammer 2024-06-18 17:43:53 +02:00
parent bec6208f32
commit 3f7620d1b9
2 changed files with 6 additions and 6 deletions

View file

@ -34,6 +34,7 @@
(defmacro navbar (&body body)
`(spinneret:with-html
(:nav :class "navbar bg-body-tertiary navbar-expand-sm mb-5"
:aria-label "Primary Navigation"
(:div :class "container"
,@body))))

View file

@ -6,11 +6,10 @@
(with-page (:title "Survey Details")
(navbar-en)
(:section :class "container"
(:h2 (format nil "Survey ID: ~a" (ml-survey:survey-id survey)))
(:h3 "Properties")
(:p (format nil "Survey ID: ~a" (ml-survey:survey-id survey)))
(:h2 "Properties")
(ml-survey:survey-html survey)
(when results
(:h3 "Questionnaire Results")
(:ul
(loop for result in results do
(:li result)))))))
(:h2 "Questionnaire Results")
(:ul (loop for result in results do
(:li result)))))))