From a9089beda1d76ae337ca1a9c4c548a862c2d534b Mon Sep 17 00:00:00 2001 From: csba1652 <Bilal.Hassan@student.uibk.ac.at> Date: Tue, 17 Jan 2023 20:18:05 +0100 Subject: [PATCH] Adding LV1 start of design the avgMinMax --- src/app/app.module.ts | 2 ++ src/app/core/service/level1/Limit.ts | 2 +- .../media/svg/svg-sun/svg-sun.component.css | 0 .../media/svg/svg-sun/svg-sun.component.html | 1 + .../svg/svg-sun/svg-sun.component.spec.ts | 23 +++++++++++++++++++ .../media/svg/svg-sun/svg-sun.component.ts | 10 ++++++++ .../module/pages/login/login.component.css | 2 ++ 7 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 src/app/module/media/svg/svg-sun/svg-sun.component.css create mode 100644 src/app/module/media/svg/svg-sun/svg-sun.component.html create mode 100644 src/app/module/media/svg/svg-sun/svg-sun.component.spec.ts create mode 100644 src/app/module/media/svg/svg-sun/svg-sun.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index cc41dd0..7158670 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -32,6 +32,7 @@ import { ComingSoonComponent } from './module/components/coming-soon/coming-soon import { CoomingSoonHeaderComponent } from './module/components/cooming-soon-header/cooming-soon-header.component'; import { Lev0Component } from './module/components/lev0/lev0.component'; import { LightChartComponent } from './module/components/charts/light-chart/light-chart.component'; +import { SvgSunComponent } from './module/media/svg/svg-sun/svg-sun.component'; @@ -56,6 +57,7 @@ import { LightChartComponent } from './module/components/charts/light-chart/ligh CoomingSoonHeaderComponent, Lev0Component, LightChartComponent, + SvgSunComponent, ], imports: [ BrowserModule, diff --git a/src/app/core/service/level1/Limit.ts b/src/app/core/service/level1/Limit.ts index 7876887..ce18fb8 100644 --- a/src/app/core/service/level1/Limit.ts +++ b/src/app/core/service/level1/Limit.ts @@ -1,4 +1,4 @@ export interface Limit{ - "value":String, + "value":Number, "timestamp":String } diff --git a/src/app/module/media/svg/svg-sun/svg-sun.component.css b/src/app/module/media/svg/svg-sun/svg-sun.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/module/media/svg/svg-sun/svg-sun.component.html b/src/app/module/media/svg/svg-sun/svg-sun.component.html new file mode 100644 index 0000000..aa15662 --- /dev/null +++ b/src/app/module/media/svg/svg-sun/svg-sun.component.html @@ -0,0 +1 @@ +<p>svg-sun works!</p> diff --git a/src/app/module/media/svg/svg-sun/svg-sun.component.spec.ts b/src/app/module/media/svg/svg-sun/svg-sun.component.spec.ts new file mode 100644 index 0000000..814bc77 --- /dev/null +++ b/src/app/module/media/svg/svg-sun/svg-sun.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SvgSunComponent } from './svg-sun.component'; + +describe('SvgSunComponent', () => { + let component: SvgSunComponent; + let fixture: ComponentFixture<SvgSunComponent>; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ SvgSunComponent ] + }) + .compileComponents(); + + fixture = TestBed.createComponent(SvgSunComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/module/media/svg/svg-sun/svg-sun.component.ts b/src/app/module/media/svg/svg-sun/svg-sun.component.ts new file mode 100644 index 0000000..8705351 --- /dev/null +++ b/src/app/module/media/svg/svg-sun/svg-sun.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-svg-sun', + templateUrl: './svg-sun.component.html', + styleUrls: ['./svg-sun.component.css'] +}) +export class SvgSunComponent { + +} diff --git a/src/app/module/pages/login/login.component.css b/src/app/module/pages/login/login.component.css index 2954033..1de54bc 100644 --- a/src/app/module/pages/login/login.component.css +++ b/src/app/module/pages/login/login.component.css @@ -22,3 +22,5 @@ label { color: #fff; } + + -- GitLab