From 9fe2c8158840de65c31dec09bc789e0c71695caf Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Fri, 6 Dec 2019 08:04:27 +0100 Subject: [PATCH] mgr/dashboard: Left align badge datatable columns Signed-off-by: Volker Theile --- .../frontend/src/app/ceph/block/iscsi/iscsi.component.ts | 1 - .../ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts | 1 - .../inventory/inventory-devices/inventory-devices.component.ts | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts index 7ba012f58a566..014e0911b2495 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts @@ -42,7 +42,6 @@ export class IscsiComponent implements OnInit { name: this.i18n('State'), prop: 'state', flexGrow: 1, - cellClass: 'text-center', cellTransformation: CellTemplate.badge, customTemplateConfig: { map: { diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts index ae71c7ff83a7a..f228eef4f5bcc 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts @@ -110,7 +110,6 @@ export class RbdSnapshotListComponent implements OnInit, OnChanges { name: this.i18n('State'), prop: 'is_protected', flexGrow: 1, - cellClass: 'text-center', cellTransformation: CellTemplate.badge, customTemplateConfig: { map: { diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts index b54d846eef1cc..45f5dd7b2c22d 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts @@ -64,7 +64,6 @@ export class InventoryDevicesComponent implements OnInit, OnChanges { name: this.i18n('Type'), prop: 'human_readable_type', flexGrow: 1, - cellClass: 'text-center', cellTransformation: CellTemplate.badge, customTemplateConfig: { map: { @@ -98,7 +97,6 @@ export class InventoryDevicesComponent implements OnInit, OnChanges { name: this.i18n('OSDs'), prop: 'osd_ids', flexGrow: 1, - cellClass: 'text-center', cellTransformation: CellTemplate.badge, customTemplateConfig: { class: 'badge-dark', -- 2.39.5