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
ff254ce0
Commit
ff254ce0
authored
Oct 20, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help: fix for help modal shortcut, and added missing shortcut, #952
parent
8a80ea26
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
+9
-1
src/app/partials/help_modal.html
+4
-0
src/app/services/dashboard/dashboardKeyBindings.js
+1
-1
src/app/services/keyboardManager.js
+4
-0
No files found.
src/app/partials/help_modal.html
View file @
ff254ce0
...
@@ -36,6 +36,10 @@
...
@@ -36,6 +36,10 @@
<td><span
class=
"label label-info"
>
CTRL+R
</span></td>
<td><span
class=
"label label-info"
>
CTRL+R
</span></td>
<td>
Refresh (Fetches new data and rerenders panels)
</td>
<td>
Refresh (Fetches new data and rerenders panels)
</td>
</tr>
</tr>
<tr>
<td><span
class=
"label label-info"
>
CTRL+O
</span></td>
<td>
Enable/Disable shared graph crosshair
</td>
</tr>
</table>
</table>
</div>
</div>
...
...
src/app/services/dashboard/dashboardKeyBindings.js
View file @
ff254ce0
...
@@ -23,7 +23,7 @@ function(angular, $) {
...
@@ -23,7 +23,7 @@ function(angular, $) {
});
});
var
helpModalScope
=
null
;
var
helpModalScope
=
null
;
keyboardManager
.
bind
(
'shift+
¿
'
,
function
()
{
keyboardManager
.
bind
(
'shift+
?
'
,
function
()
{
if
(
helpModalScope
)
{
return
;
}
if
(
helpModalScope
)
{
return
;
}
helpModalScope
=
$rootScope
.
$new
();
helpModalScope
=
$rootScope
.
$new
();
...
...
src/app/services/keyboardManager.js
View file @
ff254ce0
...
@@ -61,6 +61,7 @@ function (angular) {
...
@@ -61,6 +61,7 @@ function (angular) {
else
if
(
e
.
which
)
{
else
if
(
e
.
which
)
{
code
=
e
.
which
;
code
=
e
.
which
;
}
}
var
character
=
String
.
fromCharCode
(
code
).
toLowerCase
();
var
character
=
String
.
fromCharCode
(
code
).
toLowerCase
();
if
(
code
===
188
)
{
if
(
code
===
188
)
{
...
@@ -93,6 +94,9 @@ function (angular) {
...
@@ -93,6 +94,9 @@ function (angular) {
","
:
"<"
,
","
:
"<"
,
"."
:
">"
,
"."
:
">"
,
"/"
:
"?"
,
"/"
:
"?"
,
"»"
:
"?"
,
"«"
:
"?"
,
"¿"
:
"?"
,
"
\
\"
: "
|
"
"
\
\"
: "
|
"
};
};
// Special Keys - and their codes
// Special Keys - and their codes
...
...
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