summaryrefslogtreecommitdiffstats
path: root/devtools/client/webide/content/devicepreferences.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webide/content/devicepreferences.xhtml')
-rw-r--r--devtools/client/webide/content/devicepreferences.xhtml49
1 files changed, 49 insertions, 0 deletions
diff --git a/devtools/client/webide/content/devicepreferences.xhtml b/devtools/client/webide/content/devicepreferences.xhtml
new file mode 100644
index 000000000..dafb6f15f
--- /dev/null
+++ b/devtools/client/webide/content/devicepreferences.xhtml
@@ -0,0 +1,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>