2019-12-29 19:35:07 +01:00
|
|
|
<div class="container">
|
2020-01-16 11:13:34 +01:00
|
|
|
<section class="creation">
|
|
|
|
<h1>
|
|
|
|
{{"creation.title"|translate}}
|
|
|
|
</h1>
|
|
|
|
<p class="description margin-btm-x5" i18n>
|
|
|
|
{{"config.description"|translate}}
|
|
|
|
</p>
|
|
|
|
<div class="btn-next">
|
|
|
|
|
|
|
|
<button [routerLink]="'step/date'" class="btn btn--full btn--primary">
|
|
|
|
{{"config.letsgo"|translate}}
|
|
|
|
</button>
|
2019-12-29 19:35:07 +01:00
|
|
|
|
2020-01-16 11:13:34 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
2020-01-16 10:20:15 +01:00
|
|
|
|
2020-01-16 11:13:34 +01:00
|
|
|
<section class="recuperation">
|
|
|
|
<h1 class="margin-top-x8">
|
|
|
|
{{"config.find_my_polls"|translate}}
|
|
|
|
</h1>
|
|
|
|
<form
|
|
|
|
(ngSubmit)="findMyPollsByEmail(config.myEmail)"
|
2019-11-19 11:19:21 +01:00
|
|
|
>
|
2020-01-16 11:13:34 +01:00
|
|
|
<label
|
|
|
|
class="description"
|
|
|
|
for="email"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
{{"config.find_helper"|translate}} :
|
|
|
|
</label>
|
|
|
|
<input
|
|
|
|
[(ngModel)]="config.myEmail"
|
|
|
|
autofocus="autofocus"
|
|
|
|
id="email"
|
|
|
|
name="mail"
|
|
|
|
required="required"
|
|
|
|
type="email"
|
|
|
|
/>
|
|
|
|
<input
|
|
|
|
[disabled]="!config.myEmail"
|
|
|
|
[ngClass]="{'btn-primary': config.myEmail}"
|
|
|
|
class="btn btn-block"
|
|
|
|
i18n-value="'config.find_button'|translate"
|
|
|
|
type="submit"
|
|
|
|
/>
|
|
|
|
</form>
|
|
|
|
</section>
|
2020-01-16 10:20:15 +01:00
|
|
|
<section class="list-my-polls" *ngIf="!config.loading">
|
|
|
|
<ul class="poll-list" *ngFor="let poll of config.myPolls">
|
|
|
|
<li> poll</li>
|
|
|
|
</ul>
|
2020-01-15 17:55:22 +01:00
|
|
|
|
2020-01-16 10:20:15 +01:00
|
|
|
<div class="no-polls" *ngIf="! config.myPolls || !config.myPolls.length">
|
|
|
|
Aucun sondage.
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<div class="loading" *ngIf="config.loading">
|
|
|
|
<i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
|
2020-01-15 11:40:39 +01:00
|
|
|
</div>
|
2020-01-15 17:55:22 +01:00
|
|
|
|
|
|
|
|
2019-12-29 19:35:07 +01:00
|
|
|
</div>
|