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="step">
|
||||||
<div class="user-infos">
|
<div class="user-infos">
|
||||||
<h2 class="title is-2">
|
<h2 class="title is-2">
|
||||||
Dites à l’organisateur et aux autres participants qui vous êtes !
|
{{ 'owner.title' | translate }}
|
||||||
</h2>
|
</h2>
|
||||||
<label for="name">
|
<label for="name">
|
||||||
Votre nom (obligatoire)
|
{{ 'owner.name_label' | translate }}
|
||||||
</label>
|
</label>
|
||||||
<input class="input" type="text" id="name" />
|
<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="columns">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<button class="button is-default" [routerLink]="['']">
|
<button class="button is-default" [routerLink]="['/poll/' + pollName + '/consultation/vote']">
|
||||||
Précédent
|
{{ 'SENTENCES.Back' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<button class="button is-success" [routerLink]="['']">
|
<button class="button is-success" (click)="sendVoteStack()">
|
||||||
Je participe
|
{{ 'participation.vote_button' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</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'],
|
styleUrls: ['./consultation-user.component.scss'],
|
||||||
})
|
})
|
||||||
export class ConsultationUserComponent implements OnInit {
|
export class ConsultationUserComponent implements OnInit {
|
||||||
|
pollName: string;
|
||||||
constructor(
|
constructor(
|
||||||
private dateUtilitiesService: DateUtilitiesService,
|
private dateUtilitiesService: DateUtilitiesService,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
@ -25,4 +26,8 @@ export class ConsultationUserComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {}
|
ngOnInit(): void {}
|
||||||
|
|
||||||
|
sendVoteStack() {
|
||||||
|
alert('TODO');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user