Commit 0a79d043 authored by fferrand's avatar fferrand
Browse files

container

parent 4d5d607d
No related merge requests found
Showing with 26 additions and 8 deletions
+26 -8
<router-outlet></router-outlet>
\ No newline at end of file
<app-nav></app-nav>
<div class="container-fluid">
<router-outlet></router-outlet>
</div>
<app-footer></app-footer>
\ No newline at end of file
......@@ -11,12 +11,26 @@
</thead>
<tbody>
<tr *ngFor="let survey of surveys">
<a routerLink="/mood/{{survey._id}}">
<td>{{survey.group}}</td>
<td>{{survey.date}}</td>
<td>{{survey.value}}/5</td>
<td>{{survey.number}}</td>
</a>
<td>
<a routerLink="/mood/{{survey._id}}">
{{survey.group}}
</a>
</td>
<td>
<a routerLink="/mood/{{survey._id}}">
{{survey.date}}
</a>
</td>
<td>
<a routerLink="/mood/{{survey._id}}">
{{survey.value}}/5
</a>
</td>
<td>
<a routerLink="/mood/{{survey._id}}">
{{survey.number}}
</a>
</td>
</tr>
</tbody>
</table>
......
......@@ -32,7 +32,7 @@ export class MoodComponent implements OnInit {
this.id_profile = '5b258bcdfb6fc033f885fe6d';
// On choisi l'interface en fonction de s'il a voté ou non
this.hasVoted = false;
this.hasVoted = true;
}
// onSubmit(mood: any) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment