Repository: ignite Updated Branches: refs/heads/ignite-843 517e2e637 -> 89df91993
# GG-843 Remove cursor from summary. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5bb0f096 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5bb0f096 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5bb0f096 Branch: refs/heads/ignite-843 Commit: 5bb0f09687c54ded0ea8733428f7739726ae9fb8 Parents: 3ba8145 Author: Andrey <anovi...@gridgain.com> Authored: Wed Aug 26 18:06:18 2015 +0700 Committer: Andrey <anovi...@gridgain.com> Committed: Wed Aug 26 18:06:18 2015 +0700 ---------------------------------------------------------------------- .../src/main/js/public/stylesheets/style.scss | 6 ++++-- modules/control-center-web/src/main/js/views/sql/sql.jade | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/5bb0f096/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 b3ccfdd..9f644a4 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 @@ -1436,6 +1436,8 @@ a { .ace_hidden-cursors { opacity:0 } +.ace_cursor { opacity:0 } + .ace_editor, #ace_document { margin: 0.65em 0 0 0; @@ -1453,8 +1455,8 @@ a { } } -.ace-preview { - .ace_cursor { opacity:0 } +.sql-editor { + .ace_cursor { opacity:1 } } .preview-legend { http://git-wip-us.apache.org/repos/asf/ignite/blob/5bb0f096/modules/control-center-web/src/main/js/views/sql/sql.jade ---------------------------------------------------------------------- diff --git a/modules/control-center-web/src/main/js/views/sql/sql.jade b/modules/control-center-web/src/main/js/views/sql/sql.jade index d344119..b5a03c9 100644 --- a/modules/control-center-web/src/main/js/views/sql/sql.jade +++ b/modules/control-center-web/src/main/js/views/sql/sql.jade @@ -52,7 +52,7 @@ block container .panel-body(ng-show='paragraph.editor') .row .col-xs-8.col-sm-9(style='border-right: 1px solid #eee') - div(style='height: 200px' ui-ace='{ theme: "chrome", mode: "sql",' + + .sql-editor(style='height: 200px' ui-ace='{ theme: "chrome", mode: "sql",' + 'require: ["ace/ext/language_tools"],' + 'rendererOptions: {showPrintMargin: false, highlightGutterLine: false, fontSize: 14},' + 'advanced: {enableSnippets: false, enableBasicAutocompletion: true, enableLiveAutocompletion: true}}' ng-model='paragraph.query'