From d7cb786a3f8fcc3a5540dbc3b3c5546be901766d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 7 Dec 2016 11:56:29 +0200 Subject: [PATCH] Keyboard shortcuts --- .../partials/keyboard_shortcuts.blade.php | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/resources/views/partials/keyboard_shortcuts.blade.php b/resources/views/partials/keyboard_shortcuts.blade.php index 34de093da68b..595b78e6ac04 100644 --- a/resources/views/partials/keyboard_shortcuts.blade.php +++ b/resources/views/partials/keyboard_shortcuts.blade.php @@ -10,17 +10,17 @@ color:#fff; width:28px; text-align:center; - padding-top:4px; - padding-bottom:4px; + padding-top:2px; + padding-bottom:2px; font-weight:bold; font-size: 18px; float: left; - margin-right: 12px; + margin-left: 12px; margin-top: 4px; margin-bottom: 4px; } .help-panel .key-label { - padding-top: 12px; + padding-top: 10px; } @@ -33,42 +33,42 @@
-
?
-
{{ trans('texts.help') }}
+
?
+
{{ trans('texts.help') }}
N
C
{{ trans('texts.new_client') }}
-
/
-
{{ trans('texts.search') }}
+
/
+
{{ trans('texts.search') }}
N
I
{{ trans('texts.new_invoice') }}
-
D
-
{{ trans('texts.dashboard') }}
+
M
+
{{ trans('texts.toggle_menu') }}
N
...
{{ trans('texts.new_...') }}
-
S
-
{{ trans('texts.settings') }}
+
H
+
{{ trans('texts.toggle_history') }}
-
-
+
+
L
C
{{ trans('texts.list_clients') }}
-
M
-
{{ trans('texts.toggle_menu') }}
+
G
D
+
{{ trans('texts.dashboard') }}
L
I
{{ trans('texts.list_invoices') }}
-
H
-
{{ trans('texts.toggle_history') }}
+
G
S
+
{{ trans('texts.settings') }}
L
...
{{ trans('texts.list_...') }}
@@ -93,11 +93,11 @@ $('#search').focus(); }); - Mousetrap.bind('d', function(e) { + Mousetrap.bind('g d', function(e) { location.href = "{{ url('/dashboard') }}"; }); - Mousetrap.bind('s', function(e) { + Mousetrap.bind('g s', function(e) { location.href = "{{ url('/settings/company_details') }}"; });