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
|
canal Matrix
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</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>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -11,4 +11,8 @@ export class FooterComponent implements OnInit {
|
|||||||
constructor() {}
|
constructor() {}
|
||||||
|
|
||||||
ngOnInit(): void {}
|
ngOnInit(): void {}
|
||||||
|
|
||||||
|
subscribeToNewsletter() {
|
||||||
|
alert('TODO');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -491,6 +491,17 @@ export class PollService implements Resolve<Poll> {
|
|||||||
return list;
|
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) {
|
convertCalendarDatesToChoices(array_dates) {
|
||||||
return array_dates;
|
return array_dates;
|
||||||
}
|
}
|
||||||
|
@ -53,13 +53,13 @@
|
|||||||
|
|
||||||
<button
|
<button
|
||||||
mat-button
|
mat-button
|
||||||
*ngIf="form.controls.custom_url.value"
|
*ngIf="pollService.form.controls.custom_url.value"
|
||||||
matSuffix
|
matSuffix
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
aria-label="Clear"
|
aria-label="Clear"
|
||||||
(click)="slug.value = ''"
|
(click)="slug.value = ''"
|
||||||
></button>
|
></button>
|
||||||
<input #slug matInput id="slug" placeholder="Url" formControlName="slug" required />
|
<input #slug matInput id="custom_url" placeholder="Url" formControlName="custom_url" required />
|
||||||
<br />
|
<br />
|
||||||
<div appearance="outline" class="is-not-flex">
|
<div appearance="outline" class="is-not-flex">
|
||||||
<mat-label>Nombre de jours avant expiration</mat-label>
|
<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 {
|
export class StepFourComponent implements OnInit {
|
||||||
urlPrefix: any;
|
urlPrefix: any;
|
||||||
advancedDisplayEnabled: any;
|
advancedDisplayEnabled: boolean = true;
|
||||||
@Input()
|
@Input()
|
||||||
step_max: any;
|
step_max: any;
|
||||||
@Input()
|
@Input()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user