funky-framadate-front/src/app/poll-graphic/poll-graphic.component.html

27 lines
651 B
HTML
Raw Normal View History

2019-10-23 15:39:16 +02:00
<select
id="selectColorblind"
name="selector"
autofocus="autofocus"
[(ngModel)]="isColorblind"
2019-11-19 14:53:53 +01:00
(change)="toggleColorblind()"
2020-01-16 10:20:15 +01:00
class="input"
2019-10-23 15:39:16 +02:00
>
2019-11-19 14:53:53 +01:00
<option value="true">
2019-10-23 15:39:16 +02:00
{{ "pollGraphic.choiceColorblind" | translate }}
</option>
2019-11-19 14:53:53 +01:00
<option value="false">
2019-10-23 15:39:16 +02:00
{{ "pollGraphic.choiceNotColorblind" | translate }}
</option>
</select>
2020-01-16 10:20:15 +01:00
<span class="colorblind">
2019-11-19 14:53:53 +01:00
{{ "pollGraphic.colorblindText" | translate }}
2020-01-16 10:20:15 +01:00
</span>
<div>
2019-11-18 10:19:28 +01:00
<canvas id="graph" width="100" height="50"></canvas>
</div>
2019-11-19 14:53:53 +01:00
2020-01-16 10:20:15 +01:00
<div class="preferred">
Pour l'instant, le choix ayant reçu le plus grand nombre de votes est :
{{preferred}}
</div>