summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/options/chromeos/keyboard_overlay.html
blob: 039c52e79548c5573ddfa1c7abadd9a3d6e66e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<div id="keyboard-overlay" class="page" hidden>
  <div class="close-button"></div>
  <h1 i18n-content="keyboardOverlayTitle"></h1>
  <div class="content-area">
    <table class="option-control-table">
       <tr>
         <td>
           <label class="option-name" for="remap-search-key-to"
               i18n-content="remapSearchKeyToContent">
           </label>
         </td>
         <td class="option-value">
           <select id="remap-search-key-to" class="control"
               data-type="number" i18n-options="remapSearchKeyToValue"
               pref="settings.language.xkb_remap_search_key_to" dialog-pref>
           </select>
         </td>
       </tr>
       <tr>
         <td>
           <label class="option-name" for="remap-control-key-to"
               i18n-content="remapControlKeyToContent">
           </label>
         </td>
         <td class="option-value">
           <select id="remap-control-key-to" class="control"
               data-type="number" i18n-options="remapControlKeyToValue"
               pref="settings.language.xkb_remap_control_key_to" dialog-pref>
           </select>
         </td>
       </tr>
       <tr>
         <td>
           <label class="option-name" for="remap-alt-key-to"
               i18n-content="remapAltKeyToContent">
           </label>
         </td>
         <td class="option-value">
           <select id="remap-alt-key-to" class="control" data-type="number"
               pref="settings.language.xkb_remap_alt_key_to"
               i18n-options="remapAltKeyToValue" dialog-pref></select>
         </td>
       </tr>
       <!-- The caps lock section is hidden by default. This is only visible
            when --has-chromeos-keyboard flag is not passed. -->
       <tr id="caps-lock-remapping-section" hidden>
         <td>
           <label class="option-name" for="remap-caps-lock-key-to"
               i18n-content="remapCapsLockKeyToContent">
           </label>
         </td>
         <td class="option-value">
           <select id="remap-caps-lock-key-to" class="control"
               data-type="number"
               pref="settings.language.remap_caps_lock_key_to"
               i18n-options="remapCapsLockKeyToValue" dialog-pref></select>
         </td>
       </tr>
       <!-- The diamond key section is hidden by default. This is only visible
            when --has-chromeos-diamond-key flag is passed. -->
       <tr id="diamond-key-remapping-section" hidden>
         <td>
           <label class="option-name" for="remap-diamond-key-to"
               i18n-content="remapDiamondKeyToContent">
           </label>
         </td>
         <td class="option-value">
           <select id="remap-diamond-key-to" class="control"
               data-type="number"
               pref="settings.language.remap_diamond_key_to"
               i18n-options="remapDiamondKeyToValue" dialog-pref></select>
         </td>
       </tr>
    </table>
    <div class="settings-row">
      <div class="checkbox">
        <label>
          <input id="send-function-keys" type="checkbox"
              pref="settings.language.send_function_keys" dialog-pref>
          <span i18n-content="sendFunctionKeys"></span>
        </label>
      </div>
      <label id="send-function-keys-description" for="send-function-keys"
          i18n-content="sendFunctionKeysDescription">
      </label>
    </div>
  </div>
  <div class="content-area">
    <button id="languages-and-input-settings" class="link-button"
        i18n-content="changeLanguageAndInputSettings"></button>
  </div>
  <div class="action-area">
    <div class="button-strip">
      <button id="keyboard-cancel" type="reset" i18n-content="cancel"></button>
      <button id="keyboard-confirm" class="default-button" type="submit"
          i18n-content="ok">
      </button>
    </div>
  </div>
</div>