qa: New service to handle QA testing by students
This commit is contained in:
parent
a0155c6deb
commit
a237936feb
37 changed files with 1476 additions and 0 deletions
25
qa/static/views/theme.html
Normal file
25
qa/static/views/theme.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<h2>{{theme.name}} <small class="text-muted">{{theme.authors | stripHTML}}</small></h2>
|
||||
|
||||
<div class="container" ng-bind-html="theme.intro"></div>
|
||||
|
||||
<div ng-if="theme.id" ng-controller="ExercicesListController">
|
||||
<h3>
|
||||
Défis ({{ exercices.length }})
|
||||
</h3>
|
||||
|
||||
<p><input type="search" class="form-control form-control-sm" placeholder="Search" ng-model="query" autofocus></p>
|
||||
<table class="table table-hover table-bordered table-striped table-sm">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th ng-repeat="field in fields">
|
||||
{{ field }}
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="exercice in exercices | filter: query" ng-click="show(exercice.id)">
|
||||
<td ng-repeat="field in fields" ng-bind-html="exercice[field]"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Reference in a new issue