diff --git a/public/locales/en.json b/public/locales/en.json index d7ed6eac..cd44daea 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -6,7 +6,7 @@ "signInButton": "Sign in" }, "ComponentList": { - "tableComponentHeader": "Component", + "tableComponentHeader": "Name", "tableVersionHeader": "Version" }, "FluxList": { @@ -20,7 +20,7 @@ "tableCreatedHeader": "Created" }, "ManagedResources": { - "headerManagedResources": "Resources", + "header": "Managed Resources", "tableHeaderKind": "Kind", "tableHeaderName": "Name", "tableHeaderCreated": "Created", @@ -126,7 +126,10 @@ "title": "Projects" }, "ControlPlaneView": { - "accessError": "Managed Control Plane does not have access information yet" + "accessError": "Managed Control Plane does not have access information yet", + "componentsTitle": "Components", + "crossplaneTitle": "Crossplane", + "gitOpsTitle": "GitOps" }, "ToastContext": { "errorMessage": "useToast must be used within a ToastProvider" @@ -147,7 +150,7 @@ "tableHeaderHealthy": "Healthy" }, "ProvidersConfig": { - "headerProvidersConfig": "Providers Config" + "header": "Provider Configs" }, "validationErrors": { "required": "This field is required!", diff --git a/src/components/ControlPlane/ComponentList.tsx b/src/components/ControlPlane/ComponentList.tsx index 36a85d07..a34aa794 100644 --- a/src/components/ControlPlane/ComponentList.tsx +++ b/src/components/ControlPlane/ComponentList.tsx @@ -49,6 +49,7 @@ export default function ComponentList({ mcp }: { mcp: ControlPlaneType }) { columns={componentTableColumns} minRows={0} data={data} + style={{marginLeft: "12px", marginRight: "12px"}} /> ); diff --git a/src/components/ControlPlane/ManagedResources.tsx b/src/components/ControlPlane/ManagedResources.tsx index c2342f32..255c7faa 100644 --- a/src/components/ControlPlane/ManagedResources.tsx +++ b/src/components/ControlPlane/ManagedResources.tsx @@ -106,12 +106,13 @@ export function ManagedResources() { return ( <> - {t('ManagedResources.headerManagedResources')} + {t('ManagedResources.header')} {error && } {!error && ( - {t('ProvidersConfig.headerProvidersConfig')} + {t('ProvidersConfig.header')} ); } diff --git a/src/index.css b/src/index.css index aa404973..93326d9c 100644 --- a/src/index.css +++ b/src/index.css @@ -86,6 +86,10 @@ margin-bottom: -30px; } +.cp-panel { + margin: 12px; +} + .cp-panel-crossplane { background-color: #FFC933; } diff --git a/src/views/ControlPlanes/ControlPlaneView.tsx b/src/views/ControlPlanes/ControlPlaneView.tsx index b11f74d8..722f68a5 100644 --- a/src/views/ControlPlanes/ControlPlaneView.tsx +++ b/src/views/ControlPlanes/ControlPlaneView.tsx @@ -88,13 +88,18 @@ export default function ControlPlaneView() { Components} + header={ + + {t('ControlPlaneView.componentsTitle')} + + } noAnimation > @@ -103,14 +108,18 @@ export default function ControlPlaneView() { Crossplane} + header={ + + {t('ControlPlaneView.crossplaneTitle')} + + } noAnimation > @@ -119,14 +128,16 @@ export default function ControlPlaneView() { GitOps} + header={ + {t('ControlPlaneView.gitOpsTitle')} + } noAnimation >