diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html index edc9fd32b1..f3019499b9 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.html @@ -61,11 +61,12 @@ {{ 'gateway.connectors-table-status' | translate }} - +
{{isConnectorSynced(attribute)?'Synchronised' : 'Unsynchronised'}}
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss index 0a807acb94..6d5a6c4585 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss +++ b/ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-connectors.component.scss @@ -23,7 +23,7 @@ .connector-container { width: 100%; - &>mat-card, &>div { + & > mat-card, & > div { min-width: calc(50% - 15px); } @@ -65,7 +65,23 @@ margin: 15px; } + .status-block { + text-align: center; + border-radius: 16px; + font-weight: 500; + width: fit-content; + padding: 5px 15px; + } + + .status-sync { + background: rgba(25, 128, 56, .06); + color: rgb(25, 128, 56); + } + .status-unsync { + background: rgba(203, 37, 48, .06); + color: rgb(203, 37, 48); + } .action-btns { margin: 10px 10px 0;