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
23dd46c0
Commit
23dd46c0
authored
Feb 13, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added timepicker editor
parent
22d3fdac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
panels/timepicker/editor.html
+39
-0
panels/timepicker/module.js
+1
-0
No files found.
panels/timepicker/editor.html
0 → 100644
View file @
23dd46c0
<div
class=
"row-fluid"
ng-controller=
"timepicker"
>
<div
class=
"span3"
>
<h6>
Default Mode
</h6>
<select
style=
"width:85%"
ng-model=
"panel.mode"
ng-options=
"f for f in ['relative','absolute','since']"
></select>
</div>
<div
class=
"span3"
>
<h6>
Time Field
</h6>
<input
type=
"text"
class=
"input-small"
ng-model=
"panel.timefield"
ng-change=
"get_data()"
>
</div>
<div
class=
"span6"
>
<h6>
Index pattern
<small>
Absolutes in double quotes
</small></h6>
<input
type=
"text"
class=
"input-large"
ng-model=
"panel.index"
ng-change=
"get_data()"
>
</div>
</div>
<div
class=
"row-fluid"
>
<h5>
Relative mode
<small>
settings
</small></h5>
<div
class=
"span8"
>
<h6>
Relative time options
<small>
comma seperated
</small></h6>
<input
type=
"text"
array-join
class=
"input-large"
ng-model=
"panel.time_options"
ng-change=
"get_data()"
>
</div>
<div
class=
"span3"
>
<h6>
Default timespan
</h6>
<select
class=
"input-mini"
ng-model=
"panel.timespan"
ng-options=
"f for f in panel.time_options"
></select>
</div>
<div
class=
"row-fluid"
>
<h5>
Auto-refresh
<small>
settings
</small></h5>
<div
class=
"span1"
>
<label
class=
"small"
>
Enable
</label><input
type=
"checkbox"
ng-model=
"panel.refresh.enable"
ng-checked=
"panel.refresh.enable"
>
</div>
<div
class=
"span2"
>
<label
class=
"small"
>
Interval (seconds)
</label>
<input
type=
"number"
array-join
class=
"input-mini"
ng-model=
"panel.refresh.interval"
>
</div>
<div
class=
"span3"
>
<label
class=
"small"
>
Minimum Interval (seconds)
</label>
<input
type=
"number"
array-join
class=
"input-mini"
ng-model=
"panel.refresh.min"
>
</div>
</div>
\ No newline at end of file
panels/timepicker/module.js
View file @
23dd46c0
...
...
@@ -33,6 +33,7 @@ angular.module('kibana.timepicker', [])
mode
:
"relative"
,
time_options
:
[
'5m'
,
'15m'
,
'1h'
,
'6h'
,
'12h'
,
'24h'
,
'2d'
,
'7d'
,
'30d'
],
timespan
:
'15m'
,
timefield
:
'@timestamp'
,
index
:
'"logstash-"yyyy.mm.dd'
,
group
:
"default"
,
refresh
:
{
...
...
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