mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Added default splash | changed date to get the local device time
This commit is contained in:
@@ -91,6 +91,11 @@
|
|||||||
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
|
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
|
||||||
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
|
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
|
||||||
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
|
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
|
||||||
|
<icon height="216" src="resources/ios/icon/icon-108@2x.png" width="216" />
|
||||||
|
<splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" />
|
||||||
|
<splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" />
|
||||||
|
<splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" />
|
||||||
|
<splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" />
|
||||||
</platform>
|
</platform>
|
||||||
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
|
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
|
||||||
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
|
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
@@ -7,12 +7,12 @@ const routes: Routes = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: IndexPage,
|
component: IndexPage,
|
||||||
children: [
|
children: [
|
||||||
{
|
/*{
|
||||||
path: '',
|
path: '',
|
||||||
loadChildren: ()=> import('../pages/welcome/welcome.module').then(m => m.WelcomePageModule)
|
loadChildren: ()=> import('../pages/welcome/welcome.module').then(m => m.WelcomePageModule)
|
||||||
},
|
}, */
|
||||||
{
|
{
|
||||||
path: 'login',
|
path: '',
|
||||||
loadChildren: ()=> import('../pages/login/login.module').then(m => m.LoginPageModule)
|
loadChildren: ()=> import('../pages/login/login.module').then(m => m.LoginPageModule)
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -25,32 +25,32 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label position="stacked">Localização</ion-label>
|
<ion-label position="stacked">Localização</ion-label>
|
||||||
<ion-input tpye="text" [(ngModel)]="event.title"></ion-input>
|
<ion-input tpye="text" [(ngModel)]="event.place"></ion-input>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label position="stacked">Intervenientes</ion-label>
|
<ion-label position="stacked">Intervenientes</ion-label>
|
||||||
<ion-input tpye="text" [(ngModel)]="event.desc"></ion-input>
|
<ion-input tpye="text" [(ngModel)]="event.people"></ion-input>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-radio-group value="biff">
|
<ion-radio-group value="biff">
|
||||||
<ion-item class="radio-button" lines="none">
|
<ion-item class="radio-button" lines="none">
|
||||||
<ion-label>Oficial</ion-label>
|
<ion-label>Oficial</ion-label>
|
||||||
<ion-radio slot="start" value="biff"></ion-radio>
|
<ion-radio [(ngModel)]="event.type" slot="start" value="biff"></ion-radio>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
<ion-item class="radio-button" lines="none">
|
<ion-item class="radio-button" lines="none">
|
||||||
<ion-label>Pessoal</ion-label>
|
<ion-label>Pessoal</ion-label>
|
||||||
<ion-radio slot="start" value="griff"></ion-radio>
|
<ion-radio [(ngModel)]="event.type" slot="start" value="griff"></ion-radio>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-radio-group>
|
</ion-radio-group>
|
||||||
</ion-list>
|
</ion-list>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label>Selecione o tipo de evento</ion-label>
|
<ion-label>Selecione o tipo de evento</ion-label>
|
||||||
<ion-select interface="action-sheet" class="custom-options" Cancel-text="Cancelar">
|
<ion-select interface="action-sheet" class="custom-options" Cancel-text="Cancelar">
|
||||||
<ion-select-option value="brown">Reunião</ion-select-option>
|
<ion-select-option value="Reunião">Reunião</ion-select-option>
|
||||||
<ion-select-option value="blonde">Viagem</ion-select-option>
|
<ion-select-option value="Viagem">Viagem</ion-select-option>
|
||||||
<ion-select-option value="black">Conferência</ion-select-option>
|
<ion-select-option value="Conferência">Conferência</ion-select-option>
|
||||||
<ion-select-option value="red">Encontro</ion-select-option>
|
<ion-select-option value="Encontro">Encontro</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
@@ -68,10 +68,10 @@
|
|||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label>Selecione a frequência do evento</ion-label>
|
<ion-label>Selecione a frequência do evento</ion-label>
|
||||||
<ion-select interface="action-sheet" class="custom-options" Cancel-text="Cancelar">
|
<ion-select interface="action-sheet" class="custom-options" Cancel-text="Cancelar">
|
||||||
<ion-select-option value="brown">Único</ion-select-option>
|
<ion-select-option value="Único">Único</ion-select-option>
|
||||||
<ion-select-option value="blonde">Diário</ion-select-option>
|
<ion-select-option value="Diário">Diário</ion-select-option>
|
||||||
<ion-select-option value="black">Semanal</ion-select-option>
|
<ion-select-option value="Semanal">Semanal</ion-select-option>
|
||||||
<ion-select-option value="red">Mensal</ion-select-option>
|
<ion-select-option value="Mensal">Mensal</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<div class="attach-div">
|
<div class="attach-div">
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ export class CalModalPage implements AfterViewInit {
|
|||||||
event = {
|
event = {
|
||||||
title: '',
|
title: '',
|
||||||
desc: '',
|
desc: '',
|
||||||
|
place: '',
|
||||||
|
people: '',
|
||||||
|
group: '',
|
||||||
|
type: '',
|
||||||
|
frequency: '',
|
||||||
startTime: null,
|
startTime: null,
|
||||||
endTime: null,
|
endTime: null,
|
||||||
allDay: true
|
allDay: true
|
||||||
|
|||||||
@@ -19,7 +19,8 @@
|
|||||||
<ion-item class="ion-text-right" lines="none">
|
<ion-item class="ion-text-right" lines="none">
|
||||||
<ion-label class="ion-text-wrap">
|
<ion-label class="ion-text-wrap">
|
||||||
<h3 class="header-medium">Bom dia Excelência <br />Presidente da República</h3>
|
<h3 class="header-medium">Bom dia Excelência <br />Presidente da República</h3>
|
||||||
<p class="p-small">Segunda-feira, 03 de Agosto</p>
|
<p class="p-small">{{customDate}}</p>
|
||||||
|
<!-- <p>{{timeDate}}</p> -->
|
||||||
</ion-label>
|
</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-title>
|
</ion-title>
|
||||||
|
|||||||
@@ -7,6 +7,25 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class FeedPage implements OnInit {
|
export class FeedPage implements OnInit {
|
||||||
|
|
||||||
|
/* Get current system date */
|
||||||
|
today = new Date();
|
||||||
|
months = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"];
|
||||||
|
days = ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"];
|
||||||
|
customDate = this.days[this.today.getDay()]+ ", "
|
||||||
|
+ this.today.getDate() +" de "
|
||||||
|
+ ( this.months[this.today.getMonth()]);
|
||||||
|
/* Setting appropriate greeting according to the time */
|
||||||
|
grettings = ["Bom dia", "Boa tarde", "Boa noite"];
|
||||||
|
/* hora
|
||||||
|
Dia 06 - 12:00
|
||||||
|
Tarde 12:01 - 18:00
|
||||||
|
Noite 18:00 - 06:00
|
||||||
|
*/
|
||||||
|
timeDate = this.today.getHours() + ":" + this.today.getMinutes();
|
||||||
|
showGreeting(){
|
||||||
|
if(this.today.getHours() >= 11 && this.today.getMinutes() >=)
|
||||||
|
}
|
||||||
|
|
||||||
segment:string;
|
segment:string;
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|||||||
@@ -237,8 +237,8 @@
|
|||||||
padding: 150px 20px 0 20px;
|
padding: 150px 20px 0 20px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.cal-modal{
|
/* .cal-modal{
|
||||||
--height: 80%;
|
--height: 80%;
|
||||||
--border-radius: 10px;
|
--border-radius: 10px;
|
||||||
padding: 25px;
|
padding: 25px;
|
||||||
}
|
} */
|
||||||
Reference in New Issue
Block a user