diff --git a/src/app/directives/tip.js b/src/app/directives/tip.js
index d9dd5145a62..57dbd44cb04 100644
--- a/src/app/directives/tip.js
+++ b/src/app/directives/tip.js
@@ -24,13 +24,16 @@ function (angular, kbn) {
return {
restrict: 'E',
link: function(scope, elem, attrs) {
+ var ngchange = attrs.change ? (' ng-change="' + attrs.change + '"') : '';
+ var tip = attrs.tip ? (' ' + attrs.tip + '') : '';
+
var template = '
' +
- '
' +
- '
' +
+ attrs.text + tip + '' +
+ '
' +
- '
';
+ '
';
elem.replaceWith($compile(angular.element(template))(scope));
}
};
diff --git a/src/app/panels/graph/axisEditor.html b/src/app/panels/graph/axisEditor.html
index 9380cb99327..3aec233f6be 100644
--- a/src/app/panels/graph/axisEditor.html
+++ b/src/app/panels/graph/axisEditor.html
@@ -40,42 +40,19 @@
Legend styles
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
Legend values
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
@@ -96,19 +73,13 @@
-
-
-
+
Show Axes
-
-
-
-
-
-
+
+
diff --git a/src/app/panels/graph/styleEditor.html b/src/app/panels/graph/styleEditor.html
index 24a05549268..9c4188eaa8a 100644
--- a/src/app/panels/graph/styleEditor.html
+++ b/src/app/panels/graph/styleEditor.html
@@ -1,21 +1,9 @@
Multiple Series
-
-
-
-
-
-
-
+
+
+
+
diff --git a/src/app/partials/annotations_editor.html b/src/app/partials/annotations_editor.html
index c72194b6f6a..a470dcb082e 100644
--- a/src/app/partials/annotations_editor.html
+++ b/src/app/partials/annotations_editor.html
@@ -61,10 +61,7 @@
-
-
-
-
+
diff --git a/src/app/partials/dasheditor.html b/src/app/partials/dasheditor.html
index bcb8a9402de..74e757b2554 100644
--- a/src/app/partials/dasheditor.html
+++ b/src/app/partials/dasheditor.html
@@ -28,11 +28,7 @@
-
-
-
-
-
+