MitarbeiterDetailSeite #26
8 changed files with 44 additions and 3 deletions
|
@ -2,5 +2,4 @@
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100vw;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<app-navigation-bar></app-navigation-bar>
|
<app-employee-detail></app-employee-detail>
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { RouterOutlet } from '@angular/router';
|
import { RouterOutlet } from '@angular/router';
|
||||||
import { NavigationBarComponent } from './components/navigation-bar/navigation-bar.component';
|
import { NavigationBarComponent } from './components/navigation-bar/navigation-bar.component';
|
||||||
|
import { EmployeeDetailComponent } from './components/employee-detail/employee-detail.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [RouterOutlet, NavigationBarComponent],
|
imports: [RouterOutlet, NavigationBarComponent, EmployeeDetailComponent],
|
||||||
templateUrl: './app.component.html',
|
templateUrl: './app.component.html',
|
||||||
styleUrl: './app.component.css'
|
styleUrl: './app.component.css'
|
||||||
})
|
})
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
<div class="d-flex flex-col" style="height: 100%;">
|
||||||
|
<app-navigation-bar></app-navigation-bar>
|
||||||
|
test
|
||||||
|
</div>
|
|
@ -0,0 +1,23 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { EmployeeDetailComponent } from './employee-detail.component';
|
||||||
|
|
||||||
|
describe('EmployeeDetailComponent', () => {
|
||||||
|
let component: EmployeeDetailComponent;
|
||||||
|
let fixture: ComponentFixture<EmployeeDetailComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
imports: [EmployeeDetailComponent]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(EmployeeDetailComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,13 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
import { NavigationBarComponent } from '../navigation-bar/navigation-bar.component';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-employee-detail',
|
||||||
|
standalone: true,
|
||||||
|
imports: [NavigationBarComponent],
|
||||||
|
templateUrl: './employee-detail.component.html',
|
||||||
|
styleUrl: './employee-detail.component.css'
|
||||||
|
})
|
||||||
|
export class EmployeeDetailComponent {
|
||||||
|
|
||||||
|
}
|
|
@ -1,4 +1,5 @@
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue