forked from tykayn/funky-framadate-front
add text in footer
This commit is contained in:
parent
77cc54f2fc
commit
f4be6ed39d
@ -26,5 +26,33 @@
|
||||
canal Matrix
|
||||
</a>
|
||||
</p>
|
||||
<div>
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<h3 class="title is-3">Framasoft</h3>
|
||||
L’association,Notre charte,Contacter Framasoft,Statistiques,État des services
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3 class="title is-3">Communauté</h3>
|
||||
Framacolibri,Participer,Bénévolat valorisé,Partenaires,Charte de modération
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3 class="title is-3">Framadate</h3>
|
||||
Entraide,Guides et astuces,Mentions légales,CGU,Crédits
|
||||
</div>
|
||||
<div class="column">
|
||||
<form action="#">
|
||||
<label for="subscribe_newsletter">
|
||||
<i class="fa fa-enveloppe"></i>
|
||||
Inscrivez-vous à la newsletter
|
||||
</label>
|
||||
<input type="text" class="input" id="subscribe_newsletter" />
|
||||
<button class="button is-outlined is-primary" (click)="subscribeToNewsletter()">
|
||||
S'inscrire
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
@ -11,4 +11,8 @@ export class FooterComponent implements OnInit {
|
||||
constructor() {}
|
||||
|
||||
ngOnInit(): void {}
|
||||
|
||||
subscribeToNewsletter() {
|
||||
alert('TODO');
|
||||
}
|
||||
}
|
||||
|
@ -491,6 +491,17 @@ export class PollService implements Resolve<Poll> {
|
||||
return list;
|
||||
}
|
||||
|
||||
getParticipationUrl() {
|
||||
let poll = this._poll.getValue();
|
||||
|
||||
// http://localhost:4200/#/poll/dessin-anime/consultation
|
||||
|
||||
// TODO handle secure access
|
||||
// http://localhost:4200/#/poll/citron/consultation/secure/1c01ed9c94fc640a1be864f197ff808c
|
||||
|
||||
return window.location.host + '/#/poll/' + poll.custom_url + '/consultation';
|
||||
}
|
||||
|
||||
convertCalendarDatesToChoices(array_dates) {
|
||||
return array_dates;
|
||||
}
|
||||
|
@ -53,13 +53,13 @@
|
||||
|
||||
<button
|
||||
mat-button
|
||||
*ngIf="form.controls.custom_url.value"
|
||||
*ngIf="pollService.form.controls.custom_url.value"
|
||||
matSuffix
|
||||
mat-icon-button
|
||||
aria-label="Clear"
|
||||
(click)="slug.value = ''"
|
||||
></button>
|
||||
<input #slug matInput id="slug" placeholder="Url" formControlName="slug" required />
|
||||
<input #slug matInput id="custom_url" placeholder="Url" formControlName="custom_url" required />
|
||||
<br />
|
||||
<div appearance="outline" class="is-not-flex">
|
||||
<mat-label>Nombre de jours avant expiration</mat-label>
|
||||
|
@ -8,7 +8,7 @@ import { PollService } from '../../../../../core/services/poll.service';
|
||||
})
|
||||
export class StepFourComponent implements OnInit {
|
||||
urlPrefix: any;
|
||||
advancedDisplayEnabled: any;
|
||||
advancedDisplayEnabled: boolean = true;
|
||||
@Input()
|
||||
step_max: any;
|
||||
@Input()
|
||||
|
Loading…
Reference in New Issue
Block a user