diff --git a/public/app/core/directives/dropdown_typeahead.ts b/public/app/core/directives/dropdown_typeahead.ts index 8bd2d4a3af6..7456df8de53 100644 --- a/public/app/core/directives/dropdown_typeahead.ts +++ b/public/app/core/directives/dropdown_typeahead.ts @@ -128,7 +128,7 @@ export function dropdownTypeahead2($compile) { ''; const buttonTemplate = - ''; @@ -137,9 +137,15 @@ export function dropdownTypeahead2($compile) { menuItems: '=dropdownTypeahead2', dropdownTypeaheadOnSelect: '&dropdownTypeaheadOnSelect', model: '=ngModel', + buttonTemplateClass: '@', }, link: ($scope, elem, attrs) => { const $input = $(inputTemplate); + + if (!$scope.buttonTemplateClass) { + $scope.buttonTemplateClass = 'gf-form-input'; + } + const $button = $(buttonTemplate); const timeoutId = { blur: null, diff --git a/public/app/plugins/datasource/influxdb/partials/query.editor.html b/public/app/plugins/datasource/influxdb/partials/query.editor.html index 658cf18daee..ba99b396e6e 100644 --- a/public/app/plugins/datasource/influxdb/partials/query.editor.html +++ b/public/app/plugins/datasource/influxdb/partials/query.editor.html @@ -1,19 +1,38 @@ - - + - + FORMAT AS - + - + ALIAS BY - + @@ -21,108 +40,154 @@ - + + + + FROM - - - FROM + + + - - - + + WHERE + - - WHERE - + + + - - - + + + + - - - - + + + SELECT + - - - - SELECT - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + GROUP BY + - - - - GROUP BY - + + + - - - + + + - - - - - - - - + + + + ORDER BY - time DESC + time DESC - - + + LIMIT - + - - + + SLIMIT - + - - + + tz - + @@ -133,7 +198,12 @@ FORMAT AS - + @@ -141,15 +211,21 @@ - + ALIAS BY - + - diff --git a/public/app/plugins/datasource/mysql/partials/query.editor.html b/public/app/plugins/datasource/mysql/partials/query.editor.html index 0cb47061a9e..25f33b6a534 100644 --- a/public/app/plugins/datasource/mysql/partials/query.editor.html +++ b/public/app/plugins/datasource/mysql/partials/query.editor.html @@ -45,8 +45,10 @@ + dropdown-typeahead2="ctrl.selectMenu" + dropdown-typeahead-on-select="ctrl.addSelectPart(selectParts, $item, $subItem)" + button-template-class="gf-form-label query-part" + > diff --git a/public/app/plugins/datasource/postgres/partials/query.editor.html b/public/app/plugins/datasource/postgres/partials/query.editor.html index b5e2b5d87ed..5411427cfe6 100644 --- a/public/app/plugins/datasource/postgres/partials/query.editor.html +++ b/public/app/plugins/datasource/postgres/partials/query.editor.html @@ -45,8 +45,10 @@ + dropdown-typeahead2="ctrl.selectMenu" + dropdown-typeahead-on-select="ctrl.addSelectPart(selectParts, $item, $subItem)" + button-template-class="gf-form-label query-part" + > diff --git a/public/app/plugins/panel/graph/series_overrides_ctrl.ts b/public/app/plugins/panel/graph/series_overrides_ctrl.ts index 90d61a362ab..fdb8f06c270 100644 --- a/public/app/plugins/panel/graph/series_overrides_ctrl.ts +++ b/public/app/plugins/panel/graph/series_overrides_ctrl.ts @@ -11,7 +11,7 @@ export function SeriesOverridesCtrl($scope, $element, popoverSrv) { const option = { text: name, propertyName: propertyName, - index: $scope.overrideMenu.lenght, + index: $scope.overrideMenu.length, values: values, submenu: _.map(values, value => { return { text: String(value), value: value }; diff --git a/public/app/plugins/panel/graph/tab_display.html b/public/app/plugins/panel/graph/tab_display.html index 976b9bcc940..a6287922cfe 100644 --- a/public/app/plugins/panel/graph/tab_display.html +++ b/public/app/plugins/panel/graph/tab_display.html @@ -1,110 +1,194 @@ + + + Draw Modes + + + + + + Mode Options + + Fill + + + + + + Line Width + + + + + + + + Point Radius + + + + + + + Hover tooltip + + Mode + + + + + + Sort order + + + + + + Stacked value + + + + + - - - Draw Modes - - - - - - Mode Options - - Fill - - - - - - Line Width - - - - - - - - Point Radius - - - - - - - Hover tooltip - - Mode - - - - - - Sort order - - - - - - Stacked value - - - - - + + Stacking & Null value + + + + + + Null value + + + + + + - - Stacking & Null value - - - - - - Null value - - - - - - + + + + alias or regex + + + + + + + + + Color: + + {{ option.name }}: {{ option.value }} + + - - - - alias or regex - - - - - - - - - Color: - - - {{option.name}}: {{option.value}} - - - + + + + - - - - - - - - - - - - - - - - - - Add series overrideRegex match example: /server[0-3]/i - - - + + + + + + + + + + + + Add series overrideRegex match example: /server[0-3]/i + + +