2020-12-02 15:08:45 +01:00
< ion-content >
< div class = "content-container" >
2021-07-08 13:41:27 +01:00
< div class = "title-content width-100" >
2020-12-01 17:22:45 +01:00
< div class = "div-title" >
2020-12-17 10:59:11 +01:00
< ion-label class = "title" > Nova Acção< / ion-label >
2020-12-01 17:22:45 +01:00
< / div >
2022-01-19 11:22:54 +01:00
<!-- <div class="actionType">
2020-12-09 12:10:19 +01:00
<ion - segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
<ion - segment - button value="Viagem">
<ion - label>Viagem</ion - label>
</ion - segment - button>
<ion - segment - button value="Evento">
<ion - label>Evento</ion - label>
</ion - segment - button>
</ion - segment>
2022-01-19 11:22:54 +01:00
</div> -->
2021-08-24 14:37:09 +01:00
2020-12-01 17:22:45 +01:00
< / div >
2020-12-01 14:03:15 +01:00
2021-07-06 16:18:00 +01:00
< div class = "ion-item-container" [ class . input-error ] = " Form ? . get ( ' Subject ' ) ? . invalid & & validateFrom " >
2022-01-20 14:51:34 +01:00
< ion-input autocomplete = "on" autocorrect = "on" spellcheck = "true" [ ( ngModel ) ] = " folder . Description " placeholder = "Assunto" > < / ion-input >
2020-12-01 17:22:45 +01:00
< / div >
< div class = "container-div" >
< div class = "ion-item-class-2" >
< div class = "ion-icon-class" >
< ion-icon slot = "start" src = "assets/images/icons-calendar.svg" > < / ion-icon >
< / div >
2021-07-08 14:23:37 +01:00
< div class = "ion-input-class" [ class . input-error ] = " Form ? . get ( ' Date ' ) ? . invalid & & validateFrom " >
2021-08-24 14:37:09 +01:00
< ion-datetime
2020-12-09 12:10:19 +01:00
[ ( ngModel ) ] = " folder . DateBegin "
2021-07-06 16:18:00 +01:00
class = "d-block d-md-none"
2022-07-14 17:04:21 +01:00
placeholder = "Data início*"
2020-12-11 15:09:53 +01:00
displayFormat = "D MMM YYYY H:mm"
2022-01-20 15:16:01 +01:00
minuteValues = "0,5,10,15,20,25,30,35,40,45,50,55"
2020-12-11 15:09:53 +01:00
monthShortNames = "Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"
2021-08-24 14:37:09 +01:00
min = "{{minDate}}"
2021-07-05 15:28:54 +01:00
max = "2025" >
2020-12-11 15:09:53 +01:00
< / ion-datetime >
2021-07-06 16:18:00 +01:00
2021-07-09 14:39:53 +01:00
< mat-form-field appearance = "none" class = "date-hour-picker d-none d-md-block" >
2021-07-06 16:18:00 +01:00
< input matInput [ ngxMatDatetimePicker ] = " picker1 "
2022-07-14 17:04:21 +01:00
placeholder = "Data inicio*"
2021-07-06 16:18:00 +01:00
[ formControl ] = " dateControlStart "
[ min ] = " minDate "
[ disabled ] = " disabled "
>
< mat-datepicker-toggle id = "new-inicio" matSuffix [ for ] = " picker1 " > < / mat-datepicker-toggle >
2021-08-24 14:37:09 +01:00
< ngx-mat-datetime-picker # picker1
[ showSpinners ] = " showSpinners "
2021-07-06 16:18:00 +01:00
[ showSeconds ] = " showSeconds "
2021-08-24 14:37:09 +01:00
[ stepHour ] = " stepHour " [ stepMinute ] = " stepMinute "
2021-07-06 16:18:00 +01:00
[ stepSecond ] = " stepSecond "
[ touchUi ] = " touchUi "
>
< / ngx-mat-datetime-picker >
< / mat-form-field >
2020-12-11 15:09:53 +01:00
< / div >
< / div >
< / div >
< div class = "container-div" >
< div class = "ion-item-class-2" >
< div class = "ion-icon-class" >
< ion-icon slot = "start" src = "assets/images/icons-calendar.svg" > < / ion-icon >
< / div >
2021-07-08 14:23:37 +01:00
< div class = "ion-input-class" [ class . input-error ] = " Form ? . get ( ' Date ' ) ? . invalid & & validateFrom " >
2021-07-06 16:18:00 +01:00
< ion-datetime
class = "d-block d-md-none"
2020-12-11 15:09:53 +01:00
[ ( ngModel ) ] = " folder . DateEnd "
2022-07-14 17:04:21 +01:00
placeholder = "Data de fim*"
2020-12-01 17:22:45 +01:00
displayFormat = "D MMM YYYY H:mm"
2022-01-20 15:16:01 +01:00
minuteValues = "0,5,10,15,20,25,30,35,40,45,50,55"
2020-12-01 17:22:45 +01:00
monthShortNames = "Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"
2021-08-24 14:37:09 +01:00
min = "{{minDate}}"
2021-07-05 15:28:54 +01:00
max = "2025" >
2020-12-01 17:22:45 +01:00
< / ion-datetime >
2021-07-06 16:18:00 +01:00
2022-07-14 17:04:21 +01:00
< mat-form-field appearance = "none" class = "date-hour-picker d-none d-md-block" >
2021-08-24 14:37:09 +01:00
< input matInput [ ngxMatDatetimePicker ] = " fim "
2022-07-14 17:04:21 +01:00
placeholder = "Data de fim*"
2021-07-06 16:18:00 +01:00
[ formControl ] = " dateControlEnd "
[ min ] = " endMinDate "
[ disabled ] = " disabled "
>
< mat-datepicker-toggle id = "new-fim" matSuffix [ for ] = " fim " > < / mat-datepicker-toggle >
2021-08-24 14:37:09 +01:00
< ngx-mat-datetime-picker # fim
[ showSpinners ] = " showSpinners "
2021-07-06 16:18:00 +01:00
[ showSeconds ] = " showSeconds "
2021-08-24 14:37:09 +01:00
[ stepHour ] = " stepHour " [ stepMinute ] = " stepMinute "
2021-07-06 16:18:00 +01:00
[ stepSecond ] = " stepSecond "
[ touchUi ] = " touchUi "
>
< / ngx-mat-datetime-picker >
< / mat-form-field >
2020-12-01 17:22:45 +01:00
< / div >
< / div >
< / div >
< div class = "container-div" >
< div class = "ion-item-class-2" >
< div class = "ion-icon-class" >
< ion-icon slot = "start" src = "assets/images/icons-description.svg" > < / ion-icon >
< / div >
< div class = "ion-textarea-class" >
2022-01-20 14:51:34 +01:00
< ion-textarea autocomplete = "on" autocorrect = "on" spellcheck = "true" [ ( ngModel ) ] = " folder . Detail " rows = "12" cols = "20" placeholder = "Descrição da acção..." > < / ion-textarea >
2020-12-01 17:22:45 +01:00
< / div >
< / div >
< / div >
2020-12-02 15:08:45 +01:00
< / div >
2020-12-01 14:03:15 +01:00
< / ion-content >
2020-12-01 17:22:45 +01:00
< ion-footer class = "ion-no-border" >
2021-03-16 14:43:54 +01:00
< ion-toolbar class = "footer-toolbar width-100" >
2020-12-01 17:22:45 +01:00
< ion-buttons slot = "start" >
2021-08-24 14:37:09 +01:00
< button class = "btn-cancel" fill = "clear" color = "#061b52" ( click ) = " close ( ) " >
2020-12-01 17:22:45 +01:00
< ion-label > Cancelar< / ion-label >
2021-08-24 14:37:09 +01:00
< / button >
2020-12-01 17:22:45 +01:00
< / ion-buttons >
< ion-buttons slot = "end" >
2021-08-24 14:37:09 +01:00
< button class = "btn-ok" fill = "clear" color = "#fff" ( click ) = " save ( ) " >
2020-12-01 17:22:45 +01:00
< ion-label > Criar< / ion-label >
2021-08-24 14:37:09 +01:00
< / button >
2020-12-01 17:22:45 +01:00
< / ion-buttons >
< / ion-toolbar >
< / ion-footer >