From f08750a116117b340e5846f491973fa582a5fed3 Mon Sep 17 00:00:00 2001 From: Mosiur Rahman Date: Thu, 21 Nov 2024 02:34:01 +0600 Subject: [PATCH] Shift Update adding --- src/app/app.routes.ts | 4 +++- .../pages/shift-update/sample_update.ts | 9 ++++++++ .../shift-update/shift-update.component.html | 22 ++++++++++++++++++ .../shift-update/shift-update.component.scss | 0 .../shift-update.component.spec.ts | 23 +++++++++++++++++++ .../shift-update/shift-update.component.ts | 12 ++++++++++ 6 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 src/app/components/pages/shift-update/sample_update.ts create mode 100644 src/app/components/pages/shift-update/shift-update.component.html create mode 100644 src/app/components/pages/shift-update/shift-update.component.scss create mode 100644 src/app/components/pages/shift-update/shift-update.component.spec.ts create mode 100644 src/app/components/pages/shift-update/shift-update.component.ts diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index fda1e0c..0417680 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,8 +1,10 @@ import { Routes } from '@angular/router'; import { ToolComponent } from './components/partials/tool/tool.component'; import { BackupListComponent } from './components/pages/backup-list/backup-list.component'; +import { ShiftUpdateComponent } from './components/pages/shift-update/shift-update.component'; export const routes: Routes = [ {path: "", component: ToolComponent}, - {path: "backup", component: BackupListComponent} + {path: "backup", component: BackupListComponent}, + {path: "update", component: ShiftUpdateComponent} ]; diff --git a/src/app/components/pages/shift-update/sample_update.ts b/src/app/components/pages/shift-update/sample_update.ts new file mode 100644 index 0000000..62d93d9 --- /dev/null +++ b/src/app/components/pages/shift-update/sample_update.ts @@ -0,0 +1,9 @@ +export const sample_update = [ + { + id: "1", + date: "10/10/24", + detail: "everything to show here", + ref: "Mail Reference", + handler: "xy" + } +] \ No newline at end of file diff --git a/src/app/components/pages/shift-update/shift-update.component.html b/src/app/components/pages/shift-update/shift-update.component.html new file mode 100644 index 0000000..867ddd0 --- /dev/null +++ b/src/app/components/pages/shift-update/shift-update.component.html @@ -0,0 +1,22 @@ +
+ + + + + + + + + + + + + + + + + + + +
Sr.DateDetailsReferencePersonnel
Issue Count + 1Date Of the IssueDetails of the issueMail or bcp reference of the issuePersonnel Name
+
\ No newline at end of file diff --git a/src/app/components/pages/shift-update/shift-update.component.scss b/src/app/components/pages/shift-update/shift-update.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/pages/shift-update/shift-update.component.spec.ts b/src/app/components/pages/shift-update/shift-update.component.spec.ts new file mode 100644 index 0000000..24448ec --- /dev/null +++ b/src/app/components/pages/shift-update/shift-update.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ShiftUpdateComponent } from './shift-update.component'; + +describe('ShiftUpdateComponent', () => { + let component: ShiftUpdateComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [ShiftUpdateComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(ShiftUpdateComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/pages/shift-update/shift-update.component.ts b/src/app/components/pages/shift-update/shift-update.component.ts new file mode 100644 index 0000000..8a54875 --- /dev/null +++ b/src/app/components/pages/shift-update/shift-update.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-shift-update', + standalone: true, + imports: [], + templateUrl: './shift-update.component.html', + styleUrl: './shift-update.component.scss' +}) +export class ShiftUpdateComponent { + +}