Advanced Cluster Management Enhancements
- Chnaged cluster page design from switch to single page
- Added bootstrap option in creation and registration
- Added horizontal scaling, vertical scaling and upgrade in
cluster action
- In cluster page, for list combined two apis to show list done
temporary fix from UI
Change-Id: Ie4d30f5db28025ec92398cc60fc50ab7030f8f9b
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/app/k8s/k8scluster/K8sClusterComponent.html b/src/app/k8s/k8scluster/K8sClusterComponent.html
index 0bb251e..3c01f4f 100644
--- a/src/app/k8s/k8scluster/K8sClusterComponent.html
+++ b/src/app/k8s/k8scluster/K8sClusterComponent.html
@@ -16,29 +16,15 @@
Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
-->
<div class="d-flex flex-row justify-content-between">
- <div class="d-flex align-items-center header-style">
- <div class="switches-container justify-content-start">
- <input type="radio" id="switchRegister" name="switchPlan" (change)="onChangeEvent($event.target.value)"
- value="Registered" checked="checked" />
- <input type="radio" id="switchManage" name="switchPlan" (change)="onChangeEvent($event.target.value)"
- value="Managed" />
- <label for="switchRegister">{{'PAGE.K8S.REGISTERED' | translate}}</label>
- <label for="switchManage">{{'PAGE.K8S.MANAGED' | translate}}</label>
- <div class="switch-wrapper">
- <div class="switch">
- <div>{{'PAGE.K8S.REGISTERED' | translate}}</div>
- <div>{{'PAGE.K8S.MANAGED' | translate}}</div>
- </div>
- </div>
- </div>
+ <div class="d-flex align-items-center header-style"> {{'PAGE.K8S.MENUK8SCLUSTER' | translate}}
</div>
<span class="button justify-content-end">
- <button *ngIf="isCluster === 'Registered'" class="btn btn-primary me-2" type="button" placement="top"
- container="body" ngbTooltip="{{'PAGE.K8S.REGISTERCLUSTER' | translate}}" (click)="addK8sCluster()">
+ <button class="btn btn-primary me-2" type="button" placement="top" container="body"
+ ngbTooltip="{{'PAGE.K8S.REGISTERCLUSTER' | translate}}" (click)="addK8sCluster('Register')">
<i class="fas fa-plus-circle" aria-hidden="true"></i> {{'PAGE.K8S.REGISTERCLUSTER' | translate}}
</button>
- <button *ngIf="isCluster === 'Managed'" class="btn btn-primary me-2" type="button" placement="top" container="body"
- ngbTooltip="{{'Create Cluster' | translate}}" (click)="addK8sCluster()">
+ <button class="btn btn-primary me-2" type="button" placement="top" container="body"
+ ngbTooltip="{{'PAGE.K8S.CREATECLUSTER' | translate}}" (click)="addK8sCluster('Manage')">
<i class="fas fa-plus-circle" aria-hidden="true"></i> {{'PAGE.K8S.CREATECLUSTER' | translate}}
</button>
</span>
@@ -46,11 +32,14 @@
<div class="mt-2 mb-2 list-utilites-actions">
<div class="col-auto me-auto">
<nav class="custom-items-config">
+ <span><i class="fas fa-cloud-upload-alt text-info"></i>{{clusterModeFirstStep}}</span>
+ <span><i class="fas fa-clipboard-check text-info"></i>{{clusterModeSecondStep}}</span>
<span><i class="fas fa-clock text-success"></i>{{operationalStateFirstStep}}</span>
<span><i class="fas fa-spinner text-warning"></i>{{operationalStateSecondStep}}</span>
<span><i class="fas fa-spinner text-danger"></i>{{operationalStateThirdStep}}</span>
<span><i class="fas fa-times-circle text-danger"></i>{{operationalStateFourthStep}}</span>
<span><i class="fas fa-times-circle text-warning"></i>{{operationalStateFifthStep}}</span>
+ <span><i class="fas fa-ban text-danger"></i>{{operationalStateSixthStep}}</span>
</nav>
</div>
<page-per-row class="me-2" (pagePerRow)="onChange($event)"></page-per-row>