diff --git a/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.html b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.html new file mode 100644 index 00000000..dd4d4f23 --- /dev/null +++ b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.html @@ -0,0 +1 @@ +

portfolio-stats works!

diff --git a/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.scss b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.scss new file mode 100644 index 00000000..dd49466d --- /dev/null +++ b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.scss @@ -0,0 +1,13 @@ +/** + * Copyright 2019 Sven Loesekann + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + \ No newline at end of file diff --git a/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.spec.ts b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.spec.ts new file mode 100644 index 00000000..33572968 --- /dev/null +++ b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.spec.ts @@ -0,0 +1,37 @@ +/** + * Copyright 2019 Sven Loesekann + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PortfolioStatsComponent } from './portfolio-stats.component'; + +/* +describe('PortfolioStatsComponent', () => { + let component: PortfolioStatsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [PortfolioStatsComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(PortfolioStatsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); +*/ \ No newline at end of file diff --git a/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.ts b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.ts new file mode 100644 index 00000000..093efc69 --- /dev/null +++ b/frontend/src/angular/src/app/portfolios/portfolio-overview/components/portfolio-stats/portfolio-stats.component.ts @@ -0,0 +1,22 @@ +/** + * Copyright 2019 Sven Loesekann + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-portfolio-stats', + templateUrl: './portfolio-stats.component.html', + styleUrl: './portfolio-stats.component.scss' +}) +export class PortfolioStatsComponent { + +} diff --git a/frontend/src/angular/src/app/portfolios/portfolio-overview/portfolio-overview.module.ts b/frontend/src/angular/src/app/portfolios/portfolio-overview/portfolio-overview.module.ts index e233c790..6a39d161 100644 --- a/frontend/src/angular/src/app/portfolios/portfolio-overview/portfolio-overview.module.ts +++ b/frontend/src/angular/src/app/portfolios/portfolio-overview/portfolio-overview.module.ts @@ -30,6 +30,7 @@ import { PortfolioTimechartComponent } from "./components/portfolio-timechart/po import { CalendarService } from "./service/calendar.service"; import { NewsListComponent } from "./components/news-list/news-list.component"; import { NewsService } from "./service/news.service"; +import { PortfolioStatsComponent } from "./components/portfolio-stats/portfolio-stats.component"; @NgModule({ declarations: [ @@ -38,6 +39,7 @@ import { NewsService } from "./service/news.service"; PortfolioSectorsComponent, PortfolioTimechartComponent, NewsListComponent, + PortfolioStatsComponent ], imports: [ BaseModule,