MitarbeiterDetailSeite #26
8 changed files with 68 additions and 3 deletions
|
@ -2,5 +2,4 @@
|
|||
:host {
|
||||
display: block;
|
||||
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 { RouterOutlet } from '@angular/router';
|
||||
import { NavigationBarComponent } from './components/navigation-bar/navigation-bar.component';
|
||||
import { EmployeeDetailComponent } from './components/employee-detail/employee-detail.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
standalone: true,
|
||||
imports: [RouterOutlet, NavigationBarComponent],
|
||||
imports: [RouterOutlet, NavigationBarComponent, EmployeeDetailComponent],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.css'
|
||||
})
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<div class="d-flex flex-col" style="height: 100%;">
|
||||
<app-navigation-bar></app-navigation-bar>
|
||||
<div class="p-3" style="width: 100%;">
|
||||
<a href="" class="btn btn-primary">Zurück</a>
|
||||
<div class="row align-items-start pt-3">
|
||||
<div class="col">
|
||||
<h1>Name des Mitarbeiters</h1>
|
||||
<p><strong>Straße: </strong>Straße des Benutzers</p>
|
||||
<p><strong>Postleitzahl: </strong>Postleitzahl des Benutzers</p>
|
||||
<p><strong>Stadt: </strong>Stadt des Benutzers</p>
|
||||
<p><strong>Telefonnummer: </strong>Telefonnummer des Benutzers</p>
|
||||
<button class="btn btn-danger">Löschen</button>
|
||||
<button class="ms-3 btn btn-primary">Bearbeiten</button>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h2>Qualifikationen</h2>
|
||||
<ul class="list-group" style="width: fit-content;">
|
||||
<li class="list-group-item">Qualifikation 1</li>
|
||||
<li class="list-group-item">Qualifikation 2</li>
|
||||
<li class="list-group-item">Qualifikation 3</li>
|
||||
<li class="list-group-item">Qualifikation 4</li>
|
||||
<li class="list-group-item">Qualifikation 5</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</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 {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 300px;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue