diff --git a/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.css b/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.css
index e69de29bb..05190a9e3 100644
--- a/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.css
+++ b/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.css
@@ -0,0 +1,67 @@
+.flex-container {
+ background-color: rgb(240, 240, 240);
+ display: flex;
+ }
+
+ .flex-container > div {
+ width: 50%;
+ padding: 10px;
+ margin: 10px;
+ }
+
+ .flex-container > div:first-child {
+ margin-right: 0;
+ }
+
+ .scroll {
+ overflow-y: scroll;
+ }
+
+
+ :host ::ng-deep .cadre {
+ background-color: white;
+ /* border: 1px solid grey;*/
+ border-radius: 5px;
+ padding: 5px;
+ margin: 5px;
+ /* display: inline-block; */
+ }
+
+
+ /* TABLE */
+
+ .cell-link {
+ cursor: pointer;
+}
+
+:host::ng-deep .datatable-body-row.active .datatable-row-group {
+ background-color: rgb(117, 227, 118) !important;
+}
+
+.link:hover {
+ background-color: rgba(0, 0, 0, 0.2) !important;
+ transition: background-color 0.5;
+}
+
+.link {
+ display: inline;
+ transition: background-color 0.5s;
+ border-radius: 5px;
+}
+
+.header-filter-span > input {
+ width: 100%;
+}
+
+.header-sort-span {
+ /* width: 100%; */
+ cursor: pointer;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space:nowrap
+}
+
+
+.header-sort-span:hover {
+ background-color: rgb(245, 245, 245);
+}
diff --git a/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.html b/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.html
index 85afaac99..7284bb254 100644
--- a/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.html
+++ b/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.html
@@ -1,4 +1,5 @@
-
+
\ No newline at end of file
diff --git a/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.ts b/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.ts
index 00e3634be..90f71aa52 100644
--- a/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.ts
+++ b/frontend/app/components/monitoring-sitesgroups/monitoring-sitesgroups.component.ts
@@ -1,7 +1,13 @@
-import { Component, OnInit } from "@angular/core";
+import { Component, OnInit, Input,
+ Output,
+ EventEmitter,
+ ViewChild,
+ SimpleChanges } from "@angular/core";
import { SitesService } from "../../services/sites.service";
import { GeoJSON } from "leaflet";
+import { DatatableComponent } from "@swimlane/ngx-datatable";
+import { Subject } from "rxjs";
interface SitesGroups {
comments?: string;
data?: any;
@@ -28,7 +34,26 @@ interface PaginatedSitesGroup {
styleUrls: ["./monitoring-sitesgroups.component.css"],
})
export class MonitoringSitesGroupsComponent implements OnInit {
+
+ @ViewChild(DatatableComponent) table: DatatableComponent;
+ @Input() rowStatus: Array
;
+ @Output() rowStatusChange = new EventEmitter