Resource definition horizontal stepper 47/78547/1
authorSwapnali Shadanan Pode <sp00501638@techmahindra.com>
Fri, 15 Feb 2019 10:55:38 +0000 (16:25 +0530)
committerSwapnali Shadanan Pode <sp00501638@techmahindra.com>
Fri, 15 Feb 2019 10:55:38 +0000 (16:25 +0530)
Change-Id: I6fec36ca78943a0c51264e9bb496b48a9777e93e
Issue-ID: CCSDK-804
Signed-off-by: sp00501638 <sp00501638@techmahindra.com>
cds-ui/client/src/app/feature-modules/resource-definition/resource-definition-routing.module.ts
cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html
cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.scss

index 986c288..2f0b3fe 100644 (file)
@@ -25,25 +25,7 @@ import { ResourceDefinitionComponent } from './resource-definition.component';
 const routes: Routes = [
     {
         path: '',
-        component: ResourceDefinitionComponent,
-        children: [
-            {
-                path: '',
-               loadChildren: './resource-creation/resource-creation.module#ResourceCreationModule'
-            },
-            {
-                path: 'resource-creation',
-                loadChildren: './resource-creation/resource-creation.module#ResourceCreationModule'
-            },
-            {
-                path: 'resource-edit',
-                loadChildren: './resource-edit/resource-edit.module#ResourceEditModule'
-            },
-            {
-                path: 'save-resource',
-                loadChildren: './save-resource/save-resource.module#SaveResourceModule'
-            }
-        ]
+        component: ResourceDefinitionComponent
     }
 ];
 
index 6d3186c..60a8b94 100644 (file)
 
 <!-- <app-cbawizard [appName]="appName"></app-cbawizard>
 <router-outlet></router-outlet> -->
-<mat-card class="CBAform">
+<mat-card class="RDform">
   <mat-card-content>
     <mat-horizontal-stepper [linear]="isLinear" #stepper>
       <mat-step [stepControl]="firstFormGroup">
         <ng-template matStepLabel>Resource creation Method</ng-template>
-        <app-resource-creation></app-resource-creation>
+        <app-resource-creation></app-resource-creation><br><br>
         <div>
-          <button mat-button matStepperNext style="color:white;background:gray">Proceed</button>
+          <button mat-button matStepperNext class="matStepNextBtn">Proceed</button>
         </div>
       </mat-step>
       <mat-step [stepControl]="secondFormGroup">
-        <ng-template matStepLabel>Resource Edit/Validate </ng-template>
-        <app-resource-edit></app-resource-edit>
-        <!-- <div>
-              <button mat-button matStepperNext style="color:white;background:gray">Proceed</button>
-          </div> -->
-      </mat-step>
-      <mat-step [stepControl]="thirdFormGroup">
-        <ng-template matStepLabel>Save in Database</ng-template>
-        <app-save-resource></app-save-resource>
-        <div>
-          <button mat-button matStepperNext style="color:white;background:gray">Save</button>
-        </div>
+        <ng-template matStepLabel>Resource Edit</ng-template>
+        <app-resource-edit></app-resource-edit><br>
       </mat-step>
     </mat-horizontal-stepper>
   </mat-card-content>
index cafd2bf..9e4219a 100644 (file)
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
-*/
\ No newline at end of file
+*/
+
+.mat-card {
+    padding: 0px !important;
+}
+
+.matStepNextBtn{
+    color:white;
+    background:gray;
+    margin-top: 10px;
+    position: absolute;
+    margin-bottom: 5px;
+}
\ No newline at end of file