admin: New settings to define how to unlock standalone exercices
This commit is contained in:
parent
516ebf9c5a
commit
a1ce2df131
2 changed files with 25 additions and 0 deletions
|
@ -132,6 +132,27 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body pb-2 border-top">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group row">
|
||||
<label for="unlockedStandaloneExercices" class="col-sm-auto col-form-label col-form-label-sm" ng-class="{'text-primary font-weight-bold': config.unlockedStandaloneExercices != dist_config.unlockedStandaloneExercices}">Exercices indépendants débloqués</label>
|
||||
<div class="col-sm">
|
||||
<input type="number" class="form-control form-control-sm" id="unlockedStandaloneExercices" ng-model="config.unlockedStandaloneExercices" ng-class="{'border-primary': config.unlockedStandaloneExercices != dist_config.unlockedStandaloneExercices}" min="0">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<div class="form-group row">
|
||||
<label for="unlockedStandaloneExercicesByValidation" class="col-sm-auto col-form-label col-form-label-sm" ng-class="{'text-primary font-weight-bold': config.unlockedStandaloneExercicesByValidation != dist_config.unlockedStandaloneExercicesByValidation}">Exercices supplémentaires par validation</label>
|
||||
<div class="col-sm">
|
||||
<input type="number" class="form-control form-control-sm" id="unlockedStandaloneExercicesByValidation" ng-model="config.unlockedStandaloneExercicesByValidation" ng-class="{'border-primary': config.unlockedStandaloneExercicesByValidation != dist_config.unlockedStandaloneExercicesByValidation}" min="0" step="0.01">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body pl-0 pt-3 border-top" style="columns: 2;">
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
|
|
Reference in a new issue