You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/10/22 05:24:00 UTC
ignite git commit: IGNITE-1752 Fixed UI.
Repository: ignite
Updated Branches:
refs/heads/ignite-843-rc1 c88dbf9ca -> 66fbc1250
IGNITE-1752 Fixed UI.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/66fbc125
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/66fbc125
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/66fbc125
Branch: refs/heads/ignite-843-rc1
Commit: 66fbc1250b949480ea23f5386612218e1da843d5
Parents: c88dbf9
Author: Andrey <an...@gridgain.com>
Authored: Thu Oct 22 10:24:20 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Thu Oct 22 10:24:20 2015 +0700
----------------------------------------------------------------------
.../control-center-web/src/main/js/public/stylesheets/style.scss | 4 +---
modules/control-center-web/src/main/js/views/sql/sql.jade | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/66fbc125/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 d76e6d9..d7b4e7b 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
@@ -487,10 +487,8 @@ button.form-control {
}
.btn-group {
- float: right;
- line-height: $line-height-base;
- top: 0.4em;
margin-left: 5px;
+ margin-top: -5px;
}
> i.btn {
http://git-wip-us.apache.org/repos/asf/ignite/blob/66fbc125/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 c4baf89..9c257e4 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
@@ -54,11 +54,10 @@ block container
div(bs-affix)
.docs-header.notebook-header
h1.col-sm-6(ng-hide='notebook.edit')
+ label(style='max-width: calc(100% - 60px)') {{notebook.name}}
.btn-group
+btn-toolbar('fa-pencil', 'notebook.edit = true;notebook.editName = notebook.name', 'Rename notebook')
+btn-toolbar('fa-trash', 'removeNotebook()', 'Remove notebook')
- .input-tip
- label {{notebook.name}}
h1.col-sm-6(ng-show='notebook.edit')
i.btn.fa.fa-floppy-o(ng-show='notebook.editName' ng-click='renameNotebook(notebook.editName)' bs-tooltip data-title='Save notebook name' data-trigger='hover')
.input-tip