|
|
|
@ -111,6 +111,7 @@
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="range-time" *ngIf="!form.value.hasSeveralHours">
|
|
|
|
|
<h2>
|
|
|
|
|
<span class="count-dates-txt">
|
|
|
|
@ -130,21 +131,20 @@
|
|
|
|
|
[cdkDropListData]="timeList"
|
|
|
|
|
(cdkDropListDropped)="dropTimeItem($event)"
|
|
|
|
|
>
|
|
|
|
|
<div *ngFor="let time of timeList; index as time_id" class="time-choice" cdkDrag>
|
|
|
|
|
<div *ngFor="let time of timeList; index as time_id" class="time-choice movable" cdkDrag>
|
|
|
|
|
<div class="columns">
|
|
|
|
|
<div class="column movable">
|
|
|
|
|
<label [for]="'timeChoices_' + time_id">
|
|
|
|
|
<i class="fa fa-clock-o" aria-hidden="true"></i>
|
|
|
|
|
<div class="column">
|
|
|
|
|
<label class="button pull-left" [for]="'timeChoices_' + time_id">
|
|
|
|
|
<i class="icon fa fa-arrows-v" aria-hidden="true"></i>
|
|
|
|
|
</label>
|
|
|
|
|
<input
|
|
|
|
|
class="pull-left"
|
|
|
|
|
[(ngModel)]="time.literal"
|
|
|
|
|
name="timeChoices_{{ time_id }}"
|
|
|
|
|
type="text"
|
|
|
|
|
id="timeChoices_{{ time_id }}"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="column">
|
|
|
|
|
<button (click)="timeList.splice(time_id, 1)" class="btn btn-warning">
|
|
|
|
|
<button (click)="timeList.splice(time_id, 1)" class="button is-warning">
|
|
|
|
|
<i class="fa fa-times" aria-hidden="true"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@ -214,6 +214,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- date picker calendrier-->
|
|
|
|
|
<!-- <div class="column calendar-column">-->
|
|
|
|
|
<!-- <button class="btn" (click)="selectionKind = 'range'" [class.is-primary]="selectionKind == 'range'">-->
|
|
|
|
|
<!-- plage de jours-->
|
|
|
|
|