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

114 lines
3.0 KiB
HTML
Raw Normal View History

2020-01-20 15:01:56 +01:00
<h1 >
2019-11-23 15:46:07 +01:00
Récapitulatif
2020-01-20 15:01:56 +01:00
</h1 >
<div class='card content' >
2019-11-23 15:46:07 +01:00
2020-01-20 15:01:56 +01:00
<h2 class="hero-title title" >
{{config.title}}
</h2 >
<div class="creation" >
créé par
2020-01-24 11:10:50 +01:00
<i class='pseudo' >
{{config.myName}}
</i >
2020-01-20 15:01:56 +01:00
</div >
<div class="description" >
2020-01-24 11:10:50 +01:00
<cite >
2020-01-20 15:01:56 +01:00
{{config.description}}
2020-01-24 11:10:50 +01:00
</cite >
2020-01-20 15:01:56 +01:00
</div >
2020-01-24 11:10:50 +01:00
<section
class='preview type-classic'
*ngIf='config.pollType == "classic"' >
2020-01-20 15:01:56 +01:00
<ul >
<li
markdown
*ngFor="let questions of config.answers" >
<img
class='img-thumbnail'
src='{{questions.url}}'
alt='image {{questions.url}}' >
{{questions.id + 1}}. {{questions.text}}
</li >
</ul >
</section >
2020-01-24 11:10:50 +01:00
<section
class='type-date'
*ngIf='config.pollType !== "classic"' >
<i class='fa fa-clock-o' ></i >
<span
class='well'
2020-02-13 17:41:36 +01:00
*ngIf="'true' === config.allowSeveralHours" >
{{"dates.multiple.different"|translate}}
</span >
<span
class='well'
2020-02-13 17:41:36 +01:00
*ngIf="'false' === config.allowSeveralHours" >
{{"dates.multiple.identical"|translate}}
</span >
2020-01-24 11:10:50 +01:00
<div
*ngFor="let choice of config.dateList; index as id"
class="date-choice"
>
<div
class='only-one-slice'
*ngIf='!choice.timeList.length' >
<i class='fa fa-square-o' ></i >
</div >
2020-01-24 11:10:50 +01:00
{{choice.literal}}
<!-- CASE different slices of the day-->
2020-01-24 11:10:50 +01:00
<div
2020-02-13 17:41:36 +01:00
*ngIf="'true' === config.allowSeveralHours"
2020-01-24 11:10:50 +01:00
class="several-times"
>
2020-02-13 17:41:36 +01:00
2020-01-24 11:10:50 +01:00
<div
2020-02-13 17:41:36 +01:00
*ngFor="let time of choice.timeList ; index as idTime"
2020-01-24 11:10:50 +01:00
class="time-choice"
>
2020-02-13 17:41:36 +01:00
{{idTime}})
<i class='fa fa-square-o' ></i >
2020-01-24 11:10:50 +01:00
{{time.literal}}
</div >
2020-01-24 11:10:50 +01:00
</div >
<!-- CASE all dates having the same slices of the day-->
<div
2020-02-13 17:41:36 +01:00
*ngIf="'false' === config.allowSeveralHours"
class="same-times"
>
<div
*ngFor="let time of config.timeList "
class="time-choice"
>
2020-02-13 17:41:36 +01:00
<i class='fa fa-square-o' ></i >
{{time.literal}}
2020-01-24 11:10:50 +01:00
</div >
</div >
</div >
</section >
2020-01-20 15:01:56 +01:00
</div >
2020-01-20 15:23:26 +01:00
2020-01-24 11:10:50 +01:00
<button
[routerLink]="'/step/visibility'"
class="btn btn--primary btn--full" >
2020-01-20 15:23:26 +01:00
C'est parfait!
2020-01-24 11:10:50 +01:00
</button >
2020-01-20 15:01:56 +01:00
<div class="back" >
<a
2020-01-24 11:10:50 +01:00
*ngIf='config.pollType == "classic"'
2020-01-20 15:01:56 +01:00
[routerLink]="'/step/answers'"
class="prev" >
2019-11-23 15:46:07 +01:00
Retour
2020-01-20 15:01:56 +01:00
</a >
2020-01-24 11:10:50 +01:00
<a
*ngIf='config.pollType == "dates"'
[routerLink]="'/step/date'"
2020-01-24 11:10:50 +01:00
class="prev" >
Retour
</a >
2020-01-20 15:01:56 +01:00
</div >