1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/chrome/content/config.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,86 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 1.11 + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [ 1.12 +<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd" > 1.13 +%globalDTD; 1.14 +<!ENTITY % configDTD SYSTEM "chrome://browser/locale/config.dtd"> 1.15 +%configDTD; 1.16 +]> 1.17 + 1.18 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.19 + 1.20 +<head> 1.21 + <meta name="viewport" content="width=device-width; user-scalable=0" /> 1.22 + 1.23 + <link rel="stylesheet" href="chrome://browser/skin/config.css" type="text/css"/> 1.24 + <script type="text/javascript;version=1.8" src="chrome://browser/content/config.js"></script> 1.25 +</head> 1.26 + 1.27 +<body dir="&locale.dir;" onload="NewPrefDialog.init(); AboutConfig.init();" 1.28 + onunload="AboutConfig.uninit();"> 1.29 + 1.30 + <div class="toolbar"> 1.31 + <div class="toolbar-container"> 1.32 + <div id="new-pref-toggle-button" onclick="NewPrefDialog.toggleShowHide();"/> 1.33 + 1.34 + <div class="toolbar-item" id="filter-container"> 1.35 + <div id="filter-search-button"/> 1.36 + <input id="filter-input" type="search" placeholder="&toolbar.searchPlaceholder;" value="" 1.37 + oninput="AboutConfig.bufferFilterInput();"/> 1.38 + <div id="filter-input-clear-button" onclick="AboutConfig.clearFilterInput();"/> 1.39 + </div> 1.40 + </div> 1.41 + </div> 1.42 + 1.43 + <div id="content" ontouchstart="AboutConfig.filterInput.blur();"> 1.44 + 1.45 + <div id="new-pref-container"> 1.46 + <li class="pref-item" id="new-pref-item"> 1.47 + <div class="pref-item-line"> 1.48 + <input class="pref-name" id="new-pref-name" type="text" placeholder="&newPref.namePlaceholder;" 1.49 + onfocus="NewPrefDialog.focusName(event);" 1.50 + oninput="NewPrefDialog.updateName(event);"/> 1.51 + <select class="pref-value" id="new-pref-type" onchange="NewPrefDialog.type = event.target.value;"> 1.52 + <option value="boolean">&newPref.valueBoolean;</option> 1.53 + <option value="string">&newPref.valueString;</option> 1.54 + <option value="int">&newPref.valueInteger;</option> 1.55 + </select> 1.56 + </div> 1.57 + 1.58 + <div class="pref-item-line" id="new-pref-line-boolean"> 1.59 + <input class="pref-value" id="new-pref-value-boolean" disabled="disabled"/> 1.60 + <div class="pref-button toggle" onclick="NewPrefDialog.toggleBoolValue();">&newPref.toggleButton;</div> 1.61 + </div> 1.62 + 1.63 + <div class="pref-item-line"> 1.64 + <input class="pref-value" id="new-pref-value-string" placeholder="&newPref.stringPlaceholder;"/> 1.65 + <input class="pref-value" id="new-pref-value-int" placeholder="&newPref.numberPlaceholder;" type="number"/> 1.66 + </div> 1.67 + 1.68 + <div class="pref-item-line"> 1.69 + <div class="pref-button cancel" id="negative-button" onclick="NewPrefDialog.hide();">&newPref.cancelButton;</div> 1.70 + <div class="pref-button create" id="positive-button" onclick="NewPrefDialog.create(event);"></div> 1.71 + </div> 1.72 + </li> 1.73 + </div> 1.74 + 1.75 + <div id="prefs-shield"></div> 1.76 + 1.77 + <ul id="prefs-container"/> 1.78 + 1.79 + <ul id="loading-container"><li></li></ul> 1.80 + 1.81 + </div> 1.82 + 1.83 + <menu type="context" id="prefs-context-menu"> 1.84 + <menuitem label="&contextMenu.copyPrefName;" onclick="AboutConfig.clipboardCopy('name');"></menuitem> 1.85 + <menuitem label="&contextMenu.copyPrefValue;" onclick="AboutConfig.clipboardCopy('value');"></menuitem> 1.86 + </menu> 1.87 + 1.88 +</body> 1.89 +</html>