mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add first-page for "ações presidenciais" view.
This commit is contained in:
@@ -13,6 +13,10 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: 'chat',
|
path: 'chat',
|
||||||
loadChildren: () => import('./pages/chat/chat.module').then( m => m.ChatPageModule)
|
loadChildren: () => import('./pages/chat/chat.module').then( m => m.ChatPageModule)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'publications',
|
||||||
|
loadChildren: () => import('./pages/publications/publications.module').then( m => m.PublicationsPageModule)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -130,6 +130,15 @@ const routes: Routes = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'publications',
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path:'',
|
||||||
|
loadChildren: ()=> import('../pages/publications/publications.module').then(m => m.PublicationsPageModule)
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,6 +18,10 @@
|
|||||||
<ion-badge color="danger">{{totalExpediente}}</ion-badge>
|
<ion-badge color="danger">{{totalExpediente}}</ion-badge>
|
||||||
<ion-label>Gabinete Digital</ion-label>
|
<ion-label>Gabinete Digital</ion-label>
|
||||||
</ion-tab-button>
|
</ion-tab-button>
|
||||||
|
<ion-tab-button tab="publications">
|
||||||
|
<ion-icon class="nav-icon" src="assets/images/icons-nav-actions.svg"></ion-icon>
|
||||||
|
<ion-label>Ações</ion-label>
|
||||||
|
</ion-tab-button>
|
||||||
<!-- <ion-tab-button tab="search">
|
<!-- <ion-tab-button tab="search">
|
||||||
<ion-icon name="search"></ion-icon>
|
<ion-icon name="search"></ion-icon>
|
||||||
<ion-label>Pesquisa</ion-label>
|
<ion-label>Pesquisa</ion-label>
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { Routes, RouterModule } from '@angular/router';
|
||||||
|
|
||||||
|
import { PublicationsPage } from './publications.page';
|
||||||
|
|
||||||
|
const routes: Routes = [
|
||||||
|
{
|
||||||
|
path: '',
|
||||||
|
component: PublicationsPage
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [RouterModule.forChild(routes)],
|
||||||
|
exports: [RouterModule],
|
||||||
|
})
|
||||||
|
export class PublicationsPageRoutingModule {}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
|
||||||
|
import { IonicModule } from '@ionic/angular';
|
||||||
|
|
||||||
|
import { PublicationsPageRoutingModule } from './publications-routing.module';
|
||||||
|
|
||||||
|
import { PublicationsPage } from './publications.page';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
IonicModule,
|
||||||
|
PublicationsPageRoutingModule
|
||||||
|
],
|
||||||
|
declarations: [PublicationsPage]
|
||||||
|
})
|
||||||
|
export class PublicationsPageModule {}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<ion-toolbar class="ion-no-border" class="bg-blue">
|
||||||
|
<div class="div-top-header">
|
||||||
|
<div class="div-search">
|
||||||
|
<ion-icon src='assets/images/icons-search.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
<div class="div-logo">
|
||||||
|
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
||||||
|
</div>
|
||||||
|
<div class="div-profile">
|
||||||
|
<ion-icon src='assets/images/icons-profile.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</ion-toolbar>
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
|
<ion-content>
|
||||||
|
<div class="main-content">
|
||||||
|
<div class="title-content">
|
||||||
|
<div class="div-title">
|
||||||
|
<ion-label class="title">Ações Presidenciais</ion-label>
|
||||||
|
</div>
|
||||||
|
<div class="div-icon">
|
||||||
|
<ion-icon slot="end" src='assets/images/icons-add.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<div class="item-icon">
|
||||||
|
<ion-icon slot="end" src='assets/images/icons-plane-active.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
<div class="item-content">
|
||||||
|
<ion-label>
|
||||||
|
<p class="item-content-date">12 de Janeiro</p>
|
||||||
|
<p class="item-content-title">Viagem a Maputo</p>
|
||||||
|
<p class="item-content-detail">Investida de Filipe Nyusi</p>
|
||||||
|
</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<div class="item-icon2">
|
||||||
|
<ion-icon slot="end" src='assets/images/icons-nav-actions.svg'></ion-icon>
|
||||||
|
</div>
|
||||||
|
<div class="item-content">
|
||||||
|
<ion-label>
|
||||||
|
<p class="item-content-date">07 de Janeiro</p>
|
||||||
|
<p class="item-content-title">Decreto de Cadastro Social Único</p>
|
||||||
|
</ion-label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</ion-content>
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
.div-top-header{
|
||||||
|
width: 400px;
|
||||||
|
margin: 0 auto;
|
||||||
|
background-color: #0782c9;
|
||||||
|
overflow: auto;
|
||||||
|
padding-top: 15px;
|
||||||
|
border: 0!important;
|
||||||
|
}
|
||||||
|
.div-search{
|
||||||
|
font-size: 45px;
|
||||||
|
float: left;
|
||||||
|
margin: 0 0 0 10px
|
||||||
|
}
|
||||||
|
.div-logo{
|
||||||
|
background: transparent;
|
||||||
|
width: 140px;
|
||||||
|
margin: 5px 0 0px 71px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.div-logo img{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.div-profile{
|
||||||
|
font-size: 45px;
|
||||||
|
float: right;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
ion-content{
|
||||||
|
--background:#0782c9;
|
||||||
|
--border: none;
|
||||||
|
}
|
||||||
|
.main-content{
|
||||||
|
width: 100%; /* 400px */
|
||||||
|
height: 100%;
|
||||||
|
font-family: Roboto;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-top-left-radius: 25px;
|
||||||
|
border-top-right-radius: 25px;
|
||||||
|
background-color: #fff;
|
||||||
|
overflow:auto;
|
||||||
|
padding: 25px 20px 0 20px;
|
||||||
|
}
|
||||||
|
.title-content{
|
||||||
|
width: 360px;
|
||||||
|
margin: 0px auto;
|
||||||
|
overflow: auto;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
.div-title{
|
||||||
|
padding: 0!important;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.title{
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
.div-icon{
|
||||||
|
width: 40px;
|
||||||
|
float: right;
|
||||||
|
font-size: 35px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
.item{
|
||||||
|
width: 360px;
|
||||||
|
padding: 0 0px 0 0px;
|
||||||
|
overflow: auto;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.item-icon{
|
||||||
|
margin-top: 28px;
|
||||||
|
width: 45px;
|
||||||
|
float: left;
|
||||||
|
font-size: 40px;
|
||||||
|
}
|
||||||
|
.item-icon2{
|
||||||
|
margin-top: 23px;
|
||||||
|
width: 45px;
|
||||||
|
float: left;
|
||||||
|
font-size: 40px;
|
||||||
|
}
|
||||||
|
.item-icon ion-icon{
|
||||||
|
color: #061b52;
|
||||||
|
}
|
||||||
|
.item-content{
|
||||||
|
width: 305px;
|
||||||
|
float: left;
|
||||||
|
padding: 15px 0 15px 10px;
|
||||||
|
}
|
||||||
|
.item-content-date{
|
||||||
|
color: #797979;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
.item-content-title{
|
||||||
|
color: #0d89d1;
|
||||||
|
font-size: 15px;
|
||||||
|
padding: 5px 0 5px 0;
|
||||||
|
}
|
||||||
|
.item-content-detail{
|
||||||
|
color: #000000;
|
||||||
|
font-size: 13px;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
import { IonicModule } from '@ionic/angular';
|
||||||
|
|
||||||
|
import { PublicationsPage } from './publications.page';
|
||||||
|
|
||||||
|
describe('PublicationsPage', () => {
|
||||||
|
let component: PublicationsPage;
|
||||||
|
let fixture: ComponentFixture<PublicationsPage>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ PublicationsPage ],
|
||||||
|
imports: [IonicModule.forRoot()]
|
||||||
|
}).compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(PublicationsPage);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
}));
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-publications',
|
||||||
|
templateUrl: './publications.page.html',
|
||||||
|
styleUrls: ['./publications.page.scss'],
|
||||||
|
})
|
||||||
|
export class PublicationsPage implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
import { IonicModule } from '@ionic/angular';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
IonicModule,
|
||||||
|
],
|
||||||
|
exports: [],
|
||||||
|
entryComponents:[],
|
||||||
|
declarations: []
|
||||||
|
})
|
||||||
|
export class SharedModule {}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 35 35">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g transform="translate(-345 -109) translate(0 84) translate(0 25) translate(20) translate(325)">
|
||||||
|
<g>
|
||||||
|
<path fill="#FFF" d="M7 7H18V8H7z"/>
|
||||||
|
<circle cx="10.5" cy="7.5" r="1.5" fill="#FFF"/>
|
||||||
|
<g fill="#42B9FE">
|
||||||
|
<circle cx="17.5" cy="17.5" r="17.5"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<rect width="2" height="15" x="17" y="10" fill="#FFF" rx="1"/>
|
||||||
|
<rect width="2" height="15" x="17" y="10" fill="#FFF" rx="1" transform="rotate(90 18 17.5)"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,15 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g stroke="#797979" stroke-width="2">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g transform="translate(-262 -740) translate(0 740) translate(246) translate(16)">
|
||||||
|
<path d="M20.5 34.5c5.523 0 10.5-.977 10.5-6.5s-4.477-10-10-10-10 4.477-10 10 3.977 6.5 9.5 6.5z"/>
|
||||||
|
<circle cx="21" cy="12" r="6"/>
|
||||||
|
<path stroke-linejoin="round" d="M23.423 19.064v16m-4.773 2.561l.354-19" transform="rotate(45 21.125 28.125)"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 717 B |
@@ -0,0 +1,19 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g stroke="#061B52" stroke-width="2">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<g transform="translate(-15 -187) translate(0 84) translate(0 25) translate(0 50) translate(15 28)">
|
||||||
|
<ellipse cx="21" cy="18.5" rx="14" ry="13.5"/>
|
||||||
|
<g stroke-linejoin="round">
|
||||||
|
<path stroke-dasharray="2 3" stroke-linecap="round" d="M11.3 19.503c-1.147 10.21-3.25 15.316-6.308 15.316-3.06 0-4.589-2.27-4.589-6.807" transform="rotate(33 9.474 33.877)"/>
|
||||||
|
<path fill="#FFF" d="M20.301 1.086L16.649 8.26c.244 2.878.38 4.534.409 4.966.055.584.105 1.19-.001 1.851-.086.537-.478 1.62-1.287 3.225h0l-3.57-6.21-1.347 1.347-2.548 6.008-.755-5.68-5.584-.884 5.85-2.48 1.322-1.322-5.775-3.133 2.783-1.38c.501-.248 1.323-.412 1.882-.37h0l4.978.41L20.3 1.086z" transform="rotate(33 9.474 33.877) rotate(-45 11.799 9.702)"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user