feat(query editor): updated query editor to use new forms stle and outer query row component

This commit is contained in:
Torkel Ödegaard
2016-04-28 12:06:36 +02:00
parent 3a463dc4cf
commit 53b1eae85f
3 changed files with 91 additions and 152 deletions

View File

@@ -8,10 +8,10 @@ angular
.module('grafana.directives')
.directive('addMetricFunction', function($compile) {
var inputTemplate = '<input type="text"'+
' class="tight-form-input input-medium tight-form-input"' +
' class="gf-form-input"' +
' spellcheck="false" style="display:none"></input>';
var buttonTemplate = '<a class="tight-form-item tight-form-func dropdown-toggle"' +
var buttonTemplate = '<a class="gf-form-label tight-form-func dropdown-toggle query-part"' +
' tabindex="1" gf-dropdown="functionMenu" data-toggle="dropdown">' +
'<i class="fa fa-plus"></i></a>';