From 3a2bf19c4989dae9a491b743075d553f665060d4 Mon Sep 17 00:00:00 2001 From: Swapnali Shadanan Pode Date: Fri, 15 Feb 2019 16:25:38 +0530 Subject: Resource definition horizontal stepper Change-Id: I6fec36ca78943a0c51264e9bb496b48a9777e93e Issue-ID: CCSDK-804 Signed-off-by: sp00501638 --- .../resource-definition-routing.module.ts | 20 +------------------- .../resource-definition.component.html | 20 +++++--------------- .../resource-definition.component.scss | 14 +++++++++++++- 3 files changed, 19 insertions(+), 35 deletions(-) diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition-routing.module.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition-routing.module.ts index 986c28844..2f0b3fe30 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition-routing.module.ts +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition-routing.module.ts @@ -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 } ]; diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html index 6d3186c98..60a8b94ec 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html @@ -20,29 +20,19 @@ - + Resource creation Method - +

- +
- Resource Edit/Validate - - - - - Save in Database - -
- -
+ Resource Edit +
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.scss b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.scss index cafd2bf8f..9e4219a4c 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.scss +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.scss @@ -16,4 +16,16 @@ * 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 -- cgit 1.2.3-korg