From 3984de656a750961fd97a4b741289c85eeb759e0 Mon Sep 17 00:00:00 2001 From: mariateresa Date: Wed, 13 Dec 2023 16:35:15 +0100 Subject: [PATCH] added component to perform CRUD operations on resources --- .../resources-crud/resources-crud.component.html | 1 + .../resources-crud/resources-crud.component.scss | 0 .../resources-crud/resources-crud.component.ts | 15 +++++++++++++++ .../app/resources-crud/resources-crud.module.ts | 12 ++++++++++++ .../webapp/app/services/resources-crud.service.ts | 9 +++++++++ 5 files changed, 37 insertions(+) create mode 100644 src/main/webapp/app/resources-crud/resources-crud.component.html create mode 100644 src/main/webapp/app/resources-crud/resources-crud.component.scss create mode 100644 src/main/webapp/app/resources-crud/resources-crud.component.ts create mode 100644 src/main/webapp/app/resources-crud/resources-crud.module.ts create mode 100644 src/main/webapp/app/services/resources-crud.service.ts diff --git a/src/main/webapp/app/resources-crud/resources-crud.component.html b/src/main/webapp/app/resources-crud/resources-crud.component.html new file mode 100644 index 0000000..58e1aaa --- /dev/null +++ b/src/main/webapp/app/resources-crud/resources-crud.component.html @@ -0,0 +1 @@ +

resources-crud works!

diff --git a/src/main/webapp/app/resources-crud/resources-crud.component.scss b/src/main/webapp/app/resources-crud/resources-crud.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/main/webapp/app/resources-crud/resources-crud.component.ts b/src/main/webapp/app/resources-crud/resources-crud.component.ts new file mode 100644 index 0000000..3084977 --- /dev/null +++ b/src/main/webapp/app/resources-crud/resources-crud.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'jhi-resources-crud', + templateUrl: './resources-crud.component.html', + styleUrls: ['./resources-crud.component.scss'] +}) +export class ResourcesCrudComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/main/webapp/app/resources-crud/resources-crud.module.ts b/src/main/webapp/app/resources-crud/resources-crud.module.ts new file mode 100644 index 0000000..5dc4657 --- /dev/null +++ b/src/main/webapp/app/resources-crud/resources-crud.module.ts @@ -0,0 +1,12 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + + + +@NgModule({ + declarations: [], + imports: [ + CommonModule + ] +}) +export class ResourcesCrudModule { } diff --git a/src/main/webapp/app/services/resources-crud.service.ts b/src/main/webapp/app/services/resources-crud.service.ts new file mode 100644 index 0000000..39c8051 --- /dev/null +++ b/src/main/webapp/app/services/resources-crud.service.ts @@ -0,0 +1,9 @@ +import { Injectable } from '@angular/core'; + +@Injectable({ + providedIn: 'root' +}) +export class ResourcesCrudService { + + constructor() { } +}