qa: Add todo list on home page
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a237936feb
commit
42d594ccac
5 changed files with 159 additions and 1 deletions
|
|
@ -1,7 +1,23 @@
|
|||
<div class="jumbotron text-light bg-dark">
|
||||
<h1 class="display-5">Interface QA du challenge</h1>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<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>
|
||||
|
|
|
|||
Reference in a new issue