diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-07-22 00:15:28 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-07-22 00:15:28 +0200 |
commit | ab8ce89df34ea1fefd457973fd80651dba72a278 (patch) | |
tree | 58cdb45d32e7b7c872de21b63c15a8db232bc0d0 /apps/contacts/templates/index.php | |
parent | 38d38c17972dbb0e7718d1a0e5fc7db9cd8277fb (diff) | |
download | nextcloud-server-ab8ce89df34ea1fefd457973fd80651dba72a278.tar.gz nextcloud-server-ab8ce89df34ea1fefd457973fd80651dba72a278.zip |
Added help for keyboard shortcuts.
Diffstat (limited to 'apps/contacts/templates/index.php')
-rw-r--r-- | apps/contacts/templates/index.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index 1bc4a195534..b2dde12684c 100644 --- a/apps/contacts/templates/index.php +++ b/apps/contacts/templates/index.php @@ -32,6 +32,38 @@ echo $this->inc('part.no_contacts'); } ?> + <div class="hidden" id="ninjahelp"> + <a class="close" tabindex="0" role="button"> + <img class="svg" src="core/img/actions/delete.svg" alt="<?php echo $l->t('Close'); ?>" /> + </a> + <h2><?php echo $l->t('Keyboard shortcuts'); ?></h2> + <div class="help-section"> + <h3><?php echo $l->t('Navigation'); ?></h3> + <dl> + <dt>j/Down/Space</dt> + <dd><?php echo $l->t('Next contact in list'); ?></dd> + <dt>k/Up/Shift-Space</dt> + <dd><?php echo $l->t('Previous contact in list'); ?></dd> + <dt>o/Enter</dt> + <dd><?php echo $l->t('Expand/collapse current addressbook'); ?></dd> + <dt>n/p</dt> + <dd><?php echo $l->t('Next/previous addressbook'); ?></dd> + </dl> + </div> + <div class="help-section"> + <h3><?php echo $l->t('Actions'); ?></h3> + <dl> + <dt>r</dt> + <dd><?php echo $l->t('Refresh contacts list'); ?></dd> + <dt>a</dt> + <dd><?php echo $l->t('Add new contact'); ?></dd> + <dt>Shift-a</dt> + <dd><?php echo $l->t('Add new addressbook'); ?></dd> + <dt>Shift-Delete</dt> + <dd><?php echo $l->t('Delete current contact'); ?></dd> + </dl> + </div> + </div> </div> <!-- Dialogs --> <div id="dialog_holder"></div> |