Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
michael@0 | 8 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [ |
michael@0 | 9 | <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> |
michael@0 | 10 | %globalDTD; |
michael@0 | 11 | <!ENTITY % configDTD SYSTEM "chrome://browser/locale/config.dtd"> |
michael@0 | 12 | %configDTD; |
michael@0 | 13 | ]> |
michael@0 | 14 | |
michael@0 | 15 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 16 | |
michael@0 | 17 | <head> |
michael@0 | 18 | <meta name="viewport" content="width=device-width; user-scalable=false" /> |
michael@0 | 19 | |
michael@0 | 20 | <link rel="stylesheet" href="chrome://browser/skin/config.css" type="text/css"/> |
michael@0 | 21 | <script type="text/javascript;version=1.8" src="chrome://browser/content/pages/config.js"/> |
michael@0 | 22 | </head> |
michael@0 | 23 | |
michael@0 | 24 | <body dir="&locale.dir;" onload="NewPrefDialog.init(); AboutConfig.init();" |
michael@0 | 25 | onunload="AboutConfig.uninit();"> |
michael@0 | 26 | |
michael@0 | 27 | <div class="toolbar"> |
michael@0 | 28 | <div class="toolbar-container"> |
michael@0 | 29 | <div id="new-pref-toggle-button" onclick="NewPrefDialog.toggleShowHide();"/> |
michael@0 | 30 | |
michael@0 | 31 | <div class="toolbar-item" id="filter-container"> |
michael@0 | 32 | <div id="filter-search-button"/> |
michael@0 | 33 | <input id="filter-input" type="search" placeholder="&empty.label;" value="" |
michael@0 | 34 | oninput="AboutConfig.bufferFilterInput();"/> |
michael@0 | 35 | <div id="filter-input-clear-button" onclick="AboutConfig.clearFilterInput();"/> |
michael@0 | 36 | </div> |
michael@0 | 37 | </div> |
michael@0 | 38 | </div> |
michael@0 | 39 | |
michael@0 | 40 | <div id="content" ontouchstart="AboutConfig.filterInput.blur();"> |
michael@0 | 41 | |
michael@0 | 42 | <div id="new-pref-container"> |
michael@0 | 43 | <li class="pref-item" id="new-pref-item"> |
michael@0 | 44 | <div class="pref-item-line"> |
michael@0 | 45 | <input class="pref-name" id="new-pref-name" type="text" placeholder="&addpref.name;" |
michael@0 | 46 | onfocus="NewPrefDialog.focusName(event);" |
michael@0 | 47 | oninput="NewPrefDialog.updateName(event);"/> |
michael@0 | 48 | <select class="pref-value" id="new-pref-type" onchange="NewPrefDialog.type = event.target.value;"> |
michael@0 | 49 | <option value="boolean">&boolean.label;</option> |
michael@0 | 50 | <option value="string">&string.label;</option> |
michael@0 | 51 | <option value="int">&integer.label;</option> |
michael@0 | 52 | </select> |
michael@0 | 53 | </div> |
michael@0 | 54 | |
michael@0 | 55 | <div class="pref-item-line" id="new-pref-line-boolean"> |
michael@0 | 56 | <input class="pref-value" id="new-pref-value-boolean" disabled="disabled"/> |
michael@0 | 57 | <div class="pref-button toggle" onclick="NewPrefDialog.toggleBoolValue();">&toggle.label;</div> |
michael@0 | 58 | </div> |
michael@0 | 59 | |
michael@0 | 60 | <div class="pref-item-line"> |
michael@0 | 61 | <input class="pref-value" id="new-pref-value-string" placeholder="&string.placeholder;"/> |
michael@0 | 62 | <input class="pref-value" id="new-pref-value-int" placeholder="&number.placeholder;" type="number"/> |
michael@0 | 63 | </div> |
michael@0 | 64 | |
michael@0 | 65 | <div class="pref-item-line"> |
michael@0 | 66 | <div class="pref-button cancel" id="negative-button" onclick="NewPrefDialog.hide();">&cancel.label;</div> |
michael@0 | 67 | <div class="pref-button create" id="positive-button" onclick="NewPrefDialog.create(event);"></div> |
michael@0 | 68 | </div> |
michael@0 | 69 | </li> |
michael@0 | 70 | </div> |
michael@0 | 71 | |
michael@0 | 72 | <div id="prefs-shield"></div> |
michael@0 | 73 | |
michael@0 | 74 | <ul id="prefs-container"/> |
michael@0 | 75 | |
michael@0 | 76 | <ul id="loading-container"><li></li></ul> |
michael@0 | 77 | |
michael@0 | 78 | </div> |
michael@0 | 79 | |
michael@0 | 80 | </body> |
michael@0 | 81 | </html> |