From a4e8dee2e140f3ff96886c57274d25441b367f07 Mon Sep 17 00:00:00 2001 From: Sylvain MATHIEU Date: Tue, 4 Jan 2022 14:20:41 +0100 Subject: [PATCH] group detail, page refactoring --- .../group-details/group-details.component.html | 1 + .../group-details/group-details.component.scss | 4 ++-- src/app/models/permission.ts | 12 ++++++++++++ src/app/services/permissions.service.ts | 12 ++++++++++++ 4 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/app/components/group-details/group-details.component.html b/src/app/components/group-details/group-details.component.html index fa22aec5..5368644d 100644 --- a/src/app/components/group-details/group-details.component.html +++ b/src/app/components/group-details/group-details.component.html @@ -24,6 +24,7 @@ +
Members:
diff --git a/src/app/components/group-details/group-details.component.scss b/src/app/components/group-details/group-details.component.scss index 54ea87ef..ac8538fc 100644 --- a/src/app/components/group-details/group-details.component.scss +++ b/src/app/components/group-details/group-details.component.scss @@ -1,6 +1,6 @@ .main { display: flex; - justify-content: space-between; + justify-content: space-around; } .details { @@ -11,7 +11,7 @@ } .members { - width: 40vw; + width: 30vw; display: flex; flex-direction: column; justify-content: stretch; diff --git a/src/app/models/permission.ts b/src/app/models/permission.ts index 4462cd33..0e93a35a 100644 --- a/src/app/models/permission.ts +++ b/src/app/models/permission.ts @@ -1,3 +1,15 @@ +/* +* Software Name : GNS3 Web UI +* Version: 3 +* SPDX-FileCopyrightText: Copyright (c) 2022 Orange Business Services +* SPDX-License-Identifier: GPL-3.0-or-later +* +* This software is distributed under the GPL-3.0 or any later version, +* the text of which is available at https://www.gnu.org/licenses/gpl-3.0.txt +* or see the "LICENSE" file for more details. +* +* Author: Sylvain MATHIEU, Elise LEBEAU +*/ export enum Methods { GET = 'GET', HEAD = 'HEAD', diff --git a/src/app/services/permissions.service.ts b/src/app/services/permissions.service.ts index 0de4e409..dfde68cf 100644 --- a/src/app/services/permissions.service.ts +++ b/src/app/services/permissions.service.ts @@ -1,3 +1,15 @@ +/* +* Software Name : GNS3 Web UI +* Version: 3 +* SPDX-FileCopyrightText: Copyright (c) 2022 Orange Business Services +* SPDX-License-Identifier: GPL-3.0-or-later +* +* This software is distributed under the GPL-3.0 or any later version, +* the text of which is available at https://www.gnu.org/licenses/gpl-3.0.txt +* or see the "LICENSE" file for more details. +* +* Author: Sylvain MATHIEU, Elise LEBEAU +*/ import { Injectable } from '@angular/core'; import {HttpServer} from "./http-server.service"; import {Server} from "../models/server";