Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
fferrand
BeeToMood
Commits
0a79d043
Commit
0a79d043
authored
6 years ago
by
fferrand
Browse files
Options
Download
Patches
Plain Diff
container
parent
4d5d607d
master
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/app/app.component.html
+5
-1
src/app/app.component.html
src/app/mood/mood-list/mood-list.component.html
+20
-6
src/app/mood/mood-list/mood-list.component.html
src/app/mood/mood.component.ts
+1
-1
src/app/mood/mood.component.ts
with
26 additions
and
8 deletions
+26
-8
src/app/app.component.html
+
5
−
1
View file @
0a79d043
<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
This diff is collapsed.
Click to expand it.
src/app/mood/mood-list/mood-list.component.html
+
20
−
6
View file @
0a79d043
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
src/app/mood/mood.component.ts
+
1
−
1
View file @
0a79d043
...
...
@@ -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
=
fals
e
;
this
.
hasVoted
=
tru
e
;
}
// onSubmit(mood: any) {
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets