24 lines
747 B
HTML
24 lines
747 B
HTML
|
<div class="date-choices" *ngIf="poll.kind == 'date'">
|
||
|
<div class="box" *ngFor="let group of poll.choices_grouped">
|
||
|
<h3 class="title is-3">
|
||
|
{{ showAsDate(group.date_string) | date: 'fullDate':'Europe/Paris' }}
|
||
|
</h3>
|
||
|
<div class="time-slice-choice" *ngFor="let choice of group.choices">
|
||
|
<h4 class="title is-4 choice-label">
|
||
|
{{ choice.name }}
|
||
|
</h4>
|
||
|
<div class="columns is-vcentered is-mobile">
|
||
|
<div class="column"></div>
|
||
|
<div class="column is-narrow">
|
||
|
<span class="max_score" *ngIf="poll.max_score > 0 && choice.score == poll.max_score">
|
||
|
<i class="fa fa-star fa-2x"></i>
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="column is-narrow">
|
||
|
<div class="buttons"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|