Commit 7891afe6 authored by Bruno Burke's avatar Bruno Burke 😁

use bulma-css classes in get-result-color-class

parent eeebcaec
......@@ -9,10 +9,10 @@
points-max (:points-max result)]
(cond
(and points points-max
(== points points-max)) "green lighten-4"
(== points points-max)) "has-background-success"
(and points points-max
(< 0 points points-max)) "yellow lighten-4"
(and points (<= points 0)) "red lighten-4"
(< 0 points points-max)) "has-background-warning"
(and points (<= points 0)) "has-background-danger"
:else "")))
(defn renderMath [id]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment