Add users and grades display

This commit is contained in:
nemunaire 2020-11-20 15:46:52 +01:00
commit c9d64640e2
13 changed files with 432 additions and 17 deletions

View file

@ -12,14 +12,19 @@
<tr>
<th>Question</th>
<th>Réponses</th>
<th></th>
<th>Moyenne</th>
</tr>
</thead>
<tbody>
<tbody ng-controller="SurveyGradesController">
<tr ng-repeat="(qid,question) in questions" ng-click="showResponses()" ng-controller="ResponsesController">
<td ng-bind="question.title"></td>
<td>{{ responses.length }}</td>
<td>{{ grades[question.id] }}&nbsp;%</td>
</tr>
<tr>
<th>Moyenne</th>
<td></td>
<th>{{ mean }}&nbsp;%</th>
</tr>
</tbody>
</table>