2020-01-20 15:01:56 +01:00
|
|
|
<div class="description" >
|
|
|
|
<router-outlet ></router-outlet >
|
2020-04-11 15:22:44 +02:00
|
|
|
|
2020-01-20 15:01:56 +01:00
|
|
|
<h1 i18n >
|
2020-01-16 11:46:31 +01:00
|
|
|
{{"creation.title"|translate}}
|
2020-01-20 15:01:56 +01:00
|
|
|
</h1 >
|
2020-01-16 11:46:31 +01:00
|
|
|
<span
|
|
|
|
class="pre-selector"
|
|
|
|
i18n
|
|
|
|
>
|
2019-10-24 16:08:56 +02:00
|
|
|
{{"creation.want"|translate}}
|
2020-01-20 15:01:56 +01:00
|
|
|
</span >
|
2020-01-21 12:30:53 +01:00
|
|
|
<button
|
|
|
|
(click)='config.resetConfig()'
|
|
|
|
class='btn btn--warning' >
|
|
|
|
Reset all
|
|
|
|
</button >
|
2020-01-16 11:46:31 +01:00
|
|
|
<select
|
|
|
|
[(ngModel)]="config.pollType"
|
|
|
|
autofocus="autofocus"
|
|
|
|
id="selector"
|
2020-01-23 16:47:53 +01:00
|
|
|
name='polltype'
|
2020-01-16 11:46:31 +01:00
|
|
|
>
|
2020-01-23 16:47:53 +01:00
|
|
|
<option
|
|
|
|
value="dates"
|
|
|
|
name='polltype_date' >
|
2020-01-16 11:46:31 +01:00
|
|
|
{{"creation.kind.date"|translate}}
|
2020-01-20 15:01:56 +01:00
|
|
|
</option >
|
2020-01-23 16:47:53 +01:00
|
|
|
<option
|
|
|
|
value="classic"
|
|
|
|
name='polltype_classic' >
|
2020-01-16 11:46:31 +01:00
|
|
|
{{"creation.kind.classic"|translate}}
|
2020-01-20 15:01:56 +01:00
|
|
|
</option >
|
|
|
|
</select >
|
2019-08-10 11:06:13 +02:00
|
|
|
|
2020-01-20 15:01:56 +01:00
|
|
|
<span class="post-selector" >
|
|
|
|
</span >
|
2019-08-09 17:43:23 +02:00
|
|
|
|
2020-01-20 15:01:56 +01:00
|
|
|
<div >
|
2019-08-09 15:14:23 +02:00
|
|
|
|
2020-01-16 11:46:31 +01:00
|
|
|
<label
|
|
|
|
class="title-label"
|
|
|
|
for="poll_title"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
{{"creation.choose_title"|translate}}
|
2020-01-20 15:01:56 +01:00
|
|
|
</label >
|
2020-01-16 11:46:31 +01:00
|
|
|
<input
|
|
|
|
[(ngModel)]="config.title"
|
|
|
|
id="poll_title"
|
|
|
|
name="poll_title"
|
|
|
|
placeholder="{{'creation.choose_title_placeholder'|translate}}"
|
|
|
|
type="name"
|
|
|
|
>
|
2020-01-20 15:15:06 +01:00
|
|
|
<framadate-erasable-input [(inputModel)]="config.title" ></framadate-erasable-input >
|
2020-01-20 15:01:56 +01:00
|
|
|
</div >
|
2019-08-09 17:43:23 +02:00
|
|
|
|
2020-01-20 15:01:56 +01:00
|
|
|
<div >
|
|
|
|
<label for="my_name" >
|
2020-01-16 11:46:31 +01:00
|
|
|
{{"creation.name"|translate}} :
|
2020-01-20 15:01:56 +01:00
|
|
|
</label >
|
2020-01-16 11:46:31 +01:00
|
|
|
<input
|
|
|
|
[(ngModel)]="config.myName"
|
|
|
|
id="my_name"
|
|
|
|
name="my_name"
|
|
|
|
placeholder="{{'creation.name_placeholder'|translate}}"
|
|
|
|
type="name"
|
|
|
|
>
|
2020-01-20 15:15:06 +01:00
|
|
|
<framadate-erasable-input [(inputModel)]="config.myName" ></framadate-erasable-input >
|
2020-01-20 15:01:56 +01:00
|
|
|
</div >
|
2019-08-09 17:43:23 +02:00
|
|
|
|
2020-01-20 15:01:56 +01:00
|
|
|
<div >
|
2020-01-16 11:46:31 +01:00
|
|
|
<label
|
|
|
|
class="title-label"
|
|
|
|
for="poll_description"
|
|
|
|
i18n
|
|
|
|
>
|
2020-01-20 15:01:56 +01:00
|
|
|
{{"creation.description"|translate}}:
|
2020-01-20 15:15:06 +01:00
|
|
|
<framadate-erasable-input [(inputModel)]="config.description" ></framadate-erasable-input >
|
2020-01-20 15:01:56 +01:00
|
|
|
</label >
|
|
|
|
<br >
|
2020-01-16 11:46:31 +01:00
|
|
|
<textarea
|
|
|
|
[(ngModel)]="config.description"
|
|
|
|
cols="50"
|
|
|
|
id="poll_description"
|
|
|
|
lines="5"
|
|
|
|
name="poll_description"
|
|
|
|
placeholder="description"
|
2020-01-20 15:01:56 +01:00
|
|
|
></textarea >
|
|
|
|
</div >
|
|
|
|
<div >
|
|
|
|
<label for="email" >
|
2020-01-16 11:46:31 +01:00
|
|
|
Mon email pour administrer le sondage est
|
2020-01-20 15:01:56 +01:00
|
|
|
</label >
|
2020-01-16 11:46:31 +01:00
|
|
|
<input
|
|
|
|
[(ngModel)]="config.myEmail"
|
|
|
|
autofocus="autofocus"
|
|
|
|
id="email"
|
|
|
|
name="mail"
|
|
|
|
required="required"
|
|
|
|
type="email"
|
|
|
|
/>
|
2020-01-20 15:01:56 +01:00
|
|
|
<framadate-erasable-input [(inputModel)]="config.myEmail" ></framadate-erasable-input >
|
|
|
|
</div >
|
2019-08-10 16:20:59 +02:00
|
|
|
|
2019-09-30 19:07:00 +02:00
|
|
|
<button
|
2019-08-21 14:24:54 +02:00
|
|
|
[routerLink]="'/step/answers'"
|
2020-01-20 15:01:56 +01:00
|
|
|
class="btn btn--primary btn--full"
|
2020-01-23 16:47:53 +01:00
|
|
|
*ngIf="config.pollType == 'classic'"
|
2019-08-21 14:24:54 +02:00
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Continuer
|
2020-01-23 16:47:53 +01:00
|
|
|
<i class='fa fa-file-text' ></i >
|
|
|
|
</button >
|
|
|
|
<button
|
|
|
|
[routerLink]="'/step/date'"
|
|
|
|
class="btn btn--primary btn--full"
|
|
|
|
*ngIf="config.pollType == 'dates'"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Continuer
|
|
|
|
<i class='fa fa-calendar-check-o' ></i >
|
2020-01-20 15:01:56 +01:00
|
|
|
</button >
|
2019-09-30 19:07:00 +02:00
|
|
|
<a
|
2020-01-23 16:47:53 +01:00
|
|
|
[routerLink]="'/step/creation'"
|
2019-09-30 19:07:00 +02:00
|
|
|
class="prev"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Retour
|
2020-01-20 15:01:56 +01:00
|
|
|
</a >
|
|
|
|
<hr >
|
|
|
|
</div >
|