summaryrefslogtreecommitdiffstats
path: root/devtools/client/webide/content/devicepreferences.xhtml
blob: dafb6f15ff160bd5cd17b45890a034e57098cc4c (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
<?xml version="1.0" encoding="UTF-8"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE html [
  <!ENTITY % webideDTD SYSTEM "chrome://devtools/locale/webide.dtd" >
  %webideDTD;
]>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf8"/>
    <link rel="stylesheet" href="chrome://webide/skin/deck.css" type="text/css"/>
    <link rel="stylesheet" href="chrome://webide/skin/config-view.css" type="text/css"/>
    <script type="application/javascript;version=1.8" src="chrome://webide/content/devicepreferences.js"></script>
  </head>
  <body>
    <header>
      <div id="controls">
        <a id="close">&deck_close;</a>
      </div>
      <h1>&devicepreference_title;</h1>
      <div id="search">
        <input type="text" id="search-bar" placeholder="&devicepreference_search;"/>
      </div>
    </header>
    <table id="device-fields">
      <tr id="add-custom-field">
        <td>
          <select id="custom-value-type">
            <option value="" selected="selected">&device_typenone;</option>
            <option value="boolean">&device_typeboolean;</option>
            <option value="number">&device_typenumber;</option>
            <option value="string">&device_typestring;</option>
          </select>
          <input type="text" id="custom-value-name" placeholder="&devicepreference_newname;"/>
        </td>
        <td class="custom-input">
          <input type="text" id="custom-value-text" placeholder="&devicepreference_newtext;"/>
        </td>
        <td>
          <button id="custom-value" class="new-editable">&devicepreference_addnew;</button>
        </td>
      </tr>
    </table>
  </body>
</html>