2019-12-29 19:35:07 +01:00
|
|
|
<div class="container">
|
2019-08-11 16:49:58 +02:00
|
|
|
<section class="creation">
|
2019-11-19 11:19:21 +01:00
|
|
|
<h1>
|
|
|
|
{{"creation.title"|translate}}
|
|
|
|
</h1>
|
2019-12-29 19:35:07 +01:00
|
|
|
<p class="description margin-btm-x5" i18n>
|
|
|
|
{{"config.description"|translate}}
|
2019-11-19 11:19:21 +01:00
|
|
|
</p>
|
|
|
|
<div class="btn-next">
|
2019-12-29 19:35:07 +01:00
|
|
|
|
|
|
|
<button class="btn btn--full btn--primary">{{"config.letsgo"|translate}}</button>
|
|
|
|
|
2019-11-19 11:19:21 +01:00
|
|
|
</div>
|
2019-08-11 16:49:58 +02:00
|
|
|
</section>
|
2019-08-12 21:54:57 +02:00
|
|
|
|
2019-08-11 16:49:58 +02:00
|
|
|
<section class="recuperation">
|
2019-12-29 19:35:07 +01:00
|
|
|
<h1 class="margin-top-x8">
|
2019-11-19 11:19:21 +01:00
|
|
|
{{"config.find_my_polls"|translate}}
|
|
|
|
</h1>
|
2019-12-29 19:35:07 +01:00
|
|
|
|
2020-01-16 10:20:15 +01:00
|
|
|
|
2019-11-19 11:19:21 +01:00
|
|
|
<form
|
2020-01-15 11:59:02 +01:00
|
|
|
(ngSubmit)="findMyPollsByEmail(config.myEmail)"
|
2019-11-19 11:19:21 +01:00
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="description"
|
|
|
|
for="email"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
{{"config.find_helper"|translate}} :
|
|
|
|
</label>
|
|
|
|
<input
|
2020-01-15 11:40:39 +01:00
|
|
|
type="email"
|
|
|
|
name="mail"
|
|
|
|
id="email"
|
|
|
|
autofocus="autofocus"
|
2020-01-15 11:59:02 +01:00
|
|
|
[(ngModel)]="config.myEmail"
|
|
|
|
required="required"
|
2019-11-19 11:19:21 +01:00
|
|
|
/>
|
|
|
|
<input
|
|
|
|
type="submit"
|
|
|
|
class="btn btn-block"
|
2020-01-15 11:59:02 +01:00
|
|
|
[ngClass]="{'btn-primary': config.myEmail}"
|
2019-11-19 11:19:21 +01:00
|
|
|
i18n-value="'config.find_button'|translate"
|
2020-01-15 11:59:02 +01:00
|
|
|
[disabled]="!config.myEmail"
|
2019-11-19 11:19:21 +01:00
|
|
|
/>
|
|
|
|
</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
|
|
|
|
|
|
|
|
2020-01-16 10:20:15 +01:00
|
|
|
|
2019-12-29 19:35:07 +01:00
|
|
|
|
|
|
|
</div>
|