aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-03-12 16:13:16 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-03-12 16:13:23 +0530
commit42250832f4d7e16651dbb27dba032ce68b666d30 (patch)
treedb0b5f91c18e905f2c773a2c0e53c298734f0205 /cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.component.html
parentca4fc097ee3a3eaa3fd1f541b2c3863f1bd81697 (diff)
ControllerBlueprint Test editor
Change-Id: I02d94da784287cda2d090a1480a6e49fd7d8945f Issue-ID: CCSDK-761 Signed-off-by: Ezhilarasi <ezhrajam@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.html56
1 files changed, 25 insertions, 31 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 7c225d285..b16a06494 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
@@ -20,7 +20,7 @@ limitations under the License.
-->
<div style="display: flex;flex-direction: row">
- <div style="width: 12%; height: 553px;">
+ <!-- <div style="width: 12%; height: 553px;">
<mat-accordion>
<mat-expansion-panel>
@@ -34,38 +34,32 @@ limitations under the License.
</div>
</mat-expansion-panel>
</mat-accordion>
- </div>
+ </div> -->
- <div style="width: 90%;display: flex;flex-direction: row; margin-left: 1em">
- <div style="width: 50%; margin: 2px;">
- <p>Request</p>
- <textarea style=" width: 99%;
- min-height: 27rem;
- font-family: Lucida Console, Monaco, monospace;
- font-size: 0.8rem;
- line-height: 1.2;" cols="30" rows="10">{{request }}</textarea>
- <div style="height: 10%">
- <button style="margin: 1em;
- background-color: #3f51b5;
- color: white;
- border-radius: 2em;
- padding: 0.5em;min-width: 6em;">Submit</button>
- <button style="margin: 1em;
- background-color: #3f51b5;
- color: white;
- border-radius: 2em;
- padding: 0.5em;min-width: 6em;">Clear</button>
+ <div style="width: 100%;display: flex;flex-direction: row; margin-left: 1em">
+ <div style="width: 50%; margin: 2px; ">
+ <p>Request</p>
+ <!-- <textarea style=" width: 99%;
+ min-height: 27rem;
+ font-family: Lucida Console, Monaco, monospace;
+ font-size: 0.8rem;
+ line-height: 1.2;" cols="30" rows="10">{{request }}</textarea> -->
+ <ace-editor [(text)]="text" mode="json" [theme]="eclipse" [options]="options" #editor class="aceEditor"></ace-editor>
+ <div style="height: 10%">
+ <button class="button">Submit</button>
+ <button class="button">Clear</button>
+ </div>
</div>
- </div>
- <div style="width: 50%; margin: 2px;">
- <p>Response</p>
- <textarea style=" width: 99%;
- min-height: 27rem;
- font-family: Lucida Console, Monaco, monospace;
- font-size: 0.8rem;
- line-height: 1.2;" cols="30" rows="10"></textarea>
+ <div style="width: 50%; margin: 2px;">
+ <p>Response</p>
+ <ace-editor [(text)]="text" mode="json" [theme]="eclipse" [options]="options" #editor class="aceEditor"></ace-editor>
+ <!-- <textarea style=" width: 99%;
+ min-height: 27rem;
+ font-family: Lucida Console, Monaco, monospace;
+ font-size: 0.8rem;
+ line-height: 1.2;" cols="30" rows="10"></textarea> -->
+ </div>
</div>
- </div>
-</div>
+</div> \ No newline at end of file