From 43b7f54d9a69aec3c460044f5c969ba61ebb590e Mon Sep 17 00:00:00 2001 From: Ezhilarasi Date: Fri, 22 Feb 2019 14:54:47 +0530 Subject: Added Ace-editor component Change-Id: Ib140ee5b32ab738b88cc1d499ca9248373a3bb99 Issue-ID: CCSDK-704 Signed-off-by: Ezhilarasi --- .../modify-template/editor/editor.component.html | 28 ++++++++++++---------- .../modify-template/editor/editor.component.scss | 19 ++++++++++++--- 2 files changed, 31 insertions(+), 16 deletions(-) diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html index 9dbaf6728..4c1a7dc9e 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html @@ -19,27 +19,29 @@ limitations under the License. ============LICENSE_END============================================ -->
-
- +
+ - - - {{node.name}} + + + {{node.name}} - - {{node.name}} + {{node.name}} - -
-
-

Here comes the actual editor

-
+
+
+
+ +
+
+
+
\ No newline at end of file diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss index f7e6f493c..f2778840c 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss @@ -18,20 +18,33 @@ See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END============================================ */ + .container { display: flex; flex-direction: row; - + margin-top: 8px; .fileViewContainer { width: 20%; margin: 2px } - .editorConatiner { width: 80%; background-color: gainsboro; - height: 533px; + height: 450px !important; margin-left: 5em; } +} +.aceEditor { + overflow: hidden; + height: 100% !important; + background-color: white !important; + border: 1px solid #3f87a6; + border-left: 5px solid #3f87a6; +} +.savebtn { + color: white; + background-color: #3f51b5; + position: absolute; + bottom: 5px; } \ No newline at end of file -- cgit 1.2.3-korg