summaryrefslogtreecommitdiffstats
path: root/devtools/client/webide/content/prefs.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webide/content/prefs.xhtml')
-rw-r--r--devtools/client/webide/content/prefs.xhtml112
1 files changed, 112 insertions, 0 deletions
diff --git a/devtools/client/webide/content/prefs.xhtml b/devtools/client/webide/content/prefs.xhtml
new file mode 100644
index 000000000..726ca772c
--- /dev/null
+++ b/devtools/client/webide/content/prefs.xhtml
@@ -0,0 +1,112 @@
+<?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"/>
+ <script type="application/javascript;version=1.8" src="chrome://webide/content/prefs.js"></script>
+ </head>
+ <body>
+
+ <div id="controls">
+ <a id="restore">&prefs_restore;</a>
+ <a id="manageComponents">&prefs_manage_components;</a>
+ <a id="close">&deck_close;</a>
+ </div>
+
+ <h1>&prefs_title;</h1>
+
+ <h2>&prefs_general_title;</h2>
+
+ <ul>
+ <li>
+ <label title="&prefs_options_showeditor_tooltip;">
+ <input type="checkbox" data-pref="devtools.webide.showProjectEditor"/>
+ <span>&prefs_options_showeditor;</span>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_rememberlastproject_tooltip;">
+ <input type="checkbox" data-pref="devtools.webide.restoreLastProject"/>
+ <span>&prefs_options_rememberlastproject;</span>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_autoconnectruntime_tooltip;">
+ <input type="checkbox" data-pref="devtools.webide.autoConnectRuntime"/>
+ <span>&prefs_options_autoconnectruntime;</span>
+ </label>
+ </li>
+ <li>
+ <label class="text-input" title="&prefs_options_templatesurl_tooltip;">
+ <span>&prefs_options_templatesurl;</span>
+ <input data-pref="devtools.webide.templatesURL"/>
+ </label>
+ </li>
+ </ul>
+
+ <h2>&prefs_editor_title;</h2>
+
+ <ul>
+ <li>
+ <label><span>&prefs_options_tabsize;</span>
+ <select data-pref="devtools.editor.tabsize">
+ <option value="2">2</option>
+ <option value="4">4</option>
+ <option value="8">8</option>
+ </select>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_expandtab_tooltip;">
+ <input type="checkbox" data-pref="devtools.editor.expandtab"/>
+ <span>&prefs_options_expandtab;</span>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_detectindentation_tooltip;">
+ <input type="checkbox" data-pref="devtools.editor.detectindentation"/>
+ <span>&prefs_options_detectindentation;</span>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_autocomplete_tooltip;">
+ <input type="checkbox" data-pref="devtools.editor.autocomplete"/>
+ <span>&prefs_options_autocomplete;</span>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_autoclosebrackets_tooltip;">
+ <input type="checkbox" data-pref="devtools.editor.autoclosebrackets"/>
+ <span>&prefs_options_autoclosebrackets;</span>
+ </label>
+ </li>
+ <li>
+ <label title="&prefs_options_autosavefiles_tooltip;">
+ <input type="checkbox" data-pref="devtools.webide.autosaveFiles"/>
+ <span>&prefs_options_autosavefiles;</span>
+ </label>
+ </li>
+ <li>
+ <label><span>&prefs_options_keybindings;</span>
+ <select data-pref="devtools.editor.keymap">
+ <option value="default">&prefs_options_keybindings_default;</option>
+ <option value="vim">Vim</option>
+ <option value="emacs">Emacs</option>
+ <option value="sublime">Sublime</option>
+ </select>
+ </label>
+ </li>
+ </ul>
+
+ </body>
+</html>