mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
save
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
Calendário do MDGPR
|
Calendário do MDGPR
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
<ion-segment-button value="PR">
|
<ion-segment-button value="PR">
|
||||||
Presidente da República
|
Calendário do Presidente da República
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
</ion-segment>
|
</ion-segment>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ ion-toolbar{
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (min-width: 801px) {
|
@media only screen and (min-width: 701px) {
|
||||||
.content-right{
|
.content-right{
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
width: 65%;
|
width: 65%;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
Calendário do MDGPR
|
Calendário do MDGPR
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
<ion-segment-button value="PR">
|
<ion-segment-button value="PR">
|
||||||
Presidente da República
|
Calendário do Presidente da República
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
</ion-segment>
|
</ion-segment>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
Calendário do MDGPR
|
Calendário do MDGPR
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
<ion-segment-button value="PR">
|
<ion-segment-button value="PR">
|
||||||
Presidente da República
|
Calendário do Presidente da República
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
</ion-segment>
|
</ion-segment>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export class EditActionPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get dateValid() {
|
get dateValid() {
|
||||||
if (window.innerWidth <= 800) {
|
if (window.innerWidth < 701) {
|
||||||
return this.folder.DateBegin < this.folder.DateEnd? ['ok']: []
|
return this.folder.DateBegin < this.folder.DateEnd? ['ok']: []
|
||||||
} else {
|
} else {
|
||||||
return ['ok']
|
return ['ok']
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ export class NewActionPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get dateValid() {
|
get dateValid() {
|
||||||
if (window.innerWidth >= 800) {
|
if (window.innerWidth > 700) {
|
||||||
return new Date(this.folder.DateBegin).toLocaleString('pt') < new Date(this.folder.DateEnd).toLocaleString("pt")? ['ok'] : []
|
return new Date(this.folder.DateBegin).toLocaleString('pt') < new Date(this.folder.DateEnd).toLocaleString("pt")? ['ok'] : []
|
||||||
} else {
|
} else {
|
||||||
return ['ok']
|
return ['ok']
|
||||||
|
|||||||
+1
-1
@@ -108,7 +108,7 @@ export class PublicationDetailPage implements OnInit {
|
|||||||
async editPost(publicationType:any) {
|
async editPost(publicationType:any) {
|
||||||
console.log(this.publication);
|
console.log(this.publication);
|
||||||
|
|
||||||
if(window.innerWidth <= 1024){
|
if(window.innerWidth < 701){
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: NewPublicationPage,
|
component: NewPublicationPage,
|
||||||
componentProps:{
|
componentProps:{
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
|
|
||||||
async AddPublication(publicationType:any, folderId:any) {
|
async AddPublication(publicationType:any, folderId:any) {
|
||||||
|
|
||||||
if( window.innerWidth <= 1024) {
|
if( window.innerWidth < 701) {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: NewPublicationPage,
|
component: NewPublicationPage,
|
||||||
componentProps:{
|
componentProps:{
|
||||||
|
|||||||
Reference in New Issue
Block a user