framadate-responsive/src/app/pages/dates/dates.component.html

46 lines
819 B
HTML
Raw Normal View History

2019-08-10 16:20:59 +02:00
<div i18n>
Config spécialement pour les dates
</div>
<div>
<select
name="multi_hours"
id="multi_hours"
[(ngModel)]="config.allowSeveralHours"
>
<option value="true">possiblement différents</option>
<option value="false">identiques</option>
2019-08-10 16:20:59 +02:00
</select>
2019-08-10 16:57:36 +02:00
<label for="multi_hours">
<span i18n>
Je souhaite mettre des créneaux horaires
</span>
<span i18n>
pour chaque journée
</span>
2019-08-10 16:20:59 +02:00
</label>
</div>
<button
class="btn btn-primary"
(click)="addDate()"
i18n
>
2019-08-10 16:20:59 +02:00
Ajouter une plage de dates
</button>
<div class="dates-list">
{{config.dateList.length}}
<span i18n>
choix de Dates
</span>
<div
*ngFor="let choice of config.dateList"
class="date-choice"
>
2019-08-10 16:20:59 +02:00
{{choice.text}}
</div>
</div>
<a
[routerLink]="'/step/end'"
class="btn btn-block"
>C'est parfait!
</a>