Skip to content

Commit bca0894

Browse files
committed
feat(query editors): progress on query editors
1 parent bbf4d00 commit bca0894

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

public/app/features/panel/partials/query_editor_row.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<div class="gf-form-query">
23
<div class="gf-form">
34
<label class="gf-form-label">
@@ -24,6 +25,7 @@
2425
<div class="gf-form">
2526
<label class="gf-form-label">
2627
<a class="pointer" tabindex="1" ng-click="ctrl.toggleCollapse()" ng-class="{muted: !ctrl.canCollapse}">
28+
<em ng-show="ctrl.target.datasource">{{ctrl.target.datasource}}&nbsp;</em>
2729
<i class="fa fa-fw fa-chevron-down" ng-hide="ctrl.collapsed"></i>
2830
<i class="fa fa-fw fa-chevron-left" ng-show="ctrl.collapsed"></i>
2931
</a>

public/app/plugins/datasource/elasticsearch/partials/bucket_agg.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343

4444
<div class="gf-form offset-width-7">
4545
<label class="gf-form-label width-10">
46-
Trim edges points
46+
Trim edges
4747
<info-popover mode="right-normal">
48-
Trim the edges on the timeseries x datapoints
48+
Trim the edges on the timeseries datapoints
4949
</info-popover>
5050
</label>
5151
<input class="gf-form-input max-width-12" type="number" ng-model="agg.settings.trimEdges" ng-change="onChangeInternal()">

public/app/plugins/datasource/elasticsearch/partials/query.editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<div class="gf-form max-width-15">
99
<label class="gf-form-label query-keyword">Alias</label>
10-
<input type="text" class="gf-form-input" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns (empty = auto)" ng-blur="ctrl.refresh()">
10+
<input type="text" class="gf-form-input" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns" ng-blur="ctrl.refresh()">
1111
</div>
1212
</div>
1313

public/sass/_variables.dark.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ $page-gradient: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%
6767

6868
// Links
6969
// -------------------------
70-
$link-color: darken($white,11%);
71-
$link-color-disabled: darken($link-color,30%);
70+
$link-color: darken($white, 11%);
71+
$link-color-disabled: darken($link-color, 30%);
7272
$link-hover-color: $white;
7373
$external-link-color: $blue;
7474

public/sass/components/_gf-form.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ $gf-form-margin: 0.25rem;
126126

127127
&--dropdown {
128128
padding-right: $input-padding-x*2;
129+
129130
&:after {
130131
position: absolute;
131132
top: 35%;

public/sass/utils/_utils.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,16 @@ button.close {
5959

6060
// Toggling content
6161
.hide {
62-
display: none;
62+
display: none !important;
6363
}
64+
6465
.show {
6566
display: block;
6667
}
6768

6869
// Visibility
6970
.invisible {
70-
visibility: hidden;
71+
visibility: hidden !important;
7172
}
7273

7374
// For Affix plugin

0 commit comments

Comments
 (0)