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

20 lines
473 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()"
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>
2019-11-19 14:53:53 +01:00
{{ "pollGraphic.colorblindText" | translate }}
<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