mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -229,6 +229,7 @@ ion-content{
|
||||
width: 35%;
|
||||
justify-content: flex-start !important;
|
||||
border-right: 1px solid #d8d8d8;
|
||||
border: 1px solid red;
|
||||
|
||||
.aside{
|
||||
background:transparent;
|
||||
|
||||
@@ -46,11 +46,11 @@ export class NewActionPage implements OnInit {
|
||||
console.log(this.folder);
|
||||
|
||||
try {
|
||||
await this.publication.CreatePublicationFolder(this.folder).toPromise()
|
||||
this.toastService.successMessage("Ação presidencial criado")
|
||||
await this.publication.CreatePublicationFolder(this.folder).toPromise();
|
||||
this.toastService.successMessage("Ação presidencial criado");
|
||||
this.close();
|
||||
} catch (error) {
|
||||
this.toastService.badRequest("Ação presidencial não criado")
|
||||
this.toastService.badRequest("Ação presidencial não criado");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
<!-- Main container -->
|
||||
<div class="main-content d-flex height-100 background-white overflow-hidden border-t-radius ">
|
||||
<!-- Left -->
|
||||
<div class="aside-left app-default-padding d-flex flex-grow-1 flex-column aside width-30 ">
|
||||
<div class="aside-left app-default-padding d-flex flex-grow-1 flex-column width-30 ">
|
||||
<!-- Header -->
|
||||
<ion-toolbar >
|
||||
<div class="main-header">
|
||||
<ion-toolbar >
|
||||
<div class="main-header">
|
||||
<div class="title-content d-flex justify-space-between">
|
||||
<div class="div-title flex-grow-1">
|
||||
<ion-label class="title ">Acções Presidenciais</ion-label>
|
||||
@@ -30,10 +30,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
</ion-toolbar>
|
||||
<!-- Content -->
|
||||
|
||||
<div class="main-content overflow-auto-y">
|
||||
<div class="aside overflow-y-auto d-flex flex-wrap width-100">
|
||||
<div class="item d-flex"
|
||||
*ngFor="let viagem of publicationsTravelFolderList"
|
||||
(click)="goToPublicationsList(viagem.ProcessId)">
|
||||
@@ -46,7 +46,7 @@
|
||||
<p class="item-content-detail my-5">{{viagem.Detail}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item width-100"
|
||||
<div class="item width-100 d-flex"
|
||||
*ngFor="let evento of publicationsEventFolderList"
|
||||
(click)="viewPublications(evento)">
|
||||
<div class="item-icon2">
|
||||
|
||||
@@ -82,16 +82,27 @@ ion-toolbar{
|
||||
font-family: Roboto;
|
||||
background-color: #fff;
|
||||
overflow:auto;
|
||||
|
||||
.aside-left{
|
||||
border-right: 1px solid #d8d8d8;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
|
||||
.main-header{
|
||||
padding: 30px 20px 15px 20px !important;
|
||||
}
|
||||
|
||||
.aside{
|
||||
padding: 0px 20px 0 20px !important;
|
||||
}
|
||||
}
|
||||
.content{
|
||||
//border: 1px solid red;
|
||||
}
|
||||
}
|
||||
.item{
|
||||
width: 100% !important;
|
||||
padding: 0 0px 0 0px !important;
|
||||
margin: 0px auto;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
}
|
||||
.item-icon{
|
||||
|
||||
@@ -49,20 +49,14 @@ export class NewActionPage implements OnInit {
|
||||
try {
|
||||
await this.publication.CreatePublicationFolder(this.folder).toPromise()
|
||||
this.close();
|
||||
this.toastService.successMessage('Publicação criado')
|
||||
this.toastService.successMessage('Acção presidencial criada')
|
||||
} catch (error) {
|
||||
this.toastService.badRequest('Publicação não criado')
|
||||
this.toastService.badRequest('Não foi possivel criar a acção presidencial')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
close(){
|
||||
this.closeDesktopComponent.emit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user