Skip to content

Commit

Permalink
Merge pull request #135 from SUSE/endpoint-cards
Browse files Browse the repository at this point in the history
Merge endpoint card changes, add kubernetes logo
  • Loading branch information
nwmac committed Mar 19, 2019
2 parents ce9da22 + 5b37ab9 commit 7d0a729
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import { CoreModule } from '../../core/core.module';
import { NgModule } from '@angular/core';
import { Validators } from '@angular/forms';

import { CoreModule } from '../../core/core.module';
import { StratosExtension } from '../../core/extension/extension-service';
import { EndpointAuthTypeConfig, EndpointType, EndpointTypeConfig } from '../../core/extension/extension-types';
import { Validators } from '@angular/forms';
import { KubernetesCertsAuthFormComponent } from './auth-forms/kubernetes-certs-auth-form/kubernetes-certs-auth-form.component';
import { KubernetesAWSAuthFormComponent } from './auth-forms/kubernetes-aws-auth-form/kubernetes-aws-auth-form.component';
import { KubernetesConfigAuthFormComponent } from './auth-forms/kubernetes-config-auth-form/kubernetes-config-auth-form.component';
import {
KubernetesCertsAuthFormComponent,
} from './auth-forms/kubernetes-certs-auth-form/kubernetes-certs-auth-form.component';
import {
KubernetesConfigAuthFormComponent,
} from './auth-forms/kubernetes-config-auth-form/kubernetes-config-auth-form.component';
import { kubernetesEntities, kubernetesEntityKeys } from './store/kubernetes.entities';

const kubernetesEndpointTypes: EndpointTypeConfig[] = [{
Expand All @@ -15,6 +19,7 @@ const kubernetesEndpointTypes: EndpointTypeConfig[] = [{
authTypes: [],
icon: 'kubernetes',
iconFont: 'stratos-icons',
imagePath: '/core/assets/custom/kubernetes.svg',
homeLink: (guid) => ['/kubernetes', guid],
entitySchemaKeys: kubernetesEntityKeys
}];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<app-meta-card class="endpoint-card" [routerLink]="endpointLink" [appDisableRouterLink]="!endpointLink" [ngClass]="{'no-link': !endpointLink}" [favorite]="favorite" [actionMenu]="cardMenu">
<app-meta-card class="endpoint-card" [routerLink]="endpointLink" [appDisableRouterLink]="!endpointLink"
[ngClass]="{'no-link': !endpointLink}" [favorite]="favorite" [actionMenu]="cardMenu">
<app-meta-card-title>
<div class="endpoint-card__title">
<div *ngIf="endpointConfig.imagePath" class="endpoint-card__image">
Expand Down

0 comments on commit 7d0a729

Please sign in to comment.