|
11 | 11 | </div>
|
12 | 12 | </nav>
|
13 | 13 | <div class="row">
|
14 |
| - <div class="col"> |
15 |
| - <div class="row-mx-2 d-flex flex-column justify-content-center epsilon"> |
16 |
| - <button (click)="goToGeneral()" class="btn btn-sm btn-light col">Général</button> |
17 |
| - <button class="btn btn-sm btn-light col" disabled>Score</button> |
18 |
| - <button (click)="goToSuivi()" class="btn btn-sm btn-light col">Suivi</button> |
| 14 | + <div class="col flex-column"> |
| 15 | + <div class="row "> |
| 16 | + <div class="row-mx-2 d-flex flex-column justify-content-start epsilon"> |
| 17 | + <button (click)="goToGeneral()" class="btn btn-sm btn-light col">Général</button> |
| 18 | + <button class="btn btn-sm btn-light col" disabled>Score</button> |
| 19 | + <button (click)="goToSuivi()" class="btn btn-sm btn-light col">Suivi</button> |
| 20 | + </div> |
19 | 21 | </div>
|
20 |
| - <div *ngIf="quiz !== null" class="form-filter-scores"> |
| 22 | + <div *ngIf="quiz !== null" class="form-filter-scores row"> |
21 | 23 | <form (change)="changeScoresDisplayedDateHours()" [formGroup]="changeFilterScores">
|
22 | 24 | <b>Trier par dates</b>
|
23 | 25 | <br/>
|
|
68 | 70 | <div *ngFor="let question of quiz.questions; let i=index" class="card m-2 p-2">
|
69 | 71 | <div class="epsilon">
|
70 | 72 | <button (click)="enableDisableQuestion(question.id, user.ignoredQuestions.includes(question.id))"
|
71 |
| - class="btn btn-sm" [ngClass]="user.ignoredQuestions.includes(question.id) ? 'btn-green' : 'btn-red'">{{user.ignoredQuestions.includes(question.id) ? "Activer la question" : "Désactiver la question"}}</button> |
| 73 | + class="btn btn-sm" |
| 74 | + [ngClass]="user.ignoredQuestions.includes(question.id) ? 'btn-green' : 'btn-red'">{{user.ignoredQuestions.includes(question.id) ? "Activer la question" : "Désactiver la question"}}</button> |
72 | 75 | </div>
|
73 | 76 | <!--- Pour chaque question du quiz selectionne --->
|
74 | 77 | <div class="labelQuestion">
|
75 | 78 | {{question.label}} <!--- Affiche la question --->
|
76 | 79 | <!--- Activer ou desactiver le quiz --->
|
77 | 80 | </div>
|
78 | 81 |
|
79 |
| - <div class="d-flex justify-content-center" *ngIf="question.image !== null"> <!--- Si l'image existe, l'afficher ---> |
| 82 | + <div class="d-flex justify-content-center" *ngIf="question.image !== null"> |
| 83 | + <!--- Si l'image existe, l'afficher ---> |
80 | 84 | <img id="img-quest" alt="François 1er" [src]="question.image"/>
|
81 | 85 | </div>
|
82 | 86 |
|
|
109 | 113 | <hr/>
|
110 | 114 | <span class="align-self-center">Récap de {{user.name}}:</span>
|
111 | 115 | <div *ngFor="let r of recapsDisplayed">
|
112 |
| - <div [className]="r.answers[i] ? 'repondujuste' : 'repondufaux'" *ngIf="r.answers[i] !== undefined"> |
| 116 | + <div [className]="r.answers[i] ? 'repondujuste' : 'repondufaux'" |
| 117 | + *ngIf="r.answers[i] !== undefined"> |
113 | 118 | <!--- Pour chaque recap --->
|
114 | 119 | Répondu {{r.answers[i] ? "VRAI" : "FAUX"}} au recap
|
115 | 120 | <!--- Qu a t il repondu au recap, a quelle heure --->
|
|
0 commit comments