toolbox-options.xhtml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <!DOCTYPE html [
  6. <!ENTITY % toolboxDTD SYSTEM "chrome://devtools/locale/toolbox.dtd" >
  7. %toolboxDTD;
  8. ]>
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11. <title>Toolbox option</title>
  12. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  13. <link rel="stylesheet" href="chrome://devtools/content/framework/options-panel.css" type="text/css"/>
  14. <script type="application/javascript;version=1.8" src="chrome://devtools/content/shared/theme-switching.js"/>
  15. </head>
  16. <body role="application" class="theme-body">
  17. <form id="options-panel">
  18. <div id="tools-box" class="options-vertical-pane">
  19. <fieldset id="default-tools-box" class="options-groupbox">
  20. <legend>&options.selectDefaultTools.label2;</legend>
  21. </fieldset>
  22. <fieldset id="additional-tools-box" class="options-groupbox">
  23. <legend>&options.selectAdditionalTools.label;</legend>
  24. </fieldset>
  25. <fieldset id="enabled-toolbox-buttons-box" class="options-groupbox">
  26. <legend>&options.selectEnabledToolboxButtons.label;</legend>
  27. <span id="tools-not-supported-label"
  28. class="options-citation-label theme-comment">
  29. &options.toolNotSupported.label;</span>
  30. </fieldset>
  31. </div>
  32. <div class="options-vertical-pane">
  33. <fieldset id="devtools-theme-box"
  34. class="options-groupbox
  35. horizontal-options-groupbox
  36. radiogroup"
  37. data-pref="devtools.theme">
  38. <legend>&options.selectDevToolsTheme.label2;</legend>
  39. </fieldset>
  40. <fieldset id="commonprefs-options" class="options-groupbox">
  41. <legend>&options.commonPrefs.label;</legend>
  42. <label title="&options.enablePersistentLogs.tooltip;">
  43. <input type="checkbox" data-pref="devtools.webconsole.persistlog" />
  44. <span>&options.enablePersistentLogs.label;</span>
  45. </label>
  46. </fieldset>
  47. <fieldset id="inspector-options" class="options-groupbox">
  48. <legend>&options.context.inspector;</legend>
  49. <label title="&options.showUserAgentStyles.tooltip;">
  50. <input type="checkbox"
  51. data-pref="devtools.inspector.showUserAgentStyles"/>
  52. <span>&options.showUserAgentStyles.label;</span>
  53. </label>
  54. <label title="&options.collapseAttrs.tooltip;">
  55. <input type="checkbox"
  56. data-pref="devtools.markup.collapseAttributes"/>
  57. <span>&options.collapseAttrs.label;</span>
  58. </label>
  59. <label>
  60. <span>&options.defaultColorUnit.label;</span>
  61. <select id="defaultColorUnitMenuList"
  62. data-pref="devtools.defaultColorUnit">
  63. <option value="authored">&options.defaultColorUnit.authored;</option>
  64. <option value="hex">&options.defaultColorUnit.hex;</option>
  65. <option value="hsl">&options.defaultColorUnit.hsl;</option>
  66. <option value="rgb">&options.defaultColorUnit.rgb;</option>
  67. <option value="name">&options.defaultColorUnit.name;</option>
  68. </select>
  69. </label>
  70. </fieldset>
  71. <fieldset id="webconsole-options" class="options-groupbox">
  72. <legend>&options.webconsole.label;</legend>
  73. <label title="&options.timestampMessages.tooltip;">
  74. <input type="checkbox"
  75. id="webconsole-timestamp-messages"
  76. data-pref="devtools.webconsole.timestampMessages"/>
  77. <span>&options.timestampMessages.label;</span>
  78. </label>
  79. </fieldset>
  80. <fieldset id="debugger-options" class="options-groupbox">
  81. <legend>&options.debugger.label;</legend>
  82. <label title="&options.sourceMaps.tooltip;">
  83. <input type="checkbox"
  84. id="debugger-sourcemaps"
  85. data-pref="devtools.debugger.client-source-maps-enabled"/>
  86. <span>&options.sourceMaps.label;</span>
  87. </label>
  88. </fieldset>
  89. <fieldset id="styleeditor-options" class="options-groupbox">
  90. <legend>&options.styleeditor.label;</legend>
  91. <label title="&options.stylesheetSourceMaps.tooltip;">
  92. <input type="checkbox"
  93. data-pref="devtools.styleeditor.source-maps-enabled"/>
  94. <span>&options.stylesheetSourceMaps.label;</span>
  95. </label>
  96. <label title="&options.stylesheetAutocompletion.tooltip;">
  97. <input type="checkbox"
  98. data-pref="devtools.styleeditor.autocompletion-enabled"/>
  99. <span>&options.stylesheetAutocompletion.label;</span>
  100. </label>
  101. </fieldset>
  102. </div>
  103. <div class="options-vertical-pane">
  104. <fieldset id="sourceeditor-options" class="options-groupbox">
  105. <legend>&options.sourceeditor.label;</legend>
  106. <label title="&options.sourceeditor.detectindentation.tooltip;">
  107. <input type="checkbox"
  108. id="devtools-sourceeditor-detectindentation"
  109. data-pref="devtools.editor.detectindentation"/>
  110. <span>&options.sourceeditor.detectindentation.label;</span>
  111. </label>
  112. <label title="&options.sourceeditor.autoclosebrackets.tooltip;">
  113. <input type="checkbox"
  114. id="devtools-sourceeditor-autoclosebrackets"
  115. data-pref="devtools.editor.autoclosebrackets"/>
  116. <span>&options.sourceeditor.autoclosebrackets.label;</span>
  117. </label>
  118. <label title="&options.sourceeditor.expandtab.tooltip;">
  119. <input type="checkbox"
  120. id="devtools-sourceeditor-expandtab"
  121. data-pref="devtools.editor.expandtab"/>
  122. <span>&options.sourceeditor.expandtab.label;</span>
  123. </label>
  124. <label>
  125. <span>&options.sourceeditor.tabsize.label;</span>
  126. <select id="devtools-sourceeditor-tabsize-select"
  127. data-pref="devtools.editor.tabsize">
  128. <option label="2">2</option>
  129. <option label="4">4</option>
  130. <option label="8">8</option>
  131. </select>
  132. </label>
  133. <label>
  134. <span>&options.sourceeditor.keybinding.label;</span>
  135. <select id="devtools-sourceeditor-keybinding-select"
  136. data-pref="devtools.editor.keymap">
  137. <option value="default">&options.sourceeditor.keybinding.default.label;</option>
  138. <option value="vim">Vim</option>
  139. <option value="emacs">Emacs</option>
  140. <option value="sublime">Sublime Text</option>
  141. </select>
  142. </label>
  143. </fieldset>
  144. <fieldset id="context-options" class="options-groupbox">
  145. <legend>&options.context.advancedSettings;</legend>
  146. <label title="&options.showPlatformData.tooltip;">
  147. <input type="checkbox"
  148. id="devtools-show-gecko-data"
  149. data-pref="devtools.performance.ui.show-platform-data"/>
  150. <span>&options.showPlatformData.label;</span>
  151. </label>
  152. <label title="&options.disableHTTPCache.tooltip;">
  153. <input type="checkbox"
  154. id="devtools-disable-cache"
  155. data-pref="devtools.cache.disabled"/>
  156. <span>&options.disableHTTPCache.label;</span>
  157. </label>
  158. <label title="&options.disableJavaScript.tooltip;">
  159. <input type="checkbox"
  160. id="devtools-disable-javascript"/>
  161. <span>&options.disableJavaScript.label;</span>
  162. </label>
  163. <label title="&options.enableServiceWorkersHTTP.tooltip;">
  164. <input type="checkbox"
  165. id="devtools-enable-serviceWorkersTesting"
  166. data-pref="devtools.serviceWorkers.testing.enabled"/>
  167. <span>&options.enableServiceWorkersHTTP.label;</span>
  168. </label>
  169. <label title="&options.enableChrome.tooltip3;">
  170. <input type="checkbox"
  171. data-pref="devtools.chrome.enabled"/>
  172. <span>&options.enableChrome.label5;</span>
  173. </label>
  174. <label title="&options.enableRemote.tooltip2;">
  175. <input type="checkbox"
  176. data-pref="devtools.debugger.remote-enabled"/>
  177. <span>&options.enableRemote.label3;</span>
  178. </label>
  179. <label title="&options.enableWorkers.tooltip;">
  180. <input type="checkbox"
  181. data-pref="devtools.debugger.workers"/>
  182. <span>&options.enableWorkers.label;</span>
  183. </label>
  184. <span class="options-citation-label theme-comment"
  185. >&options.context.triggersPageRefresh;</span>
  186. </fieldset>
  187. </div>
  188. </form>
  189. </body>
  190. </html>