mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
réarrangement des champs de date
This commit is contained in:
parent
345b90c2e1
commit
3c4c0b5337
@ -30,8 +30,10 @@
|
||||
cdkDrag
|
||||
[ngClass]="{ 'day-weekend': isWeekendDay(choice.date_object) }"
|
||||
>
|
||||
<i class="fa fa-arrows-v"></i>
|
||||
{{ choice.date_object | date: 'E':'Europe/Paris':'fr_FR' }}
|
||||
<span class="button is-default" for="dateChoices_{{ id }}">
|
||||
<i class="icon fa fa-arrows-v"></i>
|
||||
{{ choice.date_object | date: 'E':'Europe/Paris':'fr_FR' }}
|
||||
</span>
|
||||
<input
|
||||
[(ngModel)]="choice.date_object"
|
||||
(keyup)="keyOnChoice($event, id)"
|
||||
|
@ -1,3 +1,10 @@
|
||||
.day-weekend {
|
||||
background: #dedede;
|
||||
}
|
||||
.button {
|
||||
min-width: 9ch;
|
||||
}
|
||||
.icon {
|
||||
margin-right: 1ch;
|
||||
display: inline-block;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="time-list-container" cdkDropList [cdkDropListData]="timeSlices" (cdkDropListDropped)="dropTimeItem($event)">
|
||||
<div *ngFor="let time of timeSlices; index as id" class="time-choice" cdkDrag>
|
||||
<label class="icon" for="timeChoices_{{ id }}">
|
||||
<label class="icon button is-default" for="timeChoices_{{ id }}">
|
||||
<i class="fa fa-arrows-v" aria-hidden="true"></i>
|
||||
</label>
|
||||
<input [(ngModel)]="time.literal" name="timeChoices_{{ id }}" type="text" id="timeChoices_{{ id }}" />
|
||||
|
Loading…
Reference in New Issue
Block a user