gecko-dev/toolkit/components/viewconfig/content/config.xhtml
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D67687

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00

105 lines
4.5 KiB
HTML

<?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/. -->
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/in-content/info-pages.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/config.css" type="text/css"?>
<window id="config"
csp="default-src chrome:; object-src 'none'"
data-l10n-id="config-window"
aria-describedby="warningTitle warningText"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
windowtype="Preferences:ConfigManager"
role="application"
width="750"
height="500">
<linkset>
<html:link rel="localization" href="toolkit/about/aboutConfig.ftl"/>
</linkset>
<script src="chrome://global/content/config.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
<script src="chrome://global/content/globalOverlay.js"/>
<menupopup id="configContext">
<menuitem id="toggleSelected" data-l10n-id="config-toggle" default="true"/>
<menuitem id="modifySelected" data-l10n-id="config-modify" default="true"/>
<menuseparator/>
<menuitem id="copyPref" data-l10n-id="config-copy-pref"/>
<menuitem id="copyName" data-l10n-id="config-copy-name"/>
<menuitem id="copyValue" data-l10n-id="config-copy-value"/>
<menu data-l10n-id="config-new">
<menupopup>
<menuitem id="configString" data-l10n-id="config-string"/>
<menuitem id="configInt" data-l10n-id="config-integer"/>
<menuitem id="configBool" data-l10n-id="config-boolean"/>
</menupopup>
</menu>
<menuitem id="resetSelected" data-l10n-id="config-reset"/>
</menupopup>
<keyset id="configTreeKeyset" disabled="true">
<key id="keyVKReturn" keycode="VK_RETURN"/>
<key id="configFocuSearch" modifiers="accel" data-l10n-id="config-focus-search"/>
<key id="configFocuSearch2" modifiers="accel" data-l10n-id="config-focus-search-2"/>
</keyset>
<deck id="configDeck" flex="1">
<vbox id="warningScreen" flex="1" align="center" style="overflow: auto;">
<spacer flex="1"/>
<vbox id="warningBox" class="container">
<hbox class="title" flex="1">
<label id="warningTitle" data-l10n-id="config-about-warning-title" class="title-text" flex="1"></label>
</hbox>
<vbox class="description" flex="1">
<label id="warningText" data-l10n-id="config-about-warning-text"></label>
<checkbox id="showWarningNextTime" data-l10n-id="config-about-warning-checkbox" checked="true"/>
<hbox class="button-container">
<button id="warningButton" data-l10n-id="config-about-warning-button" class="primary"/>
</hbox>
</vbox>
</vbox>
<spacer flex="2"/>
</vbox>
<vbox flex="1">
<hbox id="filterRow" align="center">
<label data-l10n-id="config-search-prefs" control="textbox"/>
<search-textbox id="textbox" flex="1"
aria-controls="configTree"/>
</hbox>
<tree id="configTree" flex="1" seltype="single"
enableColumnDrag="true" context="configContext">
<treecols>
<!--
The below code may suggest that 'ordinal' is still a supported XUL
attribute. It is not. This is a crutch so that we can continue
persisting the CSS -moz-box-ordinal-group attribute, which is the
appropriate replacement for the ordinal attribute but cannot yet
be easily persisted. The code that synchronizes the attribute with
the CSS lives in toolkit/content/widget/tree.js and is specific to
tree elements.
-->
<treecol id="prefCol" data-l10n-id="config-pref-column" flex="7"
ignoreincolumnpicker="true"
persist="hidden width ordinal sortDirection"/>
<splitter class="tree-splitter" />
<treecol id="lockCol" data-l10n-id="config-lock-column" flex="1"
persist="hidden width ordinal sortDirection"/>
<splitter class="tree-splitter" />
<treecol id="typeCol" data-l10n-id="config-type-column" flex="1"
persist="hidden width ordinal sortDirection"/>
<splitter class="tree-splitter" />
<treecol id="valueCol" data-l10n-id="config-value-column" flex="10"
persist="hidden width ordinal sortDirection"/>
</treecols>
<treechildren id="configTreeBody"/>
</tree>
</vbox>
</deck>
</window>