- - -
- - - Rocket Ship - - - - - - - - - - {{ title }} app is running! - - - Rocket Ship Smoke - - - +
+
+

SeNuMa Seriennummern-Verwaltung

- -

Resources

-

Here are some links to help you get started:

- -
- - - - Learn Angular - - - - - - - CLI Documentation - - - - - - - - Angular Blog - - - - +
+
- -

Next Steps

-

What do you want to do next with your app?

- - - -
-
- - - New Component -
- -
- - - Angular Material -
- -
- - - Add PWA Support -
- -
- - - Add Dependency -
- -
- - - Run and Watch Tests -
- -
- - - Build for Production -
-
- - -
-
ng generate component xyz
-
ng add @angular/material
-
ng add @angular/pwa
-
ng add _____
-
ng test
-
ng build
-
- - - - - - - - - Gray Clouds Background - - - -
- - - - - - - - - + +
\ No newline at end of file diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 1c07421..983cdd5 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,5 +1,4 @@ import { Component } from '@angular/core'; - @Component({ selector: 'app-root', templateUrl: './app.component.html', diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 8dfc1d6..7495735 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,14 +1,18 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; +import { HttpClientModule } from '@angular/common/http'; import { AppComponent } from './app.component'; +import { ServerDataComponent } from './server-data/server-data.component'; @NgModule({ declarations: [ - AppComponent + AppComponent, + ServerDataComponent ], imports: [ - BrowserModule + BrowserModule, + HttpClientModule ], providers: [], bootstrap: [AppComponent] diff --git a/src/app/server-data/server-data.component.css b/src/app/server-data/server-data.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/server-data/server-data.component.html b/src/app/server-data/server-data.component.html new file mode 100644 index 0000000..d9c777e --- /dev/null +++ b/src/app/server-data/server-data.component.html @@ -0,0 +1 @@ +

server-data works!

diff --git a/src/app/server-data/server-data.component.spec.ts b/src/app/server-data/server-data.component.spec.ts new file mode 100644 index 0000000..40dfb11 --- /dev/null +++ b/src/app/server-data/server-data.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ServerDataComponent } from './server-data.component'; + +describe('ServerDataComponent', () => { + let component: ServerDataComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ServerDataComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ServerDataComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/server-data/server-data.component.ts b/src/app/server-data/server-data.component.ts new file mode 100644 index 0000000..f3c73f3 --- /dev/null +++ b/src/app/server-data/server-data.component.ts @@ -0,0 +1,28 @@ +import { Component, OnInit } from '@angular/core'; + + +export interface SerienNummer { + id: number; + artId: number; + kdId: number; + liefId: number; + serienNr: string; + ekDat: Date; + vkDat: Date; + garentieBis: Date; + bemerkung: string; +} + +@Component({ + selector: 'app-server-data', + templateUrl: './server-data.component.html', + styleUrls: ['./server-data.component.css'] +}) +export class ServerDataComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/styles.css b/src/styles.css index 90d4ee0..ebb5f67 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1 +1,10 @@ /* You can add global styles to this file, and also import other style files */ +body { + font-family: Verdana, Geneva, Tahoma, sans-serif; + font-size: medium; +} + +h1 { + padding-top: 10px; + padding-bottom: 10px +} \ No newline at end of file