From c46a4d751ebb0bcabaae73abd363337c1e2753c3 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 1 Jul 2026 15:03:28 +0300 Subject: [PATCH] UI: convert tb-details-buttons and copy-device-credentials to mat-stroked-button Switch every button inside .tb-details-buttons across all EntityComponent templates (17 files, 102 buttons) from mat-raised-button to mat-stroked-button, matching the device.component.html reference. Update the shared .tb-details-buttons rule in styles.scss so outlined buttons inherit their border color from the surrounding color context. copy-device-credentials follows the same treatment and switches its host to display: contents so it no longer takes layout space. --- .../alarm-rules/alarm-rules.component.html | 6 ++-- .../calculated-field.component.html | 6 ++-- .../copy-device-credentials.component.html | 2 +- .../copy-device-credentials.component.ts | 2 +- .../profile/asset-profile.component.html | 10 +++--- .../profile/device-profile.component.html | 10 +++--- .../profile/tenant-profile.component.html | 8 ++--- .../resources-library.component.html | 8 ++--- .../pages/admin/queue/queue.component.html | 6 ++-- .../admin/resource/js-resource.component.html | 8 ++--- .../home/pages/asset/asset.component.html | 14 ++++---- .../dashboard/dashboard-form.component.html | 20 ++++++------ .../home/pages/device/device.component.html | 18 +++++------ .../home/pages/edge/edge.component.html | 32 +++++++++---------- .../entity-view/entity-view.component.html | 14 ++++---- .../ota-update/ota-update.component.html | 12 +++---- .../pages/rulechain/rulechain.component.html | 18 +++++------ .../home/pages/user/user.component.html | 16 +++++----- .../pages/widget/widget-type.component.html | 8 ++--- .../widget/widgets-bundle.component.html | 8 ++--- ui-ngx/src/styles.scss | 4 +++ 21 files changed, 117 insertions(+), 113 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rules.component.html b/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rules.component.html index daee0a6e8c..a5c4dce2ce 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rules.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/alarm-rules.component.html @@ -17,19 +17,19 @@ --> @if (!standalone) {
- - - - - - - -
- - - -
- - -
- - -
- -
- - -
- - - - - -
- - - - - - - - -
- - - - - - - -
- - - - - - - - - -
- - - - } @else { - - - - - -
- - -
- - - - - - - - - -
- - - - - @if (loginAsUserEnabled$ | async) { - } -
- - - - - - -