From 457613aa4216a83fda81db6dec774c8142c6285d Mon Sep 17 00:00:00 2001 From: bruno-roberto Date: Sun, 25 Sep 2022 13:27:23 -0300 Subject: [PATCH 1/4] up --- .../controllers/CountVisitorController.java | 5 +++ .../src/app/insight/insight.component.html | 44 +++++++++++-------- .../main/src/app/insight/insight.component.ts | 31 ++++++++++++- 3 files changed, 60 insertions(+), 20 deletions(-) create mode 100644 backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java diff --git a/backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java b/backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java new file mode 100644 index 0000000..fb9c726 --- /dev/null +++ b/backend/TMSProject/src/main/java/br/com/entra21/teamroxo/TMSProject/controllers/CountVisitorController.java @@ -0,0 +1,5 @@ +package br.com.entra21.teamroxo.TMSProject.controllers; + +public class CountVisitorController { + +} diff --git a/frontend/main/src/app/insight/insight.component.html b/frontend/main/src/app/insight/insight.component.html index ba3ab9d..e0c84b0 100644 --- a/frontend/main/src/app/insight/insight.component.html +++ b/frontend/main/src/app/insight/insight.component.html @@ -1,35 +1,41 @@
-
-
-

4

-

New Orders

+ +
+
+ +

+ + +

New Registers Packages

+
- More info + More info
-
+
+

12%

Bounce Rate

- More info + More info
-
+

4

User Registrations

@@ -37,27 +43,27 @@

4

- More info + More info
-
+
-

15

+

number

Visitors

- More info + More info
-
+

@@ -67,10 +73,10 @@

- -
@@ -120,7 +126,7 @@

4 5 6 - 7 + 7 8 9 @@ -146,7 +152,7 @@

21 22 23 - 24 + 24 @@ -197,8 +203,8 @@

class="month">JunJulAugSepOctSepOctNovDec diff --git a/frontend/main/src/app/insight/insight.component.ts b/frontend/main/src/app/insight/insight.component.ts index c351cd1..620eb70 100644 --- a/frontend/main/src/app/insight/insight.component.ts +++ b/frontend/main/src/app/insight/insight.component.ts @@ -1,4 +1,7 @@ import { Component, OnInit } from '@angular/core'; +import { Router } from '@angular/router'; +import { RctQtComponent } from '../rct-qt/rct-qt.component'; +import { HttpClient } from '@angular/common/http'; @Component({ selector: 'app-insight', @@ -6,10 +9,36 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./insight.component.css'] }) export class InsightComponent implements OnInit { + count: any; - constructor() { } + constructor(private router:Router) { } ngOnInit(): void { } + register(){ + this.router.navigateByUrl('pack-register') + } + + clients(){ + this.router.navigateByUrl('users') + } + + + public get countVisitors() : any { + return this.countVisitors + } + + contador(){ + this.countVisitors + console.log(this.countVisitors); + + } + + + + + + + } From ba930e382ec33b3f93c1f83e97873658672f1d23 Mon Sep 17 00:00:00 2001 From: bruno-roberto Date: Sun, 25 Sep 2022 13:28:48 -0300 Subject: [PATCH 2/4] dash --- frontend/main/src/app/insight/insight.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/main/src/app/insight/insight.component.html b/frontend/main/src/app/insight/insight.component.html index e0c84b0..240abd4 100644 --- a/frontend/main/src/app/insight/insight.component.html +++ b/frontend/main/src/app/insight/insight.component.html @@ -5,7 +5,7 @@
-

+

10

New Registers Packages

From b858ce8769408386c8c81f43c27c9917aeb05492 Mon Sep 17 00:00:00 2001 From: bruno-roberto Date: Sun, 25 Sep 2022 13:32:25 -0300 Subject: [PATCH 3/4] Upando dash --- frontend/main/src/app/insight/insight.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/main/src/app/insight/insight.component.html b/frontend/main/src/app/insight/insight.component.html index 240abd4..33d73fd 100644 --- a/frontend/main/src/app/insight/insight.component.html +++ b/frontend/main/src/app/insight/insight.component.html @@ -20,7 +20,7 @@
-
+

12%

From c775d2ff3bdb964b2edb22b0a9b82d126c5eb402 Mon Sep 17 00:00:00 2001 From: bruno-roberto Date: Sun, 25 Sep 2022 13:34:48 -0300 Subject: [PATCH 4/4] Dash --- .../main/src/app/insight/insight.component.html | 2 +- frontend/main/src/app/insight/insight.component.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/main/src/app/insight/insight.component.html b/frontend/main/src/app/insight/insight.component.html index 33d73fd..f84ef4b 100644 --- a/frontend/main/src/app/insight/insight.component.html +++ b/frontend/main/src/app/insight/insight.component.html @@ -51,7 +51,7 @@

4

-

number

+

40

Visitors

diff --git a/frontend/main/src/app/insight/insight.component.ts b/frontend/main/src/app/insight/insight.component.ts index 620eb70..c293e1d 100644 --- a/frontend/main/src/app/insight/insight.component.ts +++ b/frontend/main/src/app/insight/insight.component.ts @@ -25,15 +25,15 @@ export class InsightComponent implements OnInit { } - public get countVisitors() : any { - return this.countVisitors - } + // public get countVisitors() : any { + // return this.countVisitors + // } - contador(){ - this.countVisitors - console.log(this.countVisitors); + // contador(){ + // this.countVisitors + // console.log(this.countVisitors); - } + // }