mirror of https://github.com/zulip/zulip.git
133 lines
4.8 KiB
HTML
133 lines
4.8 KiB
HTML
{% load i18n %}
|
||
<div class="modal hide" id="keyboard-shortcuts" tabindex="-1" role="dialog"
|
||
aria-labelledby="keyboard-shortcuts-label" aria-hidden="true">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h3 id="keyboard-shortcuts-label">{% blocktrans %}Keyboard shortcuts{% endblocktrans %}</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div>
|
||
<table class="hotkeys_table table table-striped table-bordered table-condensed">
|
||
<thead>
|
||
<tr>
|
||
<th colspan="2">{% trans "Navigation" %}</th>
|
||
</tr>
|
||
</thead>
|
||
<tr>
|
||
<td class="hotkey">/</td>
|
||
<td class="definition">{% blocktrans %}Initiate a search{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">q</td>
|
||
<td class="definition">{% blocktrans %}Search people{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">Up or k</td>
|
||
<td class="definition">{% blocktrans %}Previous message{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">Down or j</td>
|
||
<td class="definition">{% blocktrans %}Next message{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">PgUp, K</td>
|
||
<td class="definition">{% blocktrans %}Scroll up{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">PgDn, J, Spacebar</td>
|
||
<td class="definition">{% blocktrans %}Scroll down{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">End</td>
|
||
<td class="definition">{% blocktrans %}Last message{% endblocktrans %}</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<table class="hotkeys_table table table-striped table-bordered table-condensed">
|
||
<thead>
|
||
<tr>
|
||
<th colspan="2">{% blocktrans %}Composing messages{% endblocktrans %}</th>
|
||
</tr>
|
||
</thead>
|
||
<tr>
|
||
<td class="hotkey">Enter or r</td>
|
||
<td class="definition">{% blocktrans %}Reply to message{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">R</td>
|
||
<td class="definition">{% blocktrans %}Reply to author{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">c</td>
|
||
<td class="definition">{% blocktrans %}New stream message{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">C</td>
|
||
<td class="definition">{% blocktrans %}New private message{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">Tab then Enter</td>
|
||
<td class="definition">{% blocktrans %}Send message{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">Esc</td>
|
||
<td class="definition">{% blocktrans %}Cancel compose{% endblocktrans %}</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<table class="hotkeys_table table table-striped table-bordered table-condensed">
|
||
<thead>
|
||
<tr>
|
||
<th colspan="2">{% trans "Narrowing" %}</th>
|
||
</tr>
|
||
</thead>
|
||
<tr>
|
||
<td class="hotkey">s</td>
|
||
<td class="definition">{% blocktrans %}Narrow by stream{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">S</td>
|
||
<td class="definition">{% blocktrans %}Narrow by topic{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">v</td>
|
||
<td class="definition">{% blocktrans %}Narrow to all private messages{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">A or D</td>
|
||
<td class="definition">{% blocktrans %}Cycle between stream narrows{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">Esc</td>
|
||
<td class="definition">{% blocktrans %}Return to home view{% endblocktrans %}</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<table class="hotkeys_table table table-striped table-bordered table-condensed">
|
||
<thead>
|
||
<tr>
|
||
<th colspan="2">{% trans "Menus" %}</th>
|
||
</tr>
|
||
</thead>
|
||
<tr>
|
||
<td class="hotkey">i</td>
|
||
<td class="definition">{% blocktrans %}Open message actions menu{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr id="edit-message-hotkey-help">
|
||
<td class="hotkey">i then Enter</td>
|
||
<td class="definition">{% blocktrans %}Edit a message you sent{% endblocktrans %}</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="hotkey">?</td>
|
||
<td class="definition">{% blocktrans %}Show these keyboard shortcuts{% endblocktrans %}</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">{% trans "Close" %}</button>
|
||
</div>
|
||
</div>
|