funky-framadate-front/mocks/old-stuff/pages/poll/poll-graphic/poll-graphic.component.html

25 lines
557 B
HTML
Raw Normal View History

2019-10-23 15:39:16 +02:00
<select
2020-04-21 10:50:26 +02:00
id="selectColorblind"
name="selector"
autofocus="autofocus"
[(ngModel)]="isColorblind"
(change)="toggleColorblind()"
class="input"
2019-10-23 15:39:16 +02:00
>
2020-04-21 10:50:26 +02:00
<option value="true">
{{ 'pollGraphic.choiceColorblind' | translate }}
</option>
<option value="false">
{{ 'pollGraphic.choiceNotColorblind' | translate }}
</option>
</select>
<span class="colorblind">
2020-04-21 10:50:26 +02:00
{{ 'pollGraphic.colorblindText' | translate }}
</span>
<div class="well">
2020-04-21 10:50:26 +02:00
work in progress to link data with poll config
</div>
<div>
2020-04-21 10:50:26 +02:00
<canvas id="graph" width="100%" height="15em"></canvas>
</div>