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