mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
fix demo build
This commit is contained in:
parent
2f1309bf6f
commit
52ff89f1f5
@ -23,7 +23,7 @@ export class FormComponent implements OnInit {
|
|||||||
private cd: ChangeDetectorRef,
|
private cd: ChangeDetectorRef,
|
||||||
private uuidService: UuidService,
|
private uuidService: UuidService,
|
||||||
private toastService: ToastService,
|
private toastService: ToastService,
|
||||||
private pollService: PollService,
|
public pollService: PollService,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
public route: ActivatedRoute,
|
public route: ActivatedRoute,
|
||||||
private apiService: ApiService,
|
private apiService: ApiService,
|
||||||
|
@ -54,12 +54,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<!-- [disabled]="form.invalid"-->
|
<app-errors-list [form]="pollService.form"></app-errors-list>
|
||||||
<button
|
|
||||||
class="btn is-primary"
|
<button class="btn is-primary" (click)="createPoll()" [disabled]="!pollService.form.valid">
|
||||||
(click)="createPoll()"
|
|
||||||
[disabled]="!pollService.form.valid || !pollService.form.valid"
|
|
||||||
>
|
|
||||||
<i class="fa fa-save"></i>
|
<i class="fa fa-save"></i>
|
||||||
Enregistrer le sondage
|
Enregistrer le sondage
|
||||||
</button>
|
</button>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button
|
<button
|
||||||
(click)="pollService.addTime()"
|
(click)="pollService.addTime()"
|
||||||
*ngIf="'false' === pollService.allowSeveralHours"
|
*ngIf="false == pollService.allowSeveralHours"
|
||||||
class="btn btn--primary"
|
class="btn btn--primary"
|
||||||
id="add_time_button"
|
id="add_time_button"
|
||||||
>
|
>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
(click)="pollService.removeAllTimes()"
|
(click)="pollService.removeAllTimes()"
|
||||||
*ngIf="'false' === pollService.allowSeveralHours"
|
*ngIf="false == pollService.allowSeveralHours"
|
||||||
class="btn btn--warning"
|
class="btn btn--warning"
|
||||||
id="remove_time_button"
|
id="remove_time_button"
|
||||||
>
|
>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
(click)="pollService.resetTimes()"
|
(click)="pollService.resetTimes()"
|
||||||
*ngIf="'false' === pollService.allowSeveralHours"
|
*ngIf="false == pollService.allowSeveralHours"
|
||||||
class="btn btn--warning"
|
class="btn btn--warning"
|
||||||
id="reset_time_button"
|
id="reset_time_button"
|
||||||
>
|
>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="'false' === pollService.allowSeveralHours" class="identical-dates">
|
<div *ngIf="false == pollService.allowSeveralHours" class="identical-dates">
|
||||||
<div cdkDropList class="example-list" (cdkDropListDropped)="drop($event)">
|
<div cdkDropList class="example-list" (cdkDropListDropped)="drop($event)">
|
||||||
<div *ngFor="let time of pollService.timeList; index as id" class="time-choice" cdkDrag>
|
<div *ngFor="let time of pollService.timeList; index as id" class="time-choice" cdkDrag>
|
||||||
<label for="timeChoices_{{ id }}">
|
<label for="timeChoices_{{ id }}">
|
||||||
@ -79,13 +79,6 @@
|
|||||||
[showWeek]="true"
|
[showWeek]="true"
|
||||||
></p-calendar>
|
></p-calendar>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="day-time">-->
|
|
||||||
<!-- <app-time-list></app-time-list>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div class="debug">-->
|
|
||||||
<!-- <pre>{{ pollService.calendar | json }}</pre>-->
|
|
||||||
<!-- <pre>{{ 'calendar_widget' | translate }}</pre>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
|
@ -7,3 +7,6 @@
|
|||||||
color: white;
|
color: white;
|
||||||
border: solid 2px white;
|
border: solid 2px white;
|
||||||
}
|
}
|
||||||
|
.validation-error-list {
|
||||||
|
margin: 2em;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user