didInsertElement: function () { App.tooltip($('[rel=componentHealthTooltip]')); App.tooltip($('[rel=passiveTooltip]')); if (this.get('isInProgress')) { this.doBlinking(); } },
didInsertElement: function () { App.tooltip(this.$('[data-toggle=tooltip]'),{ placement: 'bottom', html: false }); App.tooltip(this.$('[data-toggle=arrow-tooltip]'),{ placement: 'top' }); this.$(".version-info-bar-wrapper").stick_in_parent({parent: '#serviceConfig', offset_top: 10}); },
didInsertElement: function () { this._super(); this.$('.version-box').hoverIntent(function() { if ($(this).is(':hover')) { $(this).find('.version-popover').delay(700).fadeIn(200).end(); } }, function() { $(this).find('.version-popover').stop().fadeOut(200).end(); }); App.tooltip(this.$('[data-toggle=tooltip]'), { placement: 'bottom' }); App.tooltip(this.$('[data-toggle=arrow-tooltip]'), { placement: 'top' }); },
didInsertElement: function () { var popupBody = this; this._super(); App.tooltip(this.$('.corner-icon > .icon-save'), { title: Em.I18n.t('common.export') }); this.$().closest('.modal').on('click', function (event) { if (!($(event.target).is('.corner-icon, .icon-save, .export-graph-list-container, .export-graph-list-container *'))) { popupBody.set('isExportMenuHidden', true); } }); $('#modal').addClass('modal-graph-line'); var popupSuffix = this.get('parentView.graph.popupSuffix'); var id = this.get('parentView.graph.id'); var idTemplate = id + '-{element}' + popupSuffix; this.set('containerId', idTemplate.replace('{element}', 'container')); this.set('containerClass', 'chart-container' + popupSuffix); this.set('yAxisId', idTemplate.replace('{element}', 'yaxis')); this.set('yAxisClass', this.get('yAxisId').replace(popupSuffix, '')); this.set('xAxisId', idTemplate.replace('{element}', 'xaxis')); this.set('xAxisClass', this.get('xAxisId').replace(popupSuffix, '')); this.set('legendId', idTemplate.replace('{element}', 'legend')); this.set('legendClass', this.get('legendId').replace(popupSuffix, '')); this.set('chartId', idTemplate.replace('{element}', 'chart')); this.set('chartClass', this.get('chartId').replace(popupSuffix, '')); this.set('titleId', idTemplate.replace('{element}', 'title')); this.set('titleClass', this.get('titleId').replace(popupSuffix, '')); },
didInsertElement: function () { var self = this; this.$().on('mouseleave', function () { self.set('isExportMenuHidden', true); }); App.tooltip(this.$('.corner-icon > .icon-save'), { title: Em.I18n.t('common.export') }); }
Em.run.next(this, function () { var icon = this.$('.corner-icon'); if (icon) { icon.on('mouseover', function () { $(this).closest("[rel='ZoomInTooltip']").trigger('mouseleave'); }); App.tooltip(icon.children('.icon-save'), { title: Em.I18n.t('common.export') }); } });
didInsertElement: function() { var self = this; this.set('isLoaded', false); App.router.get('updateController').updateHost(function () { self.set('isLoaded', true); if (!self.get('content.isLoaded')) { //if host is not existed then route to list of hosts App.router.transitionTo('main.hosts.index'); } }); App.tooltip($("[rel='HealthTooltip']")); }
didInsertElement: function () { var self = this; this.setYAxisFormatter(); this.loadData(); this.registerGraph(); this.$().parent().on('mouseleave', function () { self.set('isExportMenuHidden', true); }); App.tooltip(this.$("[rel='ZoomInTooltip']"), { placement: 'left', template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner graph-tooltip"></div></div>' }); },
didInsertElement: function(){ App.tooltip($("[rel='queue-tooltip']"), {html: true, placement: "right"}); },
it('should add tooltip', function() { var tooltip = App.tooltip($('#tooltip-test')); expect($('#tooltip-test').data('tooltip').enabled).to.eql(true); });
didInsertElement: function() { this._super(); App.tooltip($("[rel='decommissionTooltip']")); },
didInsertElement: function () { App.tooltip(this.$("[rel='UsageTooltip']")); this.$(".accordion").on("show hide", function (e) { $(e.target).siblings(".accordion-heading").find("i.accordion-toggle").toggleClass('icon-caret-right icon-caret-down') }); },
didInsertElement: function () { App.tooltip($(this.get('element')), { placement: "top", title: Em.I18n.t('hostPopup.bgop.abortRequest.title') }); }
didInsertElement:function () { App.router.location.addObserver('lastSetURL', this, 'renderOnRoute'); this.renderOnRoute(); App.tooltip(this.$(".restart-required-service"), {html:true, placement:"right"}); },
didInsertElement: function () { App.tooltip(this.$(".prompt-input"), { placement: "bottom", title: Em.I18n.t('services.service.actions.run.rebalanceHdfsNodes.promptTooltip') }); }
didInsertElement: function () { App.tooltip(this.$("[rel='ZoomInTooltip']"), {placement : 'left'}); },
didInsertElement: function () { this.selectDefaultGroup(); App.tooltip($('.properties-link')); App.tooltip($("[rel='button-info']")); App.tooltip($("[rel='button-info-dropdown']"), {placement: 'left'}); },
addToolTip: function() { /* istanbul ignore next */ if (this.get('controller.isAllServicesInstalled')) { App.tooltip($('.add-service-button a'), {title: Em.I18n.t('services.nothingToAdd')}); } }.observes('controller.isAllServicesInstalled')
attachTooltip: function() { if ($('[rel=SummaryComponentHealthTooltip]').length) { App.tooltip($('[rel=SummaryComponentHealthTooltip]')); } },
didInsertElement: function() { App.tooltip($('[rel=SummaryComponentHealthTooltip]')); },
didInsertElement: function() { App.tooltip($('[rel=healthTooltip]')); },
didInsertElement: function () { this.updateToolTip(); App.tooltip($("[rel='HealthTooltip']")); this.doBlink(); // check for blink availability }
didInsertElement: function() { App.tooltip($("[rel='tooltip']")); },
didInsertElement: function() { this._super(); App.tooltip(this.$('[rel="tooltip"]')); },
addToolTip: function() { if (this.get('addComponentDisabled')) { App.tooltip($('#add_component'), {title: Em.I18n.t('services.nothingToAdd')}); } }.observes('addComponentDisabled'),
didInsertElement: function () { App.tooltip($('.recommended-value'), { title: upgradeVersion }); }
didInsertElement: function () { App.tooltip($(this.get('element'))); }