diff options
author | Devaev Maxim <[email protected]> | 2018-07-27 12:48:49 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-07-27 12:48:49 +0300 |
commit | dcedf161425a233bde1fe85bb2f4836ba57d1f0a (patch) | |
tree | 8e5067f318a00cbfe5499f2a0f8ce49592ce9f53 /kvmd | |
parent | d2da0829b98e9aca474867f5ce9d5929f8b234af (diff) |
added pause and scrlk keys
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/kvmd/data/keymap.yaml | 2 | ||||
-rw-r--r-- | kvmd/web/css/keyboard.css | 2 | ||||
-rw-r--r-- | kvmd/web/index.html | 8 |
3 files changed, 7 insertions, 5 deletions
diff --git a/kvmd/kvmd/data/keymap.yaml b/kvmd/kvmd/data/keymap.yaml index 1904c639..be7fee25 100644 --- a/kvmd/kvmd/data/keymap.yaml +++ b/kvmd/kvmd/data/keymap.yaml @@ -73,9 +73,11 @@ MetaRight: 84 Minus: 42 PageDown: 72 PageUp: 69 +Pause: 85 Period: 51 PrintScreen: 66 Quote: 48 +ScrollLock: 86 Semicolon: 47 ShiftLeft: 78 ShiftRight: 82 diff --git a/kvmd/web/css/keyboard.css b/kvmd/web/css/keyboard.css index abbe2037..0a50ce66 100644 --- a/kvmd/web/css/keyboard.css +++ b/kvmd/web/css/keyboard.css @@ -28,7 +28,6 @@ div#keyboard div.key, div.modifier, div.empty-key { margin-right: 5px; padding: 0; width: 40px; - height: 40px; } div#keyboard div.key, div.modifier { font-size: 0.9em; @@ -42,6 +41,7 @@ div#keyboard div.key, div.modifier { color: var(--fg-color-normal); background-color: var(--bg-color-gray); cursor: pointer; + height: 40px; } div#keyboard div.key:hover, div.modifier:hover { color: var(--fg-color-intensive); diff --git a/kvmd/web/index.html b/kvmd/web/index.html index bf8a7d7c..8766aae5 100644 --- a/kvmd/web/index.html +++ b/kvmd/web/index.html @@ -298,8 +298,9 @@ </div> <div class="keyboard-block"> <div class="keyboard-row"> - <div class="empty-key" style="width:28px"></div> - <div id="PrintScreen" class="modifier wide-4 right small"><p><b>•</b><br>PrtSc / SysRq</p></div> + <div id="PrintScreen" class="modifier small"><p><b>•</b><br>Pt/Sq</p></div> + <div id="ScrollLock" class="key small"><p>ScrLk</p></div> + <div id="Pause" class="key small"><p>P/Brk</p></div> </div> <div class="keyboard-row"> <div id="Insert" class="key small"><p>Ins</p></div> @@ -311,8 +312,7 @@ <div id="End" class="key small"><p>End</p></div> <div id="PageDown" class="key small"><p>PgDn</p></div> </div> - <div class="keyboard-row"> - </div> + <div class="keyboard-row"></div> <div class="keyboard-row"> <div class="empty-key"></div> <div id="ArrowUp" class="key"><p>↑</p></div> |