settings: Add an option to show MCQ distance from good
This commit is contained in:
parent
4b82987bbb
commit
63d8ae4ecd
4 changed files with 17 additions and 1 deletions
|
|
@ -66,6 +66,7 @@ func ApplySettings(config settings.FICSettings) {
|
|||
fic.PartialValidation = config.PartialValidation
|
||||
fic.UnlockedChallengeDepth = config.UnlockedChallengeDepth
|
||||
fic.DisplayAllFlags = config.DisplayAllFlags
|
||||
fic.DisplayMCQBadCount = config.DisplayMCQBadCount
|
||||
fic.FirstBlood = config.FirstBlood
|
||||
fic.SubmissionCostBase = config.SubmissionCostBase
|
||||
fic.HintCoefficient = config.HintCurCoefficient
|
||||
|
|
@ -97,6 +98,7 @@ func ResetSettings() error {
|
|||
UnlockedChallengeDepth: 0,
|
||||
SubmissionUniqueness: false,
|
||||
DisplayAllFlags: false,
|
||||
DisplayMCQBadCount: false,
|
||||
EventKindness: false,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -211,6 +211,13 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="config.displayMCQBadCount">
|
||||
<span class="custom-control-label">Afficher le décompte de mauvaises réponses des QCM</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="config.eventKindness">
|
||||
|
|
|
|||
Reference in a new issue