2015-06-15 18:53:06 -04:00
|
|
|
|
#modal-shortcuts.modal{tabindex: -1}
|
2014-01-01 14:59:45 -05:00
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
|
|
|
|
%a.close{href: "#", "data-dismiss" => "modal"} ×
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%h4
|
2014-08-21 04:14:31 -04:00
|
|
|
|
Keyboard Shortcuts
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%small
|
2014-08-21 04:14:31 -04:00
|
|
|
|
= link_to '(Show all)', '#', class: 'js-more-help-button'
|
|
|
|
|
.modal-body.shortcuts-cheatsheet
|
|
|
|
|
.col-lg-4
|
|
|
|
|
%table.shortcut-mappings
|
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Global Shortcuts
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key s
|
|
|
|
|
%td Focus Search
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key ?
|
|
|
|
|
%td Show this dialog
|
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Project Files browsing
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-up
|
2014-08-21 04:14:31 -04:00
|
|
|
|
%td Move selection up
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-down
|
2014-08-21 04:14:31 -04:00
|
|
|
|
%td Move selection down
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key enter
|
|
|
|
|
%td Open Selection
|
2013-07-09 11:34:44 -04:00
|
|
|
|
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.col-lg-4
|
|
|
|
|
%table.shortcut-mappings
|
|
|
|
|
%tbody{ class: 'hidden-shortcut project', style: 'display:none' }
|
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Global Dashboard
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key a
|
|
|
|
|
%td
|
|
|
|
|
Go to the activity feed
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key p
|
|
|
|
|
%td
|
|
|
|
|
Go to projects
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key i
|
|
|
|
|
%td
|
|
|
|
|
Go to issues
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key m
|
|
|
|
|
%td
|
|
|
|
|
Go to merge requests
|
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Project
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
2014-09-08 02:47:26 -04:00
|
|
|
|
.key p
|
2015-07-08 06:43:46 -04:00
|
|
|
|
%td
|
|
|
|
|
Go to the project's home page
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key g
|
|
|
|
|
.key e
|
2014-08-21 04:14:31 -04:00
|
|
|
|
%td
|
2014-09-08 02:47:26 -04:00
|
|
|
|
Go to the project's activity feed
|
2014-08-21 04:14:31 -04:00
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key f
|
|
|
|
|
%td
|
|
|
|
|
Go to files
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key c
|
|
|
|
|
%td
|
|
|
|
|
Go to commits
|
2015-10-14 06:15:03 -04:00
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key g
|
|
|
|
|
.key b
|
|
|
|
|
%td
|
|
|
|
|
Go to builds
|
2014-08-21 04:14:31 -04:00
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key n
|
|
|
|
|
%td
|
|
|
|
|
Go to network graph
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key g
|
|
|
|
|
%td
|
|
|
|
|
Go to graphs
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key i
|
|
|
|
|
%td
|
|
|
|
|
Go to issues
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key g
|
|
|
|
|
.key m
|
|
|
|
|
%td
|
|
|
|
|
Go to merge requests
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key g
|
|
|
|
|
.key s
|
|
|
|
|
%td
|
|
|
|
|
Go to snippets
|
|
|
|
|
.col-lg-4
|
|
|
|
|
%table.shortcut-mappings
|
|
|
|
|
%tbody{ class: 'hidden-shortcut network', style: 'display:none' }
|
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Network Graph
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-left
|
2014-08-21 04:14:31 -04:00
|
|
|
|
\/
|
|
|
|
|
.key h
|
|
|
|
|
%td Scroll left
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-right
|
2014-08-21 04:14:31 -04:00
|
|
|
|
\/
|
|
|
|
|
.key l
|
|
|
|
|
%td Scroll right
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-up
|
2014-08-21 04:14:31 -04:00
|
|
|
|
\/
|
|
|
|
|
.key k
|
|
|
|
|
%td Scroll up
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-down
|
2014-08-21 04:14:31 -04:00
|
|
|
|
\/
|
|
|
|
|
.key j
|
|
|
|
|
%td Scroll down
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
|
|
|
|
shift
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-up
|
2014-08-21 04:14:31 -04:00
|
|
|
|
\/
|
|
|
|
|
.key
|
|
|
|
|
shift k
|
|
|
|
|
%td Scroll to top
|
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key
|
|
|
|
|
shift
|
2014-10-01 18:21:29 -04:00
|
|
|
|
%i.fa.fa-arrow-down
|
2014-08-21 04:14:31 -04:00
|
|
|
|
\/
|
|
|
|
|
.key
|
|
|
|
|
shift j
|
|
|
|
|
%td Scroll to bottom
|
|
|
|
|
%tbody{ class: 'hidden-shortcut issues', style: 'display:none' }
|
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Issues
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key a
|
|
|
|
|
%td Change assignee
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key m
|
|
|
|
|
%td Change milestone
|
2015-04-11 18:30:19 -04:00
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key r
|
|
|
|
|
%td Reply (quoting selected text)
|
2015-04-11 18:29:25 -04:00
|
|
|
|
%tbody{ class: 'hidden-shortcut merge_requests', style: 'display:none' }
|
2014-08-21 04:14:31 -04:00
|
|
|
|
%tr
|
|
|
|
|
%th
|
|
|
|
|
%th Merge Requests
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key a
|
|
|
|
|
%td Change assignee
|
|
|
|
|
%tr
|
2014-09-30 10:41:48 -04:00
|
|
|
|
%td.shortcut
|
2014-08-21 04:14:31 -04:00
|
|
|
|
.key m
|
|
|
|
|
%td Change milestone
|
2015-04-11 18:30:19 -04:00
|
|
|
|
%tr
|
|
|
|
|
%td.shortcut
|
|
|
|
|
.key r
|
|
|
|
|
%td Reply (quoting selected text)
|
2014-08-21 04:14:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:javascript
|
2015-11-10 06:17:37 -05:00
|
|
|
|
$('.js-more-help-button').click(function (e) {
|
|
|
|
|
$(this).remove()l
|
|
|
|
|
$('.hidden-shortcut').show();
|
|
|
|
|
e.preventDefault();
|
2014-08-21 04:14:31 -04:00
|
|
|
|
});
|