aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-02-13 23:50:55 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-02-13 23:51:03 +0530
commit89624bfa125dad591da7d0bed15bb4079d72440d (patch)
tree62b8550c93ab43219826085cdf90f59a35dd9383 /cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
parent6c9efd47bfae32b811761e3c2f2ceba545411bb7 (diff)
GUI for test blueprint
Added test blueprint component Issue-ID: CCSDK-1069 Change-Id: Ic8d948228b75d3da792e188287a9183483ff3a0a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html36
1 files changed, 32 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
index 443d7a31b..1fca8d1b7 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
+++ b/cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
@@ -18,7 +18,35 @@ See the License for the specific language governing permissions and
limitations under the License.
============LICENSE_END============================================
-->
-<p>
- test-template works!
-</p>
-<router-outlet></router-outlet>
+<div style="display: flex;flex-direction: row">
+ <div style="width: 20%;margin: 2px">
+ <mat-tree [dataSource]="dataSource" [treeControl]="treeControl">
+ <!-- This is the tree node template for leaf nodes -->
+ <mat-tree-node *matTreeNodeDef="let node" matTreeNodePadding>
+ <!-- use a disabled button to provide padding for tree leaf -->
+ <button mat-icon-button disabled></button>
+ <span (click)="fileClicked(node.name)">{{node.name}}</span>
+ </mat-tree-node>
+ <!-- This is the tree node template for expandable nodes -->
+ <mat-tree-node *matTreeNodeDef="let node;when: hasChild" matTreeNodePadding>
+ <button mat-icon-button matTreeNodeToggle
+ [attr.aria-label]="'toggle ' + node.name">
+ <mat-icon class="mat-icon-rtl-mirror">
+ {{treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right'}}
+ </mat-icon>
+ </button>
+ <span (click)="fileClicked(node.name)">{{node.name}}</span>
+ </mat-tree-node>
+ </mat-tree>
+ </div>
+ <div style="width: 80%;background-color: gainsboro;height: 533px;"></div>
+</div>
+
+<div>
+ <button style=" background-color: #3f51b5;
+ color: white;
+ border: 2px solid;
+ width: 8em;
+ height: 3em;
+ border-radius: 2em;">Test</button>
+</div>