mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
69 lines
1.2 KiB
HTML
69 lines
1.2 KiB
HTML
<div class="well debug">
|
|
<strong>
|
|
<h2 i18n>
|
|
infos de debug
|
|
</h2>
|
|
<span class="demo">
|
|
{{"config.demo"|translate}}
|
|
</span>
|
|
</strong>
|
|
<ul>
|
|
<li>
|
|
étape actuelle {{config.step}} / {{config.stepMax}}
|
|
</li>
|
|
<li>
|
|
formulaire valide : {{formIsValid}}
|
|
</li>
|
|
<li>
|
|
type de formulaire: {{config.pollType}}
|
|
</li>
|
|
<li>
|
|
config:
|
|
<pre>
|
|
{{config|json}}
|
|
</pre>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<span i18n>
|
|
Choix cornélien syncronisé:
|
|
</span>
|
|
<!-- todo: factoriser les boutons-->
|
|
<button
|
|
(click)="config.set('pollType' , 'classic')"
|
|
[class.active]="config.pollType == 'classic'"
|
|
[disabled]="!formIsValid"
|
|
class="btn btn--primary next"
|
|
>
|
|
<span i18n>
|
|
sondage classique
|
|
</span>
|
|
<span *ngIf="config.pollType == 'classic'">
|
|
[x]
|
|
</span>
|
|
|
|
</button>
|
|
<button
|
|
(click)="selectOption('pollType' ,'dates')"
|
|
[class.active]="config.pollType == 'dates'"
|
|
[disabled]="!formIsValid"
|
|
class="btn btn--primary next"
|
|
>
|
|
<span i18n>
|
|
sondage spécial date
|
|
</span>
|
|
<span *ngIf="config.pollType == 'dates'">
|
|
[x]
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
class="btn btn--primary"
|
|
i18n
|
|
(click)="config.sendForm()"
|
|
>
|
|
Envoyer le formulaire
|
|
</button>
|