server/qa/static/views/home.html
Pierre-Olivier Mercier 42d594ccac
All checks were successful
continuous-integration/drone/push Build is passing
qa: Add todo list on home page
2020-09-08 13:30:43 +02:00

24 lines
783 B
HTML

<div class="jumbotron text-light bg-dark">
<h1 class="display-5">Interface QA du challenge</h1>
<div class="row">
<div class="col" ng-controller="ToDoController">
<table class="table table-stripped">
<tr ng-repeat="todo in todos" ng-controller="MyTodoExerciceController" ng-class="{'bg-warning': !tododone[todo.id_exercice], 'bg-success': tododone[todo.id_exercice]}" ng-click="show(todo.id_exercice)">
<td ng-if="!tododone[todo.id_exercice]">
À tester
</td>
<td ng-if="tododone[todo.id_exercice]">
Testé
</td>
<td>
{{ mytheme.name }}
</td>
<td>
{{ myexercice.title }}
</td>
</tr>
</table>
</div>
</div>
</div>