2019-10-01 03:30:35 +03:00
|
|
|
module Examples.AssignmentIcon exposing (example)
|
|
|
|
|
|
|
|
{-|
|
|
|
|
|
|
|
|
@docs example, styles
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
import Examples.IconHelpers exposing (viewIconSection)
|
|
|
|
import ModuleExample exposing (Category(..), ModuleExample)
|
|
|
|
import Nri.Ui.AssignmentIcon.V1 as AssignmentIcon
|
|
|
|
import Nri.Ui.Colors.V1 as Colors
|
|
|
|
import Nri.Ui.Icon.V5 as Icon
|
|
|
|
import Nri.Ui.Svg.V1 as Svg
|
|
|
|
|
|
|
|
|
|
|
|
{-| -}
|
|
|
|
example : ModuleExample msg
|
|
|
|
example =
|
|
|
|
{ name = "Nri.Ui.AssignmentIcon.V1"
|
|
|
|
, category = Icons
|
|
|
|
, content =
|
2019-10-01 03:55:15 +03:00
|
|
|
[ viewIconSection "Quiz engine icons"
|
2019-10-01 03:30:35 +03:00
|
|
|
[ ( "diagnostic", Svg.toHtml AssignmentIcon.diagnostic )
|
|
|
|
, ( "practice", Svg.toHtml AssignmentIcon.practice )
|
|
|
|
, ( "quiz", Svg.toHtml AssignmentIcon.quiz )
|
2019-10-01 03:55:15 +03:00
|
|
|
]
|
|
|
|
, viewIconSection "Writing assignment icons"
|
|
|
|
[ ( "quickWrite", Svg.toHtml AssignmentIcon.quickWrite )
|
2019-10-01 03:30:35 +03:00
|
|
|
, ( "guidedDraft", Svg.toHtml AssignmentIcon.guidedDraft )
|
|
|
|
, ( "peerReview", Svg.toHtml AssignmentIcon.peerReview )
|
|
|
|
, ( "selfReview", Svg.toHtml AssignmentIcon.selfReview )
|
|
|
|
]
|
2019-10-01 03:55:15 +03:00
|
|
|
, viewIconSection "Peer Review sub-assignment icons"
|
2019-10-01 03:48:08 +03:00
|
|
|
[ ( "submitting", Svg.toHtml AssignmentIcon.submitting )
|
2019-10-01 03:50:19 +03:00
|
|
|
, ( "rating", Svg.toHtml AssignmentIcon.rating )
|
2019-10-01 03:53:34 +03:00
|
|
|
, ( "revising", Svg.toHtml AssignmentIcon.revising )
|
2019-10-01 03:48:08 +03:00
|
|
|
]
|
2019-10-01 03:30:35 +03:00
|
|
|
]
|
|
|
|
}
|