diff --git a/public/app/partials/templating_editor.html b/public/app/partials/templating_editor.html index b04debd40f6..e5b27544205 100644 --- a/public/app/partials/templating_editor.html +++ b/public/app/partials/templating_editor.html @@ -57,118 +57,207 @@
-
-
General
-
-
- - -
-
- - -
-
- - -
+
+
Variable
+
+
    +
  • + Name +
  • +
  • + +
  • +
  • + Type +
  • +
  • + +
  • +
  • + Data source +
  • +
  • + +
  • +
+
+
+
+ +
+
+
Value Options
-
-
- - -
- -
- - -
+
+
    +
  • + Values +
  • +
  • + +
  • +
+
+
+
+
    +
  • + Include auto interval   + + +
  • +
  • + Auto interval steps How many steps, roughly, the interval is rounded and will not always match this count +
  • +
  • + +
  • +
+
-
-
- - -
+
+
    +
  • + Values seperated by comma +
  • +
  • + +
  • +
+
-
Values Query
-
-
- - - -
+ +
+
    +
  • + Query +
  • +
  • + +
  • +
+
+
+
+
    +
  • + Regex + Optional, if you want to extract part of a series name or metric node segment +
  • +
  • + +
  • +
+
-
-
- - - -
+
+
    +
  • + All value   + + +
  • +
  • + +
  • +
  • + All format +
  • +
  • + +
  • +
+
-
- - - -
- - -
-
- - -
+
+
    +
  • + Refresh on load +
  • +
  • + + + Check if you want values to be updated on dashboard load, will slow down dashboard load time +
  • +
+
+
-
-
-
Display options
-
- - -
- +
+
+
Multi-value selection Enables multiple values to be selected at the same time
+
+
    +
  • + Enable   + + +
  • +
  • + Multi format +
  • +
  • + +
  • +
+
+
-
-
Multi-value selection Enables multiple values to be selected at the same time
- -
- - -
+
+
Display options
+
+
    +
  • + Variable Label +
  • +
  • + +
  • +
  • + Hide label   + + +
  • +
+
+
+
-
-
- -
    -
  • - {{option.text}} -
  • -
-
+
+
+
Preview of values (shows max 20)
+
+
    +
  • + {{option.text}} +
  • +
+
+
- - - -
+
+ +
+
+
diff --git a/public/css/less/forms.less b/public/css/less/forms.less index 646f91b0090..ff8faec5ee2 100644 --- a/public/css/less/forms.less +++ b/public/css/less/forms.less @@ -18,10 +18,12 @@ input[type="checkbox"].cr1 { label.cr1 { display: inline-block; - height: 19px; + height: 18px; + position: relative; + top: -2px; clear: none; text-indent: 2px; - margin: 0 0 1px 0; + margin: 0 0 0px 0; padding: 0 0 0 20px; vertical-align:middle; background: url(@checkboxImageUrl) left top no-repeat; diff --git a/public/css/less/tightform.less b/public/css/less/tightform.less index c8a7486cd12..fd2ea99d195 100644 --- a/public/css/less/tightform.less +++ b/public/css/less/tightform.less @@ -3,7 +3,6 @@ border-left: 1px solid @grafanaTargetBorder; border-right: 1px solid @grafanaTargetBorder; background: @grafanaTargetBackground; - width: 100%; &:last-child, &.last { border-bottom: 1px solid @grafanaTargetBorder; @@ -44,7 +43,7 @@ } .tight-form-btn { - padding: 8px 12px; + padding: 7px 12px; } .tight-form-list { @@ -206,3 +205,14 @@ select.tight-form-input { display: inline; } } + +.tight-form-section { + margin-bottom: 20px; + margin-right: 40px; + vertical-align: top; + display: inline-block; + .tight-form { + margin-left: 20px; + } +} + diff --git a/public/css/less/variables.dark.less b/public/css/less/variables.dark.less index 40333bef9ab..2b62048db3c 100644 --- a/public/css/less/variables.dark.less +++ b/public/css/less/variables.dark.less @@ -70,7 +70,7 @@ @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily @headingsFontWeight: bold; // instead of browser default, bold -@headingsColor: @white; // empty to use BS default, @textColor +@headingsColor: @textColor; // empty to use BS default, @textColor @inputText: @black; diff --git a/public/test/test-main.js b/public/test/test-main.js index 9f69735d782..f96635e2209 100644 --- a/public/test/test-main.js +++ b/public/test/test-main.js @@ -29,7 +29,7 @@ require.config({ crypto: '../vendor/crypto.min', spectrum: '../vendor/spectrum', - jquery: '../vendor/jquery/jquery-2.1.1.min', + jquery: '../vendor/jquery/jquery-2.1.3', bootstrap: '../vendor/bootstrap/bootstrap', 'bootstrap-tagsinput': '../vendor/tagsinput/bootstrap-tagsinput',