diff --git a/src/app/directives/dropdown.typeahead.js b/src/app/directives/dropdown.typeahead.js index 56203ee3c6f..0ab2d0045fb 100644 --- a/src/app/directives/dropdown.typeahead.js +++ b/src/app/directives/dropdown.typeahead.js @@ -12,10 +12,10 @@ function (angular, app, _, $) { .directive('dropdownTypeahead', function($compile) { var inputTemplate = ''; - var buttonTemplate = ''; diff --git a/src/app/directives/graphiteSegment.js b/src/app/directives/graphiteSegment.js index f0116bc8847..577bbf5d6b7 100644 --- a/src/app/directives/graphiteSegment.js +++ b/src/app/directives/graphiteSegment.js @@ -11,10 +11,10 @@ function (angular, app, _, $) { .module('grafana.directives') .directive('graphiteSegment', function($compile, $sce) { var inputTemplate = ''; - var buttonTemplate = ''; + var buttonTemplate = ''; return { link: function($scope, elem) { diff --git a/src/app/directives/templateParamSelector.js b/src/app/directives/templateParamSelector.js index 194dfbdcb40..5ff6eaa0038 100644 --- a/src/app/directives/templateParamSelector.js +++ b/src/app/directives/templateParamSelector.js @@ -11,10 +11,10 @@ function (angular, app, _, $) { .module('grafana.directives') .directive('templateParamSelector', function($compile) { var inputTemplate = ''; - var buttonTemplate = '{{variable.current.text}}'; + var buttonTemplate = '{{variable.current.text}}'; return { link: function($scope, elem) { diff --git a/src/app/features/graphite/addGraphiteFunc.js b/src/app/features/graphite/addGraphiteFunc.js index 47fe8206c92..89ce9e79ca4 100644 --- a/src/app/features/graphite/addGraphiteFunc.js +++ b/src/app/features/graphite/addGraphiteFunc.js @@ -12,10 +12,10 @@ function (angular, app, _, $, gfunc) { .module('grafana.directives') .directive('graphiteAddFunc', function($compile) { var inputTemplate = ''; - var buttonTemplate = ''; diff --git a/src/app/features/graphite/funcEditor.js b/src/app/features/graphite/funcEditor.js index 62352aea389..cf3986e29a1 100644 --- a/src/app/features/graphite/funcEditor.js +++ b/src/app/features/graphite/funcEditor.js @@ -12,10 +12,10 @@ function (angular, _, $) { var funcSpanTemplate = '{{func.def.name}}('; var paramTemplate = ''; + ' class="input-mini tight-form-func-param">'; var funcControlsTemplate = - '
' + + '
' + '' + '' + '' + @@ -126,7 +126,7 @@ function (angular, _, $) { } function toggleFuncControls() { - var targetDiv = elem.closest('.grafana-target-inner'); + var targetDiv = elem.closest('.tight-form-row'); if (elem.hasClass('show-function-controls')) { elem.removeClass('show-function-controls'); diff --git a/src/app/features/graphite/partials/query.editor.html b/src/app/features/graphite/partials/query.editor.html index 9487106ecdf..9612de5baaf 100755 --- a/src/app/features/graphite/partials/query.editor.html +++ b/src/app/features/graphite/partials/query.editor.html @@ -1,24 +1,24 @@
-
-