-
-
{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}
30" class="post-img">

diff --git a/src/app/pages/publications/view-publications/publication-detail/publication-detail.page.ts b/src/app/pages/publications/view-publications/publication-detail/publication-detail.page.ts
index 73b65a259..c9e88025e 100644
--- a/src/app/pages/publications/view-publications/publication-detail/publication-detail.page.ts
+++ b/src/app/pages/publications/view-publications/publication-detail/publication-detail.page.ts
@@ -11,7 +11,7 @@ import { NewPublicationPage } from '../../new-publication/new-publication.page';
styleUrls: ['./publication-detail.page.scss'],
})
export class PublicationDetailPage implements OnInit {
-
+ showLoader: boolean;
publicationId: string;
folderId: string;
publication: Publication;
@@ -42,6 +42,7 @@ export class PublicationDetailPage implements OnInit {
}
getPublicationDetail(){
+ this.showLoader = true;
console.log(this.publicationId);
console.log(this.folderId);
this.publications.GetPublicationById(this.folderId,this.publicationId).subscribe(res=>{
@@ -56,7 +57,8 @@ export class PublicationDetailPage implements OnInit {
OriginalFileName: '',
FileExtension: '',
}
- })
+ this.showLoader = false;
+ });
}
close(){
diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts
index 4d4e1c4dd..03ada687f 100644
--- a/src/app/services/auth.service.ts
+++ b/src/app/services/auth.service.ts
@@ -44,14 +44,8 @@ export class AuthService {
}
- loginChat(){
- const body = {"user": "admin","password": "tabteste@006"};
- const url = "http://192.168.100.111:3000/api/v1/login";
- return this.http.post(url, body);
- }
-
//Login to rocketChat server
- loginChat2(postData: any):Observable
{
+ loginChat(postData: any):Observable {
return this.httpService.post('login', postData);
}
diff --git a/src/app/shared/header-pr/header-pr-routing.module.ts b/src/app/shared/header-pr/header-pr-routing.module.ts
new file mode 100644
index 000000000..d911e2771
--- /dev/null
+++ b/src/app/shared/header-pr/header-pr-routing.module.ts
@@ -0,0 +1,17 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+
+import { HeaderPrPage } from './header-pr.page';
+
+const routes: Routes = [
+ {
+ path: '',
+ component: HeaderPrPage
+ }
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule],
+})
+export class HeaderPrPageRoutingModule {}
diff --git a/src/app/shared/header-pr/header-pr.module.ts b/src/app/shared/header-pr/header-pr.module.ts
new file mode 100644
index 000000000..b2a41677a
--- /dev/null
+++ b/src/app/shared/header-pr/header-pr.module.ts
@@ -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 { HeaderPrPageRoutingModule } from './header-pr-routing.module';
+
+import { HeaderPrPage } from './header-pr.page';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ FormsModule,
+ IonicModule,
+ HeaderPrPageRoutingModule
+ ],
+ declarations: [HeaderPrPage]
+})
+export class HeaderPrPageModule {}
diff --git a/src/app/shared/header-pr/header-pr.page.html b/src/app/shared/header-pr/header-pr.page.html
new file mode 100644
index 000000000..97880cb13
--- /dev/null
+++ b/src/app/shared/header-pr/header-pr.page.html
@@ -0,0 +1,13 @@
+
+
+
diff --git a/src/app/shared/header-pr/header-pr.page.scss b/src/app/shared/header-pr/header-pr.page.scss
new file mode 100644
index 000000000..cf8935c63
--- /dev/null
+++ b/src/app/shared/header-pr/header-pr.page.scss
@@ -0,0 +1,28 @@
+.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;
+ }
+ }
\ No newline at end of file
diff --git a/src/app/shared/header-pr/header-pr.page.spec.ts b/src/app/shared/header-pr/header-pr.page.spec.ts
new file mode 100644
index 000000000..a4452be8d
--- /dev/null
+++ b/src/app/shared/header-pr/header-pr.page.spec.ts
@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { IonicModule } from '@ionic/angular';
+
+import { HeaderPrPage } from './header-pr.page';
+
+describe('HeaderPrPage', () => {
+ let component: HeaderPrPage;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ HeaderPrPage ],
+ imports: [IonicModule.forRoot()]
+ }).compileComponents();
+
+ fixture = TestBed.createComponent(HeaderPrPage);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ }));
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/shared/header-pr/header-pr.page.ts b/src/app/shared/header-pr/header-pr.page.ts
new file mode 100644
index 000000000..d09241781
--- /dev/null
+++ b/src/app/shared/header-pr/header-pr.page.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-header-pr',
+ templateUrl: './header-pr.page.html',
+ styleUrls: ['./header-pr.page.scss'],
+})
+export class HeaderPrPage implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/src/app/shared/header/header.page.html b/src/app/shared/header/header.page.html
index 467b9ad5c..49c3e1cac 100644
--- a/src/app/shared/header/header.page.html
+++ b/src/app/shared/header/header.page.html
@@ -1,6 +1,5 @@
-
-
-
+
diff --git a/src/app/shared/header/header.page.scss b/src/app/shared/header/header.page.scss
index cee7e2053..cf8935c63 100644
--- a/src/app/shared/header/header.page.scss
+++ b/src/app/shared/header/header.page.scss
@@ -1,21 +1,11 @@
-:host{
- background: #0782c9;
- }
- ion-content{
- --background: transparent;
- }
- ion-toolbar{
- background: transparent;
- border-width: 0 !important;
- }
- .div-top-header{
- width: 400px;
- margin: 0 auto;
- background-color: #0782c9;
- overflow: auto;
- padding-top: 15px;
- border: 0!important;
- }
+.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;
@@ -35,7 +25,4 @@
float: right;
margin-right: 10px;
}
- ion-content{
- --background:#0782c9;
- --border: none;
- }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/src/app/shared/shared.modules.ts b/src/app/shared/shared.module.ts
similarity index 62%
rename from src/app/shared/shared.modules.ts
rename to src/app/shared/shared.module.ts
index eebc23949..ff9aee71d 100644
--- a/src/app/shared/shared.modules.ts
+++ b/src/app/shared/shared.module.ts
@@ -2,6 +2,8 @@ import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
+import { HeaderPage } from './header/header.page';
+import { HeaderPrPage } from './header-pr/header-pr.page';
@NgModule({
imports: [
@@ -9,8 +11,8 @@ import { IonicModule } from '@ionic/angular';
FormsModule,
IonicModule,
],
- exports: [],
+ exports: [HeaderPage, HeaderPrPage],
entryComponents:[],
- declarations: []
+ declarations: [HeaderPage, HeaderPrPage]
})
export class SharedModule {}
\ No newline at end of file
diff --git a/src/assets/images/icons-nav-chat-inactive.svg b/src/assets/images/icons-nav-chat-inactive.svg
new file mode 100644
index 000000000..4960afef1
--- /dev/null
+++ b/src/assets/images/icons-nav-chat-inactive.svg
@@ -0,0 +1,14 @@
+
diff --git a/src/assets/images/icons-profile-pr.svg b/src/assets/images/icons-profile-pr.svg
new file mode 100644
index 000000000..c322507eb
--- /dev/null
+++ b/src/assets/images/icons-profile-pr.svg
@@ -0,0 +1,23 @@
+