Add users and grades display
This commit is contained in:
parent
42b15a1546
commit
c9d64640e2
13 changed files with 432 additions and 17 deletions
|
|
@ -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] }} %</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Moyenne</th>
|
||||
<td></td>
|
||||
<th>{{ mean }} %</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Reference in a new issue