Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1bb535bb
Commit
1bb535bb
authored
Dec 08, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor style change
parent
3d0c54a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
15 deletions
+1
-15
public/app/features/dashboard/dashgrid/TimeRangeOptions.tsx
+1
-15
No files found.
public/app/features/dashboard/dashgrid/TimeRangeOptions.tsx
View file @
1bb535bb
import
React
,
{
PureComponent
}
from
'react'
;
import
React
,
{
PureComponent
}
from
'react'
;
import
{
Switch
}
from
'app/core/components/Switch/Switch'
;
import
{
Input
}
from
'app/core/components/Form'
;
import
{
isValidTimeSpan
}
from
'app/core/utils/rangeutil'
;
...
...
@@ -64,12 +64,7 @@ export class TimeRangeOptions extends PureComponent<Props> {
<
div
className=
"gf-form-group"
>
<
div
className=
"gf-form"
>
<
span
className=
"gf-form-label"
>
<
i
className=
"fa fa-clock-o"
/>
</
span
>
<
span
className=
"gf-form-label width-12"
>
Override relative time
</
span
>
<
span
className=
"gf-form-label width-6"
>
Last
</
span
>
<
Input
type=
"text"
className=
"gf-form-input max-width-8"
...
...
@@ -81,11 +76,7 @@ export class TimeRangeOptions extends PureComponent<Props> {
</
div
>
<
div
className=
"gf-form"
>
<
span
className=
"gf-form-label"
>
<
i
className=
"fa fa-clock-o"
/>
</
span
>
<
span
className=
"gf-form-label width-12"
>
Add time shift
</
span
>
<
span
className=
"gf-form-label width-6"
>
Amount
</
span
>
<
Input
type=
"text"
className=
"gf-form-input max-width-8"
...
...
@@ -97,11 +88,6 @@ export class TimeRangeOptions extends PureComponent<Props> {
</
div
>
<
div
className=
"gf-form-inline"
>
<
div
className=
"gf-form"
>
<
span
className=
"gf-form-label"
>
<
i
className=
"fa fa-clock-o"
/>
</
span
>
</
div
>
<
Switch
label=
"Hide time override info"
checked=
{
hideTimeOverride
}
onChange=
{
this
.
onToggleTimeOverride
}
/>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment