Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #403 from SUSE/icons
Browse files Browse the repository at this point in the history
Update Kubernetes icons to latest from EOS icons
  • Loading branch information
richard-cox committed Jun 30, 2020
2 parents e3f77c6 + e6f0513 commit cf7f8b8
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { KubernetesService } from '../services/kubernetes.service';
export class KubernetesNamespaceComponent {

tabLinks = [
{ link: 'pods', label: 'Pods', icon: 'adjust' },
{ link: 'pods', label: 'Pods', icon: 'pod', iconFont: 'stratos-icons' },
{ link: 'services', label: 'Services', icon: 'service', iconFont: 'stratos-icons' }
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class KubernetesNodeComponent {
tabLinks = [
{ link: 'summary', label: 'Summary', icon: 'kubernetes', iconFont: 'stratos-icons' },
{ link: 'metrics', label: 'Metrics', icon: 'equalizer' },
{ link: 'pods', label: 'Pods', icon: 'adjust' },
{ link: 'pods', label: 'Pods', icon: 'pod', iconFont: 'stratos-icons' },
];

public breadcrumbs$: Observable<IHeaderBreadcrumb[]>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export class KubernetesTabBaseComponent implements OnInit {

tabLinks = [
{ link: 'summary', label: 'Summary', icon: 'kubernetes', iconFont: 'stratos-icons' },
{ link: 'nodes', label: 'Nodes', icon: 'developer_board' },
{ link: 'namespaces', label: 'Namespaces', icon: 'language' },
{ link: 'pods', label: 'Pods', icon: 'adjust' },
{ link: 'nodes', label: 'Nodes', icon: 'node', iconFont: 'stratos-icons' },
{ link: 'namespaces', label: 'Namespaces', icon: 'namespace', iconFont: 'stratos-icons' },
{ link: 'pods', label: 'Pods', icon: 'pod', iconFont: 'stratos-icons' },
];

public isFetching$: Observable<boolean>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<mat-icon matTooltip="{{tooltip}}">language</mat-icon>
<mat-icon matTooltip="{{tooltip}}" fontSet="stratos-icons">network</mat-icon>
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class HelmReleaseTabBaseComponent implements OnDestroy {
{ link: 'values', label: 'Values', icon: 'list' },
{ link: '-', label: 'Resources' },
// { link: 'graph', label: 'Overview', icon: 'share' },
{ link: 'pods', label: 'Pods', icon: 'adjust' },
{ link: 'pods', label: 'Pods', icon: 'pod', iconFont: 'stratos-icons' },
{ link: 'services', label: 'Services', icon: 'service', iconFont: 'stratos-icons' }
];
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,64 @@ export class HelmReleaseSummaryTabComponent implements OnDestroy {


public iconMappings = {
Namespace: {
name: 'namespace',
font: 'stratos-icons'
},
Container: {
name: 'container',
font: 'stratos-icons'
},
ClusterRole: {
name: 'cluster_role',
font: 'stratos-icons'
},
ClusterRoleBinding: {
name: 'cluster_role_binding',
font: 'stratos-icons'
},
Deployment: {
name: 'deployment',
font: 'stratos-icons'
},
ReplicaSet: {
name: 'replica_set',
font: 'stratos-icons'
},
Pod: {
name: 'adjust'
name: 'pod',
font: 'stratos-icons'
},
Service: {
name: 'service',
font: 'stratos-icons'
},
Role: {
name: 'lock'
name: 'assignment_ind'
},
RoleBinding: {
name: 'lock'
name: 'role_binding',
font: 'stratos-icons'
},
StatefulSet: {
name: 'stateful_set',
font: 'stratos-icons'
},
Ingress: {
name: 'ingress',
font: 'stratos-icons'
},
ConfigMap: {
name: 'config_map',
font: 'stratos-icons'
},
Secret: {
name: 'config_map',
font: 'stratos-icons'
},
ServiceAccount: {
name: 'lock'
},
ReplicaSet: {
name: 'filter_none'
},
default: {
name: 'collocation',
font: 'stratos-icons'
Expand Down

0 comments on commit cf7f8b8

Please sign in to comment.