2020-04-01 02:00:29 +03:00
|
|
|
module Examples.AssignmentIcon exposing (example, State, Msg)
|
2019-10-01 03:30:35 +03:00
|
|
|
|
|
|
|
{-|
|
|
|
|
|
2020-04-01 02:00:29 +03:00
|
|
|
@docs example, State, Msg
|
2019-10-01 03:30:35 +03:00
|
|
|
|
|
|
|
-}
|
|
|
|
|
2020-03-24 03:33:42 +03:00
|
|
|
import Category exposing (Category(..))
|
2020-03-31 23:33:05 +03:00
|
|
|
import Example exposing (Example)
|
2019-10-01 19:04:33 +03:00
|
|
|
import Examples.IconExamples as IconExamples
|
2019-10-01 03:30:35 +03:00
|
|
|
import Nri.Ui.AssignmentIcon.V1 as AssignmentIcon
|
|
|
|
import Nri.Ui.Icon.V5 as Icon
|
|
|
|
|
|
|
|
|
|
|
|
{-| -}
|
2020-04-01 02:00:29 +03:00
|
|
|
type alias State =
|
|
|
|
()
|
|
|
|
|
|
|
|
|
|
|
|
{-| -}
|
|
|
|
type alias Msg =
|
|
|
|
()
|
|
|
|
|
|
|
|
|
|
|
|
{-| -}
|
|
|
|
example : Example State Msg
|
2019-10-01 03:30:35 +03:00
|
|
|
example =
|
|
|
|
{ name = "Nri.Ui.AssignmentIcon.V1"
|
2020-03-31 23:33:05 +03:00
|
|
|
, categories = [ Icons ]
|
|
|
|
, state = ()
|
|
|
|
, update = \_ state -> ( state, Cmd.none )
|
|
|
|
, subscriptions = \_ -> Sub.none
|
|
|
|
, view =
|
|
|
|
\_ ->
|
|
|
|
[ IconExamples.view "Quiz engine"
|
|
|
|
[ ( "diagnostic", AssignmentIcon.diagnostic )
|
|
|
|
, ( "practice", AssignmentIcon.practice )
|
|
|
|
, ( "quiz", AssignmentIcon.quiz )
|
|
|
|
]
|
|
|
|
, IconExamples.view "Writing"
|
|
|
|
[ ( "quickWrite", AssignmentIcon.quickWrite )
|
|
|
|
, ( "guidedDraft", AssignmentIcon.guidedDraft )
|
|
|
|
, ( "peerReview", AssignmentIcon.peerReview )
|
|
|
|
, ( "selfReview", AssignmentIcon.selfReview )
|
|
|
|
]
|
|
|
|
, IconExamples.view "Stages"
|
|
|
|
[ ( "submitting", AssignmentIcon.submitting )
|
|
|
|
, ( "rating", AssignmentIcon.rating )
|
|
|
|
, ( "revising", AssignmentIcon.revising )
|
|
|
|
]
|
|
|
|
, IconExamples.view "Start"
|
|
|
|
[ ( "startPrimary", AssignmentIcon.startPrimary )
|
|
|
|
, ( "startSecondary", AssignmentIcon.startSecondary )
|
|
|
|
]
|
2020-05-18 23:56:51 +03:00
|
|
|
, IconExamples.view "Browse & Assign"
|
|
|
|
[ ( "assessment", AssignmentIcon.assessment )
|
|
|
|
]
|
2019-10-01 03:55:15 +03:00
|
|
|
]
|
2019-10-01 03:30:35 +03:00
|
|
|
}
|