aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-04-28 21:09:01 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-04-28 21:09:10 +0530
commitcecfa5befb592b47effcbcbb45891d823ec1a350 (patch)
tree5feb64354f3fb2a9eb146af3b9dc898e222684fb /cds-ui
parentf08bff64a1f54e9e8ff5920963247b1a0cfe535b (diff)
Added toggole button to Actions/Functions menu
Issue-ID: CCSDK-2248 Change-Id: I160be5614d5dcdc6331c342063efe0393c1365ba Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
Diffstat (limited to 'cds-ui')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html49
1 files changed, 37 insertions, 12 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html
index bd5b07e45..e6b6cf2e0 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html
@@ -110,15 +110,44 @@
<!-- Controller SideBar -->
<ng-sidebar [(opened)]="controllerSideBar" [sidebarClass]="'demo-sidebar controllerSidebar container-fluid'"
[mode]="'push'" #sidebarLeft>
- <div class="row">
- <h1 class="col-12">Actions</h1>
- <div class="col-12 text-center p-0">
- <div class="btn-group actionBtns" role="group">
- <button (click)="insertCustomActionIntoBoard()" type="button" class="btn insert-custom">Insert
- Custom</button>
- <!-- <button type="button" class="btn import-action"><i class="icon-import-blue" aria-hidden="true"></i>Import Action</button> -->
+
+ <nav class="row">
+ <!--Nav Tabs-->
+ <div class="col-12">
+ <div class="nav nav-tabs " id="nav-tab" role="tablist">
+ <a class="nav-item nav-link active col-6" id="nav-action-tab" data-toggle="tab"
+ href="#nav-action" role="tab" aria-controls="nav-action" aria-selected="false"
+ autofocus #nameit >Actions</a>
+ <a class="nav-item nav-link col-6" id="nav-function-tab" data-toggle="tab"
+ href="#nav-function" role="tab" aria-controls="nav-function" aria-selected="false">Functions</a>
+ </div>
+ </div>
+ </nav>
+
+
+ <div class="row mt-2">
+ <div class="col">
+ <div class="tab-content" id="nav-tabContent">
+ <div class="tab-pane fade show active" id="nav-action" role="tabpanel"
+ aria-labelledby="nav-action-tab">
+ <div class="btn-group actionBtns col-8" role="group">
+ <button (click)="insertCustomActionIntoBoard()" type="button" class="btn insert-custom">
+ Insert Custom
+ </button>
+ <!-- <button type="button" class="btn import-action"><i class="icon-import-blue" aria-hidden="true"></i>Import Action</button> -->
+ </div>
+ </div>
+ <div class="tab-pane fade" id="nav-function" role="tabpanel"
+ aria-labelledby="nav-function-tab">
+ <div class="col-12 text-center p-0">
+ <b>Drag and drop function to Action’s box</b>
+ <div id="palette-paper" class="col-12 componentsList"> </div>
+ </div>
+ </div>
</div>
</div>
+ </div>
+
<!-- <div class="col-12 actionsList">
<b>Select from other packages:</b>
<div class="actions-scroll">
@@ -153,11 +182,7 @@
</div>
</div> -->
- <h1 class="col-12">Functions</h1>
- <b>Drag and drop function to Action’s box</b>
- <div id="palette-paper" class="col-12 componentsList">
- </div>
- </div>
+
</ng-sidebar>
<!-- Page content -->