feat(query editors): progress on query editors

This commit is contained in:
Torkel Ödegaard
2016-04-26 09:58:55 +02:00
parent bbf4d00319
commit bca0894f73
6 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,4 @@
<div class="gf-form-query">
<div class="gf-form">
<label class="gf-form-label">
@ -24,6 +25,7 @@
<div class="gf-form">
<label class="gf-form-label">
<a class="pointer" tabindex="1" ng-click="ctrl.toggleCollapse()" ng-class="{muted: !ctrl.canCollapse}">
<em ng-show="ctrl.target.datasource">{{ctrl.target.datasource}}&nbsp;</em>
<i class="fa fa-fw fa-chevron-down" ng-hide="ctrl.collapsed"></i>
<i class="fa fa-fw fa-chevron-left" ng-show="ctrl.collapsed"></i>
</a>

View File

@ -43,9 +43,9 @@
<div class="gf-form offset-width-7">
<label class="gf-form-label width-10">
Trim edges points
Trim edges
<info-popover mode="right-normal">
Trim the edges on the timeseries x datapoints
Trim the edges on the timeseries datapoints
</info-popover>
</label>
<input class="gf-form-input max-width-12" type="number" ng-model="agg.settings.trimEdges" ng-change="onChangeInternal()">

View File

@ -7,7 +7,7 @@
</div>
<div class="gf-form max-width-15">
<label class="gf-form-label query-keyword">Alias</label>
<input type="text" class="gf-form-input" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns (empty = auto)" ng-blur="ctrl.refresh()">
<input type="text" class="gf-form-input" ng-model="ctrl.target.alias" spellcheck='false' placeholder="alias patterns" ng-blur="ctrl.refresh()">
</div>
</div>

View File

@ -67,8 +67,8 @@ $page-gradient: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%
// Links
// -------------------------
$link-color: darken($white,11%);
$link-color-disabled: darken($link-color,30%);
$link-color: darken($white, 11%);
$link-color-disabled: darken($link-color, 30%);
$link-hover-color: $white;
$external-link-color: $blue;

View File

@ -126,6 +126,7 @@ $gf-form-margin: 0.25rem;
&--dropdown {
padding-right: $input-padding-x*2;
&:after {
position: absolute;
top: 35%;

View File

@ -59,15 +59,16 @@ button.close {
// Toggling content
.hide {
display: none;
display: none !important;
}
.show {
display: block;
}
// Visibility
.invisible {
visibility: hidden;
visibility: hidden !important;
}
// For Affix plugin