mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
stackdriver: extend label width
This commit is contained in:
parent
21940c2ca3
commit
042d156e5f
@ -20,7 +20,7 @@ export default class DefaultTemplateQueryComponent extends PureComponent<Templat
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className="gf-form">
|
<div className="gf-form">
|
||||||
<span className="gf-form-label width-7">Query</span>
|
<span className="gf-form-label width-10">Query</span>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
className="gf-form-input"
|
className="gf-form-input"
|
||||||
|
@ -177,7 +177,7 @@
|
|||||||
|
|
||||||
<div class="gf-form-inline">
|
<div class="gf-form-inline">
|
||||||
<div class="gf-form max-width-21">
|
<div class="gf-form max-width-21">
|
||||||
<span class="gf-form-label width-7">Data source</span>
|
<span class="gf-form-label width-10">Data source</span>
|
||||||
<div class="gf-form-select-wrapper max-width-14">
|
<div class="gf-form-select-wrapper max-width-14">
|
||||||
<select class="gf-form-input" ng-model="current.datasource" ng-options="f.value as f.name for f in datasources"
|
<select class="gf-form-input" ng-model="current.datasource" ng-options="f.value as f.name for f in datasources"
|
||||||
ng-change="datasourceChanged()" required>
|
ng-change="datasourceChanged()" required>
|
||||||
@ -187,7 +187,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="gf-form max-width-22">
|
<div class="gf-form max-width-22">
|
||||||
<span class="gf-form-label width-7">
|
<span class="gf-form-label width-10">
|
||||||
Refresh
|
Refresh
|
||||||
<info-popover mode="right-normal">
|
<info-popover mode="right-normal">
|
||||||
When to update the values of this variable.
|
When to update the values of this variable.
|
||||||
@ -205,7 +205,7 @@
|
|||||||
</rebuild-on-change>
|
</rebuild-on-change>
|
||||||
|
|
||||||
<div class="gf-form">
|
<div class="gf-form">
|
||||||
<span class="gf-form-label width-7">
|
<span class="gf-form-label width-10">
|
||||||
Regex
|
Regex
|
||||||
<info-popover mode="right-normal">
|
<info-popover mode="right-normal">
|
||||||
Optional, if you want to extract part of a series name or metric node segment.
|
Optional, if you want to extract part of a series name or metric node segment.
|
||||||
@ -215,7 +215,7 @@
|
|||||||
ng-change="runQuery()"></input>
|
ng-change="runQuery()"></input>
|
||||||
</div>
|
</div>
|
||||||
<div class="gf-form max-width-21">
|
<div class="gf-form max-width-21">
|
||||||
<span class="gf-form-label width-7">
|
<span class="gf-form-label width-10">
|
||||||
Sort
|
Sort
|
||||||
<info-popover mode="right-normal">
|
<info-popover mode="right-normal">
|
||||||
How to sort the values of this variable.
|
How to sort the values of this variable.
|
||||||
|
@ -11,8 +11,8 @@ const SimpleSelect: SFC<Props> = props => {
|
|||||||
const { label, onValueChange, value, options } = props;
|
const { label, onValueChange, value, options } = props;
|
||||||
return (
|
return (
|
||||||
<div className="gf-form max-width-21">
|
<div className="gf-form max-width-21">
|
||||||
<span className="gf-form-label width-7">{label}</span>
|
<span className="gf-form-label width-10">{label}</span>
|
||||||
<div className="gf-form-select-wrapper max-width-14">
|
<div className="gf-form-select-wrapper max-width-10">
|
||||||
<select className="gf-form-input" required onChange={onValueChange} value={value}>
|
<select className="gf-form-input" required onChange={onValueChange} value={value}>
|
||||||
{options.map(({ value, name }, i) => (
|
{options.map(({ value, name }, i) => (
|
||||||
<option key={i} value={value}>
|
<option key={i} value={value}>
|
||||||
|
Loading…
Reference in New Issue
Block a user