From 72d7a7d91d3a8bd40914ba880f7627ca4d0d1328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 16 Jan 2015 08:50:26 +0100 Subject: [PATCH] changed grafana-target css names in partials --- src/app/directives/dropdown.typeahead.js | 4 +- src/app/directives/graphiteSegment.js | 4 +- src/app/directives/templateParamSelector.js | 4 +- src/app/features/graphite/addGraphiteFunc.js | 4 +- src/app/features/graphite/funcEditor.js | 6 +- .../graphite/partials/query.editor.html | 60 +++++----- src/app/features/influxdb/funcEditor.js | 2 +- .../influxdb/partials/query.editor.html | 92 +++++++-------- .../opentsdb/partials/query.editor.html | 68 +++++------ src/app/features/panellinkeditor/module.html | 28 ++--- src/app/panels/graph/axisEditor.html | 108 +++++++++--------- src/app/panels/graph/styleEditor.html | 14 +-- src/app/panels/singlestat/editor.html | 104 ++++++++--------- src/app/partials/submenu.html | 16 +-- src/css/less/tightform.less | 29 ++--- 15 files changed, 272 insertions(+), 271 deletions(-) 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 @@
-
-