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
3ab54270
Commit
3ab54270
authored
Apr 12, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(timepicker): fixed issues and added some polish to timepicker shift back/forward buttons
parent
7afb6fa3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
14 deletions
+20
-14
public/app/features/dashboard/timepicker/timepicker.html
+6
-12
public/app/partials/help_modal.html
+2
-2
public/sass/components/_timepicker.scss
+12
-0
No files found.
public/app/features/dashboard/timepicker/timepicker.html
View file @
3ab54270
<ul
class=
"nav gf-timepicker-nav"
>
<li
class=
"dashnav-move-timeframe"
style=
"padding-top: 2px"
>
<a
class=
'small'
ng-click=
'ctrl.move(-1)'
>
<i
class=
"fa fa-arrow-left"
></i>
</a>
<li
class=
"dashnav-move-timeframe gf-timepicker-time-control"
bs-tooltip=
"'Shift time backward <br> (left-arrow key)'"
data-placement=
"bottom"
>
<a
ng-click=
'ctrl.move(-1)'
><i
class=
"fa fa-chevron-left"
></i></a>
</li>
<li
class=
"dashnav-move-timeframe"
style=
"padding-top: 2px"
>
<a
class=
'small'
ng-click=
'ctrl.move(1)'
>
<i
class=
"fa fa-arrow-right"
></i>
</a>
<li
class=
"dashnav-zoom-out gf-timepicker-time-control"
bs-tooltip=
"'Time range zoom in <br> CTRL+Z'"
data-placement=
"bottom"
>
<a
ng-click=
'ctrl.zoom(2)'
>
Zoom Out
</a></li>
</li>
<li
class=
"dashnav-zoom-out"
style=
"padding-top: 2px"
>
<a
class=
'small'
ng-click=
'ctrl.zoom(2)'
>
Zoom Out
</a>
<li
class=
"dashnav-move-timeframe gf-timepicker-time-control"
bs-tooltip=
"'Shift time forward <br> (right-arrow key)'"
data-placement=
"bottom"
>
<a
ng-click=
'ctrl.move(1)'
><i
class=
"fa fa-chevron-right"
></i></a>
</li>
<li>
...
...
public/app/partials/help_modal.html
View file @
3ab54270
...
...
@@ -29,11 +29,11 @@
<td>
Refresh (Fetches new data and rerenders panels)
</td>
</tr>
<tr>
<td><span
class=
"label label-info"
>
<
</span></td>
<td><span
class=
"label label-info"
>
left arrow key
</span></td>
<td>
Shift time backward
</td>
</tr>
<tr>
<td><span
class=
"label label-info"
>
>
</span></td>
<td><span
class=
"label label-info"
>
right arrow key
</span></td>
<td>
Shift time forward
</td>
</tr>
<tr>
...
...
public/sass/components/_timepicker.scss
View file @
3ab54270
...
...
@@ -115,3 +115,15 @@
@extend
.fa
;
@extend
.fa-chevron-left
;
}
.gf-timepicker-time-control
{
font-size
:
$font-size-sm
;
a
{
padding
:
18px
7px
13px
!
important
;
}
}
.dashnav-move-timeframe
{
position
:
relative
;
top
:
1px
;
}
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