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