From 02a4542455d12e306beb43be38f3c3f94561eec4 Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Tue, 3 Jun 2025 00:03:01 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20the=20POI=20List=20componen?= =?UTF-8?q?t=20for=20managing=20points=20of=20interest.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../poi-list/poi-list.component.css | 0 .../poi-list/poi-list.component.html | 82 +++++++++++++++++++ .../poi-list/poi-list.component.spec.ts | 23 ++++++ 3 files changed, 105 insertions(+) create mode 100644 src/app/components/poi-list/poi-list.component.css create mode 100644 src/app/components/poi-list/poi-list.component.html create mode 100644 src/app/components/poi-list/poi-list.component.spec.ts diff --git a/src/app/components/poi-list/poi-list.component.css b/src/app/components/poi-list/poi-list.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/poi-list/poi-list.component.html b/src/app/components/poi-list/poi-list.component.html new file mode 100644 index 0000000..ee895cb --- /dev/null +++ b/src/app/components/poi-list/poi-list.component.html @@ -0,0 +1,82 @@ +
+
+

Liste des Points d'Intérêt

+ +
+ + +
+ + + + + + + + + + + + + + + + + +
TitreDescriptionAdresseActions
{{ poi.title }}{{ poi.description }}{{ poi.complete_address }} + + +
+
+ + +
+
+
+

{{ isAdding ? 'Ajouter un POI' : 'Modifier le POI' }}

+ +
+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+
diff --git a/src/app/components/poi-list/poi-list.component.spec.ts b/src/app/components/poi-list/poi-list.component.spec.ts new file mode 100644 index 0000000..d2e9eb6 --- /dev/null +++ b/src/app/components/poi-list/poi-list.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PoiListComponent } from './poi-list.component'; + +describe('PoiListComponent', () => { + let component: PoiListComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [PoiListComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(PoiListComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +});