diff --git a/app/applications-tab/index/route.js b/app/applications-tab/index/route.js index 57b871e4d..7cbb9f2a2 100644 --- a/app/applications-tab/index/route.js +++ b/app/applications-tab/index/route.js @@ -1,7 +1,15 @@ import Ember from 'ember'; +import C from 'ui/utils/constants'; export default Ember.Route.extend({ redirect: function() { - this.transitionTo('environments'); + if ( window.lc('authenticated').get('hasKubernetes') ) + { + this.transitionTo('environments', {queryParams: {which: C.EXTERNALID.KIND_NOT_KUBERNETES}}); + } + else + { + this.transitionTo('environments'); + } } }); diff --git a/app/components/k8s/pod-section/template.hbs b/app/components/k8s/pod-section/template.hbs index 82b497d52..262782cc9 100644 --- a/app/components/k8s/pod-section/template.hbs +++ b/app/components/k8s/pod-section/template.hbs @@ -3,10 +3,10 @@ Pod Name - Status - Containers - Host IP - Pod IP + Status + Containers + Host IP + Pod IP   diff --git a/app/components/modal-shell/component.js b/app/components/modal-shell/component.js index 802b2d92f..9775999ea 100644 --- a/app/components/modal-shell/component.js +++ b/app/components/modal-shell/component.js @@ -53,8 +53,8 @@ export default Ember.Component.extend({ this.set('status','Initializing...'); var term = new Terminal({ - cols: 80, - rows: 24, + cols: 120, + rows: 30, useStyle: true, screenKeys: true, cursorBlink: false diff --git a/app/components/page-header/template.hbs b/app/components/page-header/template.hbs index be627fdf6..ef5eed1ec 100644 --- a/app/components/page-header/template.hbs +++ b/app/components/page-header/template.hbs @@ -5,7 +5,7 @@ {{#if (or isKubernetesTab hasKubernetes)}} {{#link-to "k8s-tab" projectId id="k8s-tab"}}Kubernetes{{/link-to}} {{/if}} - {{#link-to "applications-tab" projectId id="applications-tab"}}Applications{{/link-to}} + {{#link-to "applications-tab" projectId id="applications-tab"}}{{if hasKubernetes 'System' 'Applications'}}{{/link-to}} {{#link-to "infrastructure-tab" projectId id="infrastructure-tab"}}Infrastructure{{/link-to}} {{#if isAdmin}} @@ -130,13 +130,27 @@ {{#if k8s.namespaces.length}} {{#each k8s.namespaces as |ns|}} -
  • - - -   - {{ns.displayName}} - -
  • + {{#unless ns.isSystem}} +
  • + + +   + {{ns.displayName}} + +
  • + {{/unless}} + {{/each}} + + {{#each k8s.namespaces as |ns|}} + {{#if ns.isSystem}} +
  • + + +   + {{ns.displayName}} + +
  • + {{/if}} {{/each}} {{/if}} diff --git a/app/components/project-row/template.hbs b/app/components/project-row/template.hbs index 27b980099..3b65223a7 100644 --- a/app/components/project-row/template.hbs +++ b/app/components/project-row/template.hbs @@ -8,7 +8,7 @@ {{#if model.description}}{{model.description}}{{else}}No description{{/if}} - {{model.displayOrchestration}} + {{model.displayClustering}} {{#if model.isDefault}}{{else}}{{/if}} diff --git a/app/components/view-edit-project/template.hbs b/app/components/view-edit-project/template.hbs index b3b6c879d..3ba4e8166 100644 --- a/app/components/view-edit-project/template.hbs +++ b/app/components/view-edit-project/template.hbs @@ -22,6 +22,7 @@ {{#if showEdit}}
    +