diff --git a/src/app/controllers/sharePanelCtrl.js b/src/app/controllers/sharePanelCtrl.js index 891f2b73317..87903378416 100644 --- a/src/app/controllers/sharePanelCtrl.js +++ b/src/app/controllers/sharePanelCtrl.js @@ -28,6 +28,9 @@ function (angular, _) { $scope.shareUrl += "&from=" + from; $scope.shareUrl += "&to=" + to; + $scope.forCurrent = true; + $scope.toPanel = true; + $timeout(function() { var input = $element.find('[data-share-panel-url]'); input.focus(); diff --git a/src/app/directives/tip.js b/src/app/directives/tip.js index 974ed98a637..ff364b35569 100644 --- a/src/app/directives/tip.js +++ b/src/app/directives/tip.js @@ -17,4 +17,18 @@ function (angular, kbn) { } }; }); + + angular + .module('grafana.directives') + .directive('tip', function($compile) { + return { + restrict: 'E', + link: function(scope, elem, attrs) { + var _t = ''; + elem.replaceWith($compile(angular.element(_t))(scope)); + } + }; + }); + }); diff --git a/src/app/panels/graph/styleEditor.html b/src/app/panels/graph/styleEditor.html index cd83f23f197..24a05549268 100644 --- a/src/app/panels/graph/styleEditor.html +++ b/src/app/panels/graph/styleEditor.html @@ -1,14 +1,20 @@
Chart Options
-
- +
+ + +
-
- +
+ + +
-
- +
+ + +
diff --git a/src/app/panels/timepicker/module.html b/src/app/panels/timepicker/module.html index 8357f66a7a3..9371eb16f2e 100644 --- a/src/app/panels/timepicker/module.html +++ b/src/app/panels/timepicker/module.html @@ -9,9 +9,7 @@ border: 0px !important; } - -
+ -
diff --git a/src/app/partials/dasheditor.html b/src/app/partials/dasheditor.html index 30c43704f8b..bcb8a9402de 100644 --- a/src/app/partials/dasheditor.html +++ b/src/app/partials/dasheditor.html @@ -28,9 +28,10 @@
-
- - +
+ + +
@@ -71,16 +72,20 @@
-
- - +
+ + +
-
- - +
+ + +
-
- +
+ + +
diff --git a/src/app/partials/share-panel.html b/src/app/partials/share-panel.html index f6d2f598fdc..3eb7c4daec8 100644 --- a/src/app/partials/share-panel.html +++ b/src/app/partials/share-panel.html @@ -16,13 +16,15 @@