ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: # GG-843 Fixed preview.
Date Tue, 25 Aug 2015 03:20:31 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 9e57e0aba -> f8a5ca3c2


# GG-843 Fixed preview.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f8a5ca3c
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f8a5ca3c
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f8a5ca3c

Branch: refs/heads/ignite-843
Commit: f8a5ca3c28f842e824fbf051b27bba382ab01afa
Parents: 9e57e0a
Author: Andrey <anovikov@gridgain.com>
Authored: Tue Aug 25 10:20:48 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Tue Aug 25 10:20:48 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/public/stylesheets/style.scss                   | 5 +++--
 .../control-center-web/src/main/js/views/includes/controls.jade | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f8a5ca3c/modules/control-center-web/src/main/js/public/stylesheets/style.scss
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/public/stylesheets/style.scss b/modules/control-center-web/src/main/js/public/stylesheets/style.scss
index eff77d2..b493ec7 100644
--- a/modules/control-center-web/src/main/js/public/stylesheets/style.scss
+++ b/modules/control-center-web/src/main/js/public/stylesheets/style.scss
@@ -1434,10 +1434,11 @@ a {
     }
 }
 
+.ace_hidden-cursors { opacity:0 }
+
 .ace_editor, #ace_document {
     margin: 0.65em 0 0 0;
 
-    width: 100%;
     height: 400px;
 
     .ace_gutter {
@@ -1453,7 +1454,7 @@ a {
 }
 
 .ace-preview {
-
+    .ace_cursor { opacity:0 }
 }
 
 .loading-indicator {

http://git-wip-us.apache.org/repos/asf/ignite/blob/f8a5ca3c/modules/control-center-web/src/main/js/views/includes/controls.jade
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/views/includes/controls.jade b/modules/control-center-web/src/main/js/views/includes/controls.jade
index 15dd664..192138e 100644
--- a/modules/control-center-web/src/main/js/views/includes/controls.jade
+++ b/modules/control-center-web/src/main/js/views/includes/controls.jade
@@ -462,4 +462,5 @@ mixin advanced-options-bottom
         a(ng-click='toggleExpanded()') {{ui.expanded ? 'Hide advanced settings...' : 'Show
advanced settings...'}}
 
 mixin preview(previewModel)
-    div(ui-ace='{onLoad: previewInit, mode: "xml"}' ng-model='preview[#{previewModel}]')
+    .panel-details(style='margin-left: 20px; padding: 0 3px')
+        .ace-preview(ui-ace='{onLoad: previewInit, mode: "xml"}' ng-model='preview[#{previewModel}]')


Mime
View raw message