-
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 Traceroute results by country 2. Reload button 3. Color the graphs New Pages: 1. graph-latency.page.html 2. graph-trace.page.html Bugs Corrected: To Be Corrected: 0. On product delete, delete trace results
- Loading branch information
1 parent
d010dd2
commit 7f33099
Showing
25 changed files
with
398 additions
and
68 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
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
4 changes: 2 additions & 2 deletions
4
src/app/pages/graph/graph-routing.module.ts → ...h-latency/graph-latency-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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<app-header-return [title]="'Latency Graph'"></app-header-return> | ||
|
||
<ion-content [fullscreen]="true"> | ||
<ion-grid> | ||
<ion-row class="lg:m-10"> | ||
<ion-col size="6" size-md="6" size-lg="6"> | ||
<h1 class="text-4xl lg:text-6xl font-bold">Latency Graph</h1> | ||
</ion-col> | ||
<ion-col size="6" size-md="6" size-lg="6" class="text-right"> | ||
<ion-icon name="refresh" (click)="refresh()" class="text-4xl lg:text-6xl font-bold onreloadhover "></ion-icon> | ||
</ion-col> | ||
</ion-row> | ||
<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" *ngFor="let country of countries"> | ||
<ion-card class="w-full h-96 p-6 flex flex-col justify-center items-center"> | ||
<h1 class="text-6xl font-bold text-white">{{ country }}</h1> | ||
<br> | ||
<div echarts [options]="countryOptions[country]" class="demo-chart h-full w-full"></div> | ||
</ion-card> | ||
</ion-col> | ||
</ion-row> | ||
</ion-grid> | ||
</ion-content> |
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,12 @@ | ||
@keyframes rotate90deg { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
.onreloadhover:hover { | ||
animation: rotate90deg 900ms linear infinite; | ||
} |
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
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 { GraphTracePage } from './graph-trace.page'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: GraphTracePage | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class GraphTracePageRoutingModule {} |
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,24 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { FormsModule } from '@angular/forms'; | ||
|
||
import { IonicModule } from '@ionic/angular'; | ||
|
||
import { GraphTracePageRoutingModule } from './graph-trace-routing.module'; | ||
|
||
import { GraphTracePage } from './graph-trace.page'; | ||
import {ComponentsModule} from "../../components/components.module"; | ||
import {NgxEchartsDirective} from "ngx-echarts"; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
IonicModule, | ||
GraphTracePageRoutingModule, | ||
ComponentsModule, | ||
NgxEchartsDirective | ||
], | ||
declarations: [GraphTracePage] | ||
}) | ||
export class GraphTracePageModule {} |
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,25 @@ | ||
<app-header-return [title]="'Traceroute Graph'"></app-header-return> | ||
|
||
<ion-content [fullscreen]="true"> | ||
<ion-grid> | ||
<ion-row class="lg:m-10"> | ||
<ion-col size="6" size-md="6" size-lg="6"> | ||
<h1 class="text-4xl lg:text-6xl font-bold">Traceroute Graph</h1> | ||
</ion-col> | ||
<ion-col size="6" size-md="6" size-lg="6" class="text-right"> | ||
<ion-icon name="refresh" (click)="refresh()" class="text-4xl lg:text-6xl font-bold onreloadhover "></ion-icon> | ||
</ion-col> | ||
</ion-row> | ||
<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" *ngFor="let country of countries"> | ||
<ion-card class="w-full h-96 p-6 flex flex-col justify-center items-center"> | ||
<ion-card-title class=""> | ||
<h1 class="text-6xl font-bold text-white">{{ country }}</h1> | ||
</ion-card-title> | ||
<br> | ||
<div echarts [options]="countryOptions[country]" class="demo-chart h-full w-full min-w-full"></div> | ||
</ion-card> | ||
</ion-col> | ||
</ion-row> | ||
</ion-grid> | ||
</ion-content> |
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,12 @@ | ||
@keyframes rotate90deg { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
.onreloadhover:hover { | ||
animation: rotate90deg 900ms linear infinite; | ||
} |
10 changes: 5 additions & 5 deletions
10
src/app/pages/graph/graph.page.spec.ts → ...ages/graph-trace/graph-trace.page.spec.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
Oops, something went wrong.