From 758e327ca0b31a41a234485baf7c8874d69eee33 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Thu, 25 Apr 2024 18:36:46 +0300 Subject: [PATCH] fix css and lint --- ui/src/app/app.component.ts | 4 +- ui/src/app/home/home.component.scss | 6 +- ui/src/app/home/home.route.ts | 2 +- .../member-info-edit.component.html | 101 ++++++++---------- .../member-info-edit.component.scss | 19 +++- .../member-info/member-info-edit.component.ts | 38 ++++++- ui/src/app/member/contact-update.component.ts | 4 +- ui/src/app/member/service/member.service.ts | 3 +- ...add-consortium-member-alert.component.html | 10 +- .../add-consortium-member-alert.component.ts | 2 +- ...ove-consortium-member-alert.component.html | 10 +- ...emove-consortium-member-alert.component.ts | 2 +- .../contact-update-alert.component.html | 10 +- ui/src/content/scss/global.scss | 12 +-- 14 files changed, 140 insertions(+), 83 deletions(-) diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 2bdfdac24..926d932a7 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -6,6 +6,4 @@ import { HttpClient } from '@angular/common/http' templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], }) -export class AppComponent { - constructor() {} -} +export class AppComponent {} diff --git a/ui/src/app/home/home.component.scss b/ui/src/app/home/home.component.scss index 759fef2d0..5a1ee4abc 100644 --- a/ui/src/app/home/home.component.scss +++ b/ui/src/app/home/home.component.scss @@ -1,7 +1,11 @@ -@import '~quill/dist/quill.snow.css'; :host { max-width: 1250px; display: block; margin: auto; height: 100%; } + +.home-container { + border: 2px solid #eeeeee; + border-radius: 5px 0px 0px 5px; +} diff --git a/ui/src/app/home/home.route.ts b/ui/src/app/home/home.route.ts index 93bb025da..69278315b 100644 --- a/ui/src/app/home/home.route.ts +++ b/ui/src/app/home/home.route.ts @@ -71,7 +71,7 @@ export const routes: Routes = [ authorities: ['ROLE_USER'], pageTitle: 'home.title.string', }, - canActivate: [AuthGuard, ManageMemberGuard], + canActivate: [ManageMemberGuard], }, { path: 'manage/:id/edit', diff --git a/ui/src/app/home/member-info/member-info-edit.component.html b/ui/src/app/home/member-info/member-info-edit.component.html index d922d3d08..1ace28c61 100644 --- a/ui/src/app/home/member-info/member-info-edit.component.html +++ b/ui/src/app/home/member-info/member-info-edit.component.html @@ -1,4 +1,4 @@ -