Lines 2-18
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% SET footerjs = 1 %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Tools › Advanced editor shortcuts</title> |
5 |
<title>Koha › Administration › Advanced editor shortcuts</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
</head> |
7 |
</head> |
8 |
<body id="adveditor_shortcuts" class="tools"> |
8 |
<body id="adveditor_shortcuts" class="admin"> |
9 |
[% INCLUDE 'header.inc' %] |
9 |
[% INCLUDE 'header.inc' %] |
10 |
[% INCLUDE 'cat-search.inc' %] |
10 |
[% INCLUDE 'prefs-admin-search.inc' %] |
|
|
11 |
[% PROCESS 'keyboard_shortcuts.inc' %] |
11 |
|
12 |
|
12 |
<div id="breadcrumbs"> |
13 |
<div id="breadcrumbs"> |
13 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
14 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
14 |
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › |
15 |
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › |
15 |
<a href="/cgi-bin/koha/tools/adveditorshortcuts.pl">Advanced editor shortcuts</a> |
16 |
<a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Advanced editor shortcuts</a> |
16 |
</div> |
17 |
</div> |
17 |
|
18 |
|
18 |
<div class="main container-fluid"> |
19 |
<div class="main container-fluid"> |
Lines 25-35
Link Here
|
25 |
<li>Control key is "Ctrl"</li> |
26 |
<li>Control key is "Ctrl"</li> |
26 |
<li>Alt key is "Alt"</li> |
27 |
<li>Alt key is "Alt"</li> |
27 |
<li>Shift is "Shift"</li> |
28 |
<li>Shift is "Shift"</li> |
28 |
<li>If combing multiple keys they must be in specified order: Shift-Cmd-Ctrl-Alt</li> |
29 |
<li>If combining multiple keys they must be in specified order: Shift-Cmd-Ctrl-Alt</li> |
29 |
<li><a href="https://codemirror.net/doc/manual.html#keymaps">More documentation on defining key maps</a></li> |
30 |
<li><a href="https://codemirror.net/doc/manual.html#keymaps">More documentation on defining key maps</a></li> |
30 |
</ul> |
31 |
</ul> |
31 |
|
32 |
|
32 |
<form id="adveditor_shortcuts" method="post" action="/cgi-bin/koha/tools/adveditorshortcuts.pl"> |
33 |
<form id="adveditor_shortcuts" method="post" action="/cgi-bin/koha/admin/adveditorshortcuts.pl"> |
|
|
34 |
<fieldset> |
33 |
<input type=hidden name="op" value="save" /> |
35 |
<input type=hidden name="op" value="save" /> |
34 |
|
36 |
|
35 |
<table id="adv_editor_keyboard_shortcuts"> |
37 |
<table id="adv_editor_keyboard_shortcuts"> |
Lines 40-46
Link Here
|
40 |
<tbody> |
42 |
<tbody> |
41 |
[% FOREACH shortcut IN shortcuts %] |
43 |
[% FOREACH shortcut IN shortcuts %] |
42 |
<tr> |
44 |
<tr> |
43 |
<td><label for="shortcut_keys">[% shortcut.shortcut_desc | html %]</label></td> |
45 |
<td><label for="shortcut_keys">[% PROCESS keyboard_shortcut_descriptions shortcut_name=shortcut.shortcut_name %]</label></td> |
44 |
<td> |
46 |
<td> |
45 |
<input type="hidden" name="shortcut_name" value="[% shortcut.shortcut_name | html %]"> |
47 |
<input type="hidden" name="shortcut_name" value="[% shortcut.shortcut_name | html %]"> |
46 |
<input type="text" name="shortcut_keys" value="[% shortcut.shortcut_keys | html %]"> |
48 |
<input type="text" name="shortcut_keys" value="[% shortcut.shortcut_keys | html %]"> |
Lines 48-54
Link Here
|
48 |
</tr> |
50 |
</tr> |
49 |
[% END %] |
51 |
[% END %] |
50 |
</table> |
52 |
</table> |
51 |
<input type="submit" value="Save shortcuts"> |
53 |
</fieldset> |
|
|
54 |
</fieldset class="action"><input type="submit" value="Save shortcuts"></fieldset> |
52 |
</form> |
55 |
</form> |
53 |
|
56 |
|
54 |
</main> |
57 |
</main> |
Lines 56-62
Link Here
|
56 |
|
59 |
|
57 |
<div class="col-sm-2 col-sm-pull-10"> |
60 |
<div class="col-sm-2 col-sm-pull-10"> |
58 |
<aside> |
61 |
<aside> |
59 |
[% INCLUDE 'tools-menu.inc' %] |
62 |
[% INCLUDE 'admin-menu.inc' %] |
60 |
</aside> |
63 |
</aside> |
61 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
64 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
62 |
</div> <!-- /.row --> |
65 |
</div> <!-- /.row --> |