73 lines
1.6 KiB
HTML
73 lines
1.6 KiB
HTML
<section class="creation">
|
|
<h1>
|
|
{{"creation.title"|translate}}
|
|
</h1>
|
|
<p
|
|
class="description"
|
|
i18n
|
|
>
|
|
{{"config.title"|translate}}
|
|
</p>
|
|
<div class="btn-next">
|
|
<a
|
|
[routerLink]="'/home'"
|
|
>
|
|
<span
|
|
class="text"
|
|
i18n
|
|
>
|
|
{{"config.letsgo"|translate}}
|
|
</span>
|
|
<span class="icon right">
|
|
>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="recuperation">
|
|
<h1>
|
|
{{"config.find_my_polls"|translate}}
|
|
</h1>
|
|
<form
|
|
(ngSubmit)="findMyPollsByEmail(config.myEmail)"
|
|
>
|
|
<label
|
|
class="description"
|
|
for="email"
|
|
i18n
|
|
>
|
|
{{"config.find_helper"|translate}} :
|
|
</label>
|
|
<input
|
|
type="email"
|
|
name="mail"
|
|
id="email"
|
|
autofocus="autofocus"
|
|
[(ngModel)]="config.myEmail"
|
|
required="required"
|
|
/>
|
|
<input
|
|
type="submit"
|
|
class="btn btn-block"
|
|
[ngClass]="{'btn-primary': config.myEmail}"
|
|
i18n-value="'config.find_button'|translate"
|
|
[disabled]="!config.myEmail"
|
|
/>
|
|
</form>
|
|
</section>
|
|
<section class="list-my-polls" *ngIf="!config.loading">
|
|
<ul class="poll-list" *ngFor="let poll of config.myPolls">
|
|
<li> poll</li>
|
|
</ul>
|
|
|
|
<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>
|
|
</div>
|
|
|
|
|