src/app/pages/voting/voting.component.ts
selector | framadate-voting |
styleUrls | ./voting.component.scss |
templateUrl | ./voting.component.html |
Properties |
Methods |
constructor()
|
Defined in src/app/pages/voting/voting.component.ts:9
|
ngOnInit |
ngOnInit()
|
Defined in src/app/pages/voting/voting.component.ts:13
|
Returns :
void
|
show_mask |
Default value : true
|
Defined in src/app/pages/voting/voting.component.ts:9
|
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'framadate-voting',
templateUrl: './voting.component.html',
styleUrls: ['./voting.component.scss']
})
export class VotingComponent implements OnInit {
show_mask=true;
constructor() {
}
ngOnInit() {
}
}
<form>
<a class="next">Voir le graphique</a>
<h2 class="margin-top-x4">Les commentaires</h2>
<p class="comment">
<span class="cname">Pikachu </span>
<span class="date date padding-btm-x1"> le 26 novembre 2019</span>
Rock Luxio Surskit. Glacier Badge
</p>
</form>
<div ng-show="show_popup" class="popup">
<h4 class="margin-btm-x2">Participation validée !</h4>
<p class="margin-btm-x1">Votre vote a bien été pris en compte, mais faites attention : ce sondage n'autorise
l'édition de votre vote qu'avec le lien personnalisé suivant :</p>
<p>https://framadate.org/urladmindusondage</p>
<button class="btn btn--primary btn--small btn--purple btn--black-text">Copier le lien</button>
<p class="margin-btm-x6 margin-top-x2">Conservez-le précieusement !</p>
<button class="btn btn--primary btn--default btn--purple btn--black-text">Revenir au sondage</button>
</div>
<div class="rgba-black" [hidden]="show_mask">
</div>
./voting.component.scss