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 @@
@@ -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 @@
-
-
-
+
+
+
+
-
diff --git a/src/css/less/forms.less b/src/css/less/forms.less
new file mode 100644
index 00000000000..7be785f022a
--- /dev/null
+++ b/src/css/less/forms.less
@@ -0,0 +1,26 @@
+input[type=text].input-fluid {
+ width: 100%;
+ box-sizing: border-box;
+ padding: 14px;
+}
+
+input[type="checkbox"] {
+ display: none;
+}
+
+input[type="checkbox"]+.cr1 {
+ display: inline-block;
+ height: 19px;
+ clear: none;
+ text-indent: 2px;
+ margin-top: 4px;
+ padding: 0 0 0 20px;
+ vertical-align:middle;
+ background:url(../img/checkbox.png) left top no-repeat;
+ cursor:pointer;
+}
+
+input[type="checkbox"]:checked+label {
+ background:url(../img/checkbox.png) 0px -18px no-repeat;
+}
+
diff --git a/src/css/less/grafana.less b/src/css/less/grafana.less
index 2e943f98e3e..f2999d1fc8e 100644
--- a/src/css/less/grafana.less
+++ b/src/css/less/grafana.less
@@ -5,6 +5,7 @@
@import "tables_lists.less";
@import "search.less";
@import "panel.less";
+@import "forms.less";
.hide-controls {
padding: 0;
@@ -55,7 +56,6 @@
.modal {
max-width: 800px;
left: 0;
-
right: 0;
margin-left: auto;
margin-right: auto;
@@ -529,10 +529,3 @@ select.grafana-target-segment-input {
.grafana-tip {
padding-left: 5px;
}
-
-input[type=text].input-fluid {
- width: 100%;
- box-sizing: border-box;
- padding: 14px;
-}
-
diff --git a/src/img/check_radio_sheet.png b/src/img/check_radio_sheet.png
new file mode 100644
index 00000000000..de6549fa2cc
Binary files /dev/null and b/src/img/check_radio_sheet.png differ
diff --git a/src/img/checkbox.png b/src/img/checkbox.png
new file mode 100644
index 00000000000..86927a0d3cb
Binary files /dev/null and b/src/img/checkbox.png differ