gecko-dev/xpfe/components/prefwindow/resources/content/pref.xul
2000-01-07 06:52:11 +00:00

72 lines
2.6 KiB
XML

<?xml version="1.0"?>
<!-- -*- Mode: HTML -*- -->
<!-- The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s): ______________________________________. -->
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
<?xul-overlay href="chrome://pref/content/preftree.xul"?>
<?xul-overlay href="chrome://global/content/platformDialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref.dtd" >
<window id="prefWindow"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&prefWindow.title;"
align="vertical"
class="dialog"
onload="window.handle = new PrefWindow( 'panelFrame' );"
width="550" height="410">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://global/content/dialogOverlay.js" />
<html:script language="javascript" src="chrome://global/content/widgetStateManager.js" />
<html:script language="javascript" src="chrome://pref/content/pref.js" />
<keyset id="keyset"/>
<spring style="height: 7px"/>
<box align="horizontal" flex="100%" style="width: 100%">
<!-- we may like to load this into a tabpanel set as per mpt's post -->
<spring style="width: 7px;"/>
<!-- tree sidebar -->
<html:div flex="40%">
<tree id="prefsTree" class="inset"/>
</html:div>
<spring style="width: 10px;"/>
<!-- content frame -->
<html:iframe id="panelFrame" name="panelFrame" src="chrome://pref/content/pref-appearance.xul" flex="60%"/>
<spring style="width: 7px;"/>
</box>
<html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/>
<box align="horizontal">
<spring flex="100%"/>
<box id="okCancelButtons" style="margin-bottom: -2px;"/>
</box>
<spring style="height: 7px"/>
<keyset>
<key id="fooKey" key="p" xulkey="true" shift="true" onkeydown="foo()"/>
</keyset>
</window>