You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
591 B
34 lines
591 B
module Evergreen.V1.CalculateurDeNotes exposing (..)
|
|
|
|
|
|
type alias Reponses =
|
|
List String
|
|
|
|
|
|
type alias Eleve =
|
|
{ numeroEtudiant : String
|
|
, numeroSujet : Int
|
|
, nomEtudiant : String
|
|
, prenomEtudiant : String
|
|
, reponses : Reponses
|
|
, note : Maybe Float
|
|
}
|
|
|
|
|
|
type alias Eleves =
|
|
List Eleve
|
|
|
|
|
|
type alias Model =
|
|
{ bareme : String
|
|
, reponsesCorrectes : String
|
|
, reponsesEleves : String
|
|
, eleves : Eleves
|
|
}
|
|
|
|
|
|
type Msg
|
|
= NouveauBareme String
|
|
| NouvellesReponsesCorrectes String
|
|
| NouvellesReponsesEleves String
|
|
| TelechargerNotes
|
|
|