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