-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Graph Latency results by country New Pages: 1. graph.page.html 2. graph-data-for.page.html Bugs Corrected: To Be Corrected: 0. On product delete, delete trace results 1. Show in the Graph Trace
- Loading branch information
1 parent
c53bb03
commit 6fa0217
Showing
10 changed files
with
233 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/app/pages/graph-data-for/graph-data-for-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
|
||
import { GraphDataForPage } from './graph-data-for.page'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: GraphDataForPage | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class GraphDataForPageRoutingModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { FormsModule } from '@angular/forms'; | ||
|
||
import { IonicModule } from '@ionic/angular'; | ||
|
||
import { GraphDataForPageRoutingModule } from './graph-data-for-routing.module'; | ||
|
||
import { GraphDataForPage } from './graph-data-for.page'; | ||
import {ComponentsModule} from "../../components/components.module"; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
IonicModule, | ||
GraphDataForPageRoutingModule, | ||
ComponentsModule | ||
], | ||
declarations: [GraphDataForPage] | ||
}) | ||
export class GraphDataForPageModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<app-header-return [title]="'Graph Data For'"></app-header-return> | ||
|
||
<ion-content [fullscreen]="true"> | ||
<ion-grid> | ||
<app-title [title]="'Graph Data For'"></app-title> | ||
|
||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="6" size-lg="6" class="flex flex-row justify-center"> | ||
<ion-card class="w-full h-60 p-6 flex flex-col justify-center items-center" (click)="goToLatencyGraph()"> | ||
<h1 class="text-6xl font-bold text-blue-500">Latency</h1> | ||
</ion-card> | ||
</ion-col> | ||
<ion-col size="12" size-md="6" size-lg="6" class="flex flex-row justify-center"> | ||
<ion-card class="w-full h-60 p-6 flex flex-col justify-center items-center" (click)="goToTraceGraph()"> | ||
<h1 class="text-6xl font-bold text-blue-500">Trace</h1> | ||
</ion-card> | ||
</ion-col> | ||
</ion-row> | ||
</ion-grid> | ||
|
||
|
||
|
||
</ion-content> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { GraphDataForPage } from './graph-data-for.page'; | ||
|
||
describe('GraphDataForPage', () => { | ||
let component: GraphDataForPage; | ||
let fixture: ComponentFixture<GraphDataForPage>; | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(GraphDataForPage); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import {ActivatedRoute, Router} from "@angular/router"; | ||
|
||
@Component({ | ||
selector: 'app-graph-data-for', | ||
templateUrl: './graph-data-for.page.html', | ||
styleUrls: ['./graph-data-for.page.scss'], | ||
}) | ||
export class GraphDataForPage implements OnInit { | ||
productObjective: string = ''; | ||
|
||
constructor( | ||
private route: ActivatedRoute, | ||
private router: Router | ||
) { } | ||
|
||
ngOnInit() { | ||
// get parameters from the URL | ||
this.route.queryParams.subscribe(params => { | ||
this.productObjective = params['product']; | ||
}); | ||
} | ||
|
||
goToLatencyGraph() { | ||
this.router.navigate(['/graph'], {queryParams: {product: this.productObjective}}); | ||
|
||
} | ||
|
||
goToTraceGraph() { | ||
this.router.navigate(['/graph'], {queryParams: {product: this.productObjective}}); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters