mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
🎨 arrange create or retrieve page in two columns
This commit is contained in:
parent
23dc45f198
commit
60c184c60b
@ -1,87 +1,96 @@
|
||||
<div class="container" >
|
||||
<section class="creation" >
|
||||
<h1 >
|
||||
{{"creation.title"|translate}}
|
||||
</h1 >
|
||||
<p
|
||||
class="description margin-btm-x5"
|
||||
i18n >
|
||||
{{"config.description"|translate}}
|
||||
</p >
|
||||
<div class="btn-next" >
|
||||
<div class="columns">
|
||||
<div class="column" id="newPoll">
|
||||
|
||||
<button
|
||||
[routerLink]="'step/date'"
|
||||
class="btn btn--full btn--primary" >
|
||||
{{"config.letsgo"|translate}}
|
||||
</button >
|
||||
<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 >
|
||||
|
||||
</div >
|
||||
</section >
|
||||
</div>
|
||||
<div class="column" id="searchMyPolls">
|
||||
<section class="recuperation" >
|
||||
<h1 >
|
||||
{{"config.find_my_polls"|translate}}
|
||||
</h1 >
|
||||
<form
|
||||
(ngSubmit)="findMyPollsByEmail(config.myEmail)"
|
||||
>
|
||||
<label
|
||||
class="description"
|
||||
for="sendemail"
|
||||
i18n
|
||||
>
|
||||
<i class='fa fa-envelope' ></i >
|
||||
{{"config.find_helper"|translate}} :
|
||||
</label >
|
||||
<input
|
||||
[(ngModel)]="config.myEmail"
|
||||
class='input'
|
||||
autofocus="autofocus"
|
||||
id="sendemail"
|
||||
name="mail"
|
||||
required="required"
|
||||
type="email"
|
||||
/>
|
||||
<input
|
||||
[disabled]="!config.myEmail || !config.myEmail.length"
|
||||
[ngClass]="{'btn--primary': config.myEmail}"
|
||||
class="btn btn--full"
|
||||
id='sendemailbutton'
|
||||
i18n-value="'config.find_button'|translate"
|
||||
type="submit"
|
||||
/>
|
||||
</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 >
|
||||
|
||||
<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 >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div >
|
||||
</section >
|
||||
|
||||
<section class="recuperation" >
|
||||
<h1 class="margin-top-x8" >
|
||||
{{"config.find_my_polls"|translate}}
|
||||
</h1 >
|
||||
<form
|
||||
(ngSubmit)="findMyPollsByEmail(config.myEmail)"
|
||||
>
|
||||
<label
|
||||
class="description"
|
||||
for="sendemail"
|
||||
i18n
|
||||
>
|
||||
<i class='fa fa-envelope' ></i >
|
||||
{{"config.find_helper"|translate}} :
|
||||
</label >
|
||||
<input
|
||||
[(ngModel)]="config.myEmail"
|
||||
class='input'
|
||||
autofocus="autofocus"
|
||||
id="sendemail"
|
||||
name="mail"
|
||||
required="required"
|
||||
type="email"
|
||||
/>
|
||||
<input
|
||||
[disabled]="!config.myEmail || !config.myEmail.length"
|
||||
[ngClass]="{'btn--primary': config.myEmail}"
|
||||
class="btn btn--full"
|
||||
id='sendemailbutton'
|
||||
i18n-value="'config.find_button'|translate"
|
||||
type="submit"
|
||||
/>
|
||||
</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 >
|
||||
|
||||
<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 >
|
||||
|
||||
</div >
|
||||
|
@ -1,5 +1,6 @@
|
||||
<div class="description" >
|
||||
<router-outlet ></router-outlet >
|
||||
|
||||
<h1 i18n >
|
||||
{{"creation.title"|translate}}
|
||||
</h1 >
|
||||
|
Loading…
Reference in New Issue
Block a user