Skip to content
Snippets Groups Projects
Commit 1f64fd79 authored by Dan Barbulescu's avatar Dan Barbulescu
Browse files

updated networkcheck html

parent 2e14d5a4
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
</div>
<div *ngIf="testDone">
<p [ngSwitch]="networkRating">Ihre Verbindung zum Testserver ist
<p [ngSwitch]="networkRating.overallRating">Ihre Verbindung zum Testserver ist
<span *ngSwitchCase="'insufficient'" style="color: red; font-weight: bold;">unzureichend <i class="material-icons">error</i></span>
<span *ngSwitchCase="'ok'" style="color: orange; font-weight: bold;">vorauss. ausreichend (bes. Vorsichtsmaßnahmen treffen!) <i class="material-icons">warning</i></span>
<span *ngSwitchCase="'good'" style="color: green; font-weight: bold;">gut <i class="material-icons">check</i></span>
......
......@@ -244,9 +244,9 @@ export interface NetworkData {
export type TechCheckRating = 'N/A' | 'insufficient' | 'ok' | 'good';
export interface NetworkRating {
uploadRating: TechCheckRating
downloadRating: TechCheckRating
pingRating: TechCheckRating
overallRating: TechCheckRating
uploadRating: TechCheckRating;
downloadRating: TechCheckRating;
pingRating: TechCheckRating;
overallRating: TechCheckRating;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment