diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /mobile/android/chrome/geckoview/config.xhtml | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/chrome/geckoview/config.xhtml')
-rw-r--r-- | mobile/android/chrome/geckoview/config.xhtml | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/mobile/android/chrome/geckoview/config.xhtml b/mobile/android/chrome/geckoview/config.xhtml new file mode 100644 index 0000000000..ab760beea4 --- /dev/null +++ b/mobile/android/chrome/geckoview/config.xhtml @@ -0,0 +1,148 @@ +<?xml version="1.0"?> + +<!-- 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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta name="viewport" content="width=device-width; user-scalable=0" /> + <title>about:config</title> + <meta charset="UTF-8" /> + + <link rel="localization" href="mobile/android/aboutConfig.ftl" /> + <link + rel="stylesheet" + href="chrome://geckoview/skin/config.css" + type="text/css" + /> + <script + type="text/javascript" + src="chrome://geckoview/content/config.js" + ></script> + </head> + + <body + onload="NewPrefDialog.init(); AboutConfig.init();" + onunload="AboutConfig.uninit();" + > + <div class="toolbar"> + <div class="toolbar-container"> + <div + id="new-pref-toggle-button" + onclick="NewPrefDialog.toggleShowHide();" + /> + + <div class="toolbar-item" id="filter-container"> + <div id="filter-search-button" /> + <input + id="filter-input" + type="search" + data-l10n-id="config-toolbar-search" + value="" + oninput="AboutConfig.bufferFilterInput();" + /> + <div + id="filter-input-clear-button" + onclick="AboutConfig.clearFilterInput();" + /> + </div> + </div> + </div> + + <div id="content" ontouchstart="AboutConfig.filterInput.blur();"> + <div id="new-pref-container"> + <li class="pref-item" id="new-pref-item"> + <div class="pref-item-line"> + <input + class="pref-name" + id="new-pref-name" + type="text" + data-l10n-id="config-new-pref-name" + onfocus="NewPrefDialog.focusName(event);" + oninput="NewPrefDialog.updateName(event);" + /> + <select + id="new-pref-type" + onchange="NewPrefDialog.type = event.target.value;" + > + <option + value="boolean" + data-l10n-id="config-new-pref-value-boolean" + ></option> + <option + value="string" + data-l10n-id="config-new-pref-value-string" + ></option> + <option + value="int" + data-l10n-id="config-new-pref-value-integer" + ></option> + </select> + </div> + + <div class="pref-item-line" id="new-pref-line-boolean"> + <input + class="pref-value" + id="new-pref-value-boolean" + disabled="disabled" + /> + <div + class="pref-button toggle" + onclick="NewPrefDialog.toggleBoolValue();" + data-l10n-id="config-pref-toggle-button" + ></div> + </div> + + <div class="pref-item-line" id="new-pref-line-input"> + <input + class="pref-value" + id="new-pref-value-string" + data-l10n-id="config-new-pref-string" + /> + <input + class="pref-value" + id="new-pref-value-int" + data-l10n-id="config-new-pref-number" + type="number" + /> + </div> + + <div class="pref-item-line"> + <div + class="pref-button cancel" + id="negative-button" + onclick="NewPrefDialog.hide();" + data-l10n-id="config-new-pref-cancel-button" + ></div> + <div + class="pref-button create" + id="positive-button" + onclick="NewPrefDialog.create(event);" + data-l10n-id="config-new-pref-create-button" + ></div> + </div> + </li> + </div> + + <div id="prefs-shield"></div> + + <ul id="prefs-container" /> + + <div id="loading-container"></div> + </div> + + <menu type="context" id="prefs-context-menu"> + <menuitem + data-l10n-id="config-context-menu-copy-pref-name" + onclick="AboutConfig.clipboardCopy('name');" + ></menuitem> + <menuitem + data-l10n-id="config-context-menu-copy-pref-value" + onclick="AboutConfig.clipboardCopy('value');" + ></menuitem> + </menu> + </body> +</html> |