2021-07-07 17:02:19 +01:00
|
|
|
<ion-header class="ion-no-border pt-20 px-20">
|
2021-07-08 13:41:27 +01:00
|
|
|
<div class="title-content width-100 d-flex align-center justify-space-between ">
|
2021-07-07 17:02:19 +01:00
|
|
|
<div class="div-title">
|
2023-02-09 11:25:57 +01:00
|
|
|
<ion-label class="title">Editar acção presidencial</ion-label> <br>
|
|
|
|
|
<i style="margin-top: -3px; font-size: 15px;" > Campos marcados com * são obrigatórios</i>
|
2021-07-07 17:02:19 +01:00
|
|
|
</div>
|
2022-01-20 15:16:01 +01:00
|
|
|
|
2021-07-07 17:02:19 +01:00
|
|
|
</div>
|
2021-07-07 16:34:01 +01:00
|
|
|
</ion-header>
|
|
|
|
|
|
|
|
|
|
<ion-content>
|
2021-07-07 17:02:19 +01:00
|
|
|
<div class="content-container">
|
|
|
|
|
|
|
|
|
|
<div class="ion-item-container">
|
|
|
|
|
<ion-input [(ngModel)]="folder.Description" placeholder="Assunto" ></ion-input>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container-div">
|
|
|
|
|
<div class="ion-item-class-2 d-flex ">
|
|
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
2023-08-30 14:39:27 +01:00
|
|
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Date')?.invalid && validateFrom ">
|
2021-07-07 17:02:19 +01:00
|
|
|
|
2023-08-30 14:39:27 +01:00
|
|
|
<mat-form-field appearance="none" class="width-100 date-hour-picker">
|
2022-01-20 15:16:01 +01:00
|
|
|
<input matInput [ngxMatDatetimePicker]="picker1"
|
|
|
|
|
placeholder="Choose a date*"
|
2023-08-30 14:39:27 +01:00
|
|
|
[(ngModel)]="folder.DateBegin"
|
2021-07-07 17:02:19 +01:00
|
|
|
>
|
|
|
|
|
<mat-datepicker-toggle id="new-inicio" matSuffix [for]="picker1"></mat-datepicker-toggle>
|
2022-01-20 15:16:01 +01:00
|
|
|
<ngx-mat-datetime-picker #picker1
|
|
|
|
|
[showSpinners]="showSpinners"
|
2021-07-07 17:02:19 +01:00
|
|
|
[showSeconds]="showSeconds"
|
2023-08-30 14:39:27 +01:00
|
|
|
[stepHour]="1" [stepMinute]="12"
|
2021-07-07 17:02:19 +01:00
|
|
|
[stepSecond]="stepSecond"
|
2023-09-22 18:12:48 +01:00
|
|
|
[touchUi]="touchUi"
|
|
|
|
|
[hideTime]="true">
|
2021-07-07 17:02:19 +01:00
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container-div">
|
|
|
|
|
<div class="ion-item-class-2 d-flex">
|
|
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
2023-08-30 14:39:27 +01:00
|
|
|
<div class="ion-input-class d-flex flex-grow-1" [class.input-error]="Form?.get('Date')?.invalid && validateFrom ">
|
2021-07-07 17:02:19 +01:00
|
|
|
|
2023-08-30 14:39:27 +01:00
|
|
|
<mat-form-field class="width-100 date-hour-picker">
|
2022-06-06 16:09:27 +01:00
|
|
|
<input matInput [ngxMatDatetimePicker]="fim"
|
2022-01-20 15:16:01 +01:00
|
|
|
placeholder="Choose a date*"
|
2023-08-30 14:39:27 +01:00
|
|
|
[(ngModel)]="folder.DateEnd"
|
2022-06-06 16:09:27 +01:00
|
|
|
[min]="maxDate"
|
2021-07-07 17:02:19 +01:00
|
|
|
>
|
2022-06-06 16:09:27 +01:00
|
|
|
<mat-datepicker-toggle id="new-fim" matSuffix [for]="fim"></mat-datepicker-toggle>
|
|
|
|
|
<ngx-mat-datetime-picker #fim
|
2022-01-20 15:16:01 +01:00
|
|
|
[showSpinners]="showSpinners"
|
2021-07-07 17:02:19 +01:00
|
|
|
[showSeconds]="showSeconds"
|
2023-08-30 14:39:27 +01:00
|
|
|
[stepHour]="1" [stepMinute]="15"
|
2021-07-07 17:02:19 +01:00
|
|
|
[stepSecond]="stepSecond"
|
2023-09-22 18:12:48 +01:00
|
|
|
[touchUi]="touchUi"
|
|
|
|
|
[hideTime]="true">
|
2021-07-07 17:02:19 +01:00
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container-div">
|
|
|
|
|
<div class="ion-item-class-2 d-flex">
|
|
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="ion-textarea-class flex-grow-1">
|
2023-02-27 09:34:36 +01:00
|
|
|
<ion-textarea [(ngModel)]="folder.Detail" rows="12" cols="20" placeholder="Descrição da acção*"></ion-textarea>
|
2021-07-07 17:02:19 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-01-20 15:16:01 +01:00
|
|
|
|
2021-07-07 16:34:01 +01:00
|
|
|
|
|
|
|
|
</ion-content>
|
2021-07-07 17:02:19 +01:00
|
|
|
|
|
|
|
|
<ion-footer class="ion-no-border">
|
|
|
|
|
<ion-toolbar class="footer-toolbar width-100 justify-space-between d-flex px-20">
|
|
|
|
|
<ion-buttons slot="start">
|
2023-10-19 16:51:12 +01:00
|
|
|
<button class="btn-ok" fill="clear" color="#fff" (click)="save()">
|
|
|
|
|
<ion-label>Gravar</ion-label>
|
2021-07-07 17:02:19 +01:00
|
|
|
</button>
|
|
|
|
|
</ion-buttons>
|
|
|
|
|
<ion-buttons slot="end">
|
2023-10-19 16:51:12 +01:00
|
|
|
<button class="btn-cancel" fill="clear" color="#061b52" (click)="close()">
|
|
|
|
|
<ion-label>Cancelar</ion-label>
|
2021-07-07 17:02:19 +01:00
|
|
|
</button>
|
|
|
|
|
</ion-buttons>
|
2023-10-19 16:51:12 +01:00
|
|
|
|
2021-07-07 17:02:19 +01:00
|
|
|
</ion-toolbar>
|
|
|
|
|
</ion-footer>
|
|
|
|
|
|