mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
user infos on vote
This commit is contained in:
parent
e74ea2dfd4
commit
d82e0f9650
@ -2,29 +2,24 @@
|
||||
<div class="step">
|
||||
<div class="user-infos">
|
||||
<h2 class="title is-2">
|
||||
Dites à l’organisateur et aux autres participants qui vous êtes !
|
||||
{{ 'owner.title' | translate }}
|
||||
</h2>
|
||||
<label for="name">
|
||||
Votre nom (obligatoire)
|
||||
{{ 'owner.name_label' | translate }}
|
||||
</label>
|
||||
<input class="input" type="text" id="name" />
|
||||
<label for="email">
|
||||
Votre adresse e-mail (obligatoire)
|
||||
</label>
|
||||
<input class="input" type="text" id="email" />
|
||||
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<button class="button is-default" [routerLink]="['']">
|
||||
Précédent
|
||||
<button class="button is-default" [routerLink]="['/poll/' + pollName + '/consultation/vote']">
|
||||
{{ 'SENTENCES.Back' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="column">
|
||||
<button class="button is-success" [routerLink]="['']">
|
||||
Je participe
|
||||
<button class="button is-success" (click)="sendVoteStack()">
|
||||
{{ 'participation.vote_button' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<app-nav-steps [next_step_number]="2" [previous_step_number]="0"></app-nav-steps>
|
||||
|
@ -12,6 +12,7 @@ import { StorageService } from '../../../core/services/storage.service';
|
||||
styleUrls: ['./consultation-user.component.scss'],
|
||||
})
|
||||
export class ConsultationUserComponent implements OnInit {
|
||||
pollName: string;
|
||||
constructor(
|
||||
private dateUtilitiesService: DateUtilitiesService,
|
||||
private router: Router,
|
||||
@ -25,4 +26,8 @@ export class ConsultationUserComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit(): void {}
|
||||
|
||||
sendVoteStack() {
|
||||
alert('TODO');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user