You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/07/04 08:19:42 UTC
[19/28] ignite git commit: IGNITE-5656 Fixed misaligned checkboxs.
IGNITE-5656 Fixed misaligned checkboxs.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ad739d59
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ad739d59
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ad739d59
Branch: refs/heads/ignite-2.1.2-exchange
Commit: ad739d59d5517994cdab18a8a5dad3cad7b9dfa0
Parents: 18bbb14
Author: Ilya Borisov <ib...@gridgain.com>
Authored: Mon Jul 3 15:39:56 2017 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Mon Jul 3 15:39:56 2017 +0700
----------------------------------------------------------------------
.../frontend/app/helpers/jade/form/form-field-checkbox.pug | 2 +-
modules/web-console/frontend/app/primitives/tooltip/index.pug | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/ad739d59/modules/web-console/frontend/app/helpers/jade/form/form-field-checkbox.pug
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/helpers/jade/form/form-field-checkbox.pug b/modules/web-console/frontend/app/helpers/jade/form/form-field-checkbox.pug
index 21be8b2..497680b 100644
--- a/modules/web-console/frontend/app/helpers/jade/form/form-field-checkbox.pug
+++ b/modules/web-console/frontend/app/helpers/jade/form/form-field-checkbox.pug
@@ -36,4 +36,4 @@ mixin form-field-checkbox(label, model, name, disabled, required, tip)
)
span #{label}
- +tooltip(tip, tipOpts)
+ +tooltip(tip, tipOpts, 'tipLabel')
http://git-wip-us.apache.org/repos/asf/ignite/blob/ad739d59/modules/web-console/frontend/app/primitives/tooltip/index.pug
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/primitives/tooltip/index.pug b/modules/web-console/frontend/app/primitives/tooltip/index.pug
index de1b116..632fc61 100644
--- a/modules/web-console/frontend/app/primitives/tooltip/index.pug
+++ b/modules/web-console/frontend/app/primitives/tooltip/index.pug
@@ -14,12 +14,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-mixin tooltip(title, options)
+mixin tooltip(title, options, tipClass = 'tipField')
if title
- i.tipField.icon-help(
+ i.icon-help(
bs-tooltip=''
data-title=title
data-container=options && options.container || false
data-placement=options && options.placement || false
+ class=`${tipClass}`
)