1 <div class=
"container h-75"
2 *
ngIf=
"!startClusterCreation">
3 <div class=
"row h-100 justify-content-center align-items-center">
4 <div class=
"blank-page">
5 <!-- htmllint img-req-src="false" -->
6 <img [src]=
"projectConstants.cephLogo"
8 class=
"img-fluid mx-auto d-block">
9 <h3 class=
"text-center m-2"
10 i18n
>Welcome to {{ projectConstants.projectName }}
</h3>
13 <h4 class=
"text-center"
14 i18n
>Please expand your cluster first
</h4>
15 <div class=
"offset-md-2">
16 <button class=
"btn btn-accent m-2"
18 (click)=
"createCluster()"
19 aria-label=
"Expand Cluster"
20 i18n
>Expand Cluster
</button>
21 <button class=
"btn btn-light"
22 name=
"skip-cluster-creation"
24 (click)=
"skipClusterCreation()"
33 *
ngIf=
"startClusterCreation">
34 <div class=
"card-header"
35 i18n
>Expand Cluster
</div>
36 <div class=
"container-fluid">
37 <cd-wizard [stepsTitle]=
"stepTitles"></cd-wizard>
38 <div class=
"card-body vertical-line">
39 <ng-container [ngSwitch]=
"currentStep?.stepIndex">
40 <div *
ngSwitchCase=
"'1'"
45 <cd-hosts [hiddenColumns]=
"['services']"
46 [hideMaintenance]=
"true"
47 [hasTableDetails]=
"false"
48 [showGeneralActionsOnly]=
"true"></cd-hosts>
50 <div *
ngSwitchCase=
"'2'"
54 <div class=
"alignForm">
55 <cd-osd-form [hideTitle]=
"true"
56 [hideSubmitBtn]=
"true"
57 (emitDriveGroup)=
"setDriveGroup($event)"
58 (emitDeploymentOption)=
"setDeploymentOptions($event)"
59 (emitMode)=
"setDeploymentMode($event)"></cd-osd-form>
62 <div *
ngSwitchCase=
"'3'"
65 i18n
>Create Services
</h4>
67 <cd-services [hasDetails]=
"false"
68 [hiddenServices]=
"['mon', 'mgr', 'crash', 'agent']"
69 [hiddenColumns]=
"['status.running', 'status.size', 'status.last_refresh']"
70 [routedModal]=
"false"></cd-services>
72 <div *
ngSwitchCase=
"'4'"
74 <cd-create-cluster-review></cd-create-cluster-review>
79 <div class=
"card-footer">
80 <button class=
"btn btn-accent m-2 float-right"
81 (click)=
"onNextStep()"
83 i18n
>{{ showSubmitButtonLabel() }}
</button>
84 <cd-back-button class=
"m-2 float-right"
86 (backAction)=
"onPreviousStep()"
87 [name]=
"showCancelButtonLabel()"></cd-back-button>
91 <ng-template #skipConfirmTpl
>
92 <span i18n
>You are about to skip the cluster expansion process.
93 You’ll need to
<strong>navigate through the menu to add hosts and services.
</strong></span>
96 i18n
>Are you sure you want to continue?
</div>