From 97fa334f953e38c63175e1926c4dc093e69e45a1 Mon Sep 17 00:00:00 2001 From: Jonathan Mezach Date: Fri, 24 Feb 2023 10:49:16 +0100 Subject: [PATCH] Add Octopus Deploy logo Signed-off-by: Jonathan Mezach --- .../OctopusDeployIcon/OctopusDeployIcon.tsx | 31 +++++++++++++++++++ .../src/components/OctopusDeployIcon/index.ts | 17 ++++++++++ .../components/ReleaseTable/ReleaseTable.tsx | 3 ++ 3 files changed, 51 insertions(+) create mode 100644 plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx create mode 100644 plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts diff --git a/plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx b/plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx new file mode 100644 index 0000000000..626e61ccd8 --- /dev/null +++ b/plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx @@ -0,0 +1,31 @@ +/* + * Copyright 2021 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { SvgIcon, SvgIconProps } from '@material-ui/core'; + +import React from 'react'; + +export const OctopusDeployIcon = (props: SvgIconProps) => ( + + + + + + +); diff --git a/plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts b/plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts new file mode 100644 index 0000000000..d78e1bfc7f --- /dev/null +++ b/plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts @@ -0,0 +1,17 @@ +/* + * Copyright 2021 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export { OctopusDeployIcon } from './OctopusDeployIcon'; diff --git a/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx b/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx index dfda291e1a..bc185546b1 100644 --- a/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx +++ b/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx @@ -28,6 +28,7 @@ import { Table, TableColumn, } from '@backstage/core-components'; +import { OctopusDeployIcon } from '../OctopusDeployIcon'; type ReleaseTableProps = { environments?: OctopusEnvironment[]; @@ -141,6 +142,8 @@ export const ReleaseTable = ({ }} title={ + + Octopus Deploy - Releases ({releases ? releases.length : 0}) }