gecko-dev/profile/resources/content/profileSelection.xul

118 строки
4.1 KiB
XML

<?xml version="1.0"?>
<!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--
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.org code.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Contributors:
Code: Ben Goodger <ben@netscape.com>
UI Ideas: Matthew Thomas, Ben Gregory
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
%brandDTD;
<!ENTITY % profileDTD SYSTEM "chrome://communicator/locale/profile/profileSelection.dtd">
%profileDTD;
]>
<window
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="color-dialog non-resizable"
title="&windowtitle.label;"
orient="vertical"
style="width: 42em;"
onclose="onExit();"
onload="StartUp();">
<script language="javascript" src="chrome://global/content/strres.js"></script>
<script language="javascript" src="chrome://global/content/nsJSComponentManager.js"></script>
<script language="javascript" src="chrome://communicator/content/profile/profileSelection.js"></script>
<script language="javascript" src="chrome://communicator/content/profile/profileManager.js"></script>
<keyset id="keyset">
<key id="fooKey" key="s" event="keydown" oncommand="foo()" modifiers="accel, shift"/>
</keyset>
<box class="box-header" id="header" title="&profilemanager.label;" description="&windowtitle.label;"/>
<box class="wizard-box" flex="1">
<!-- instructions -->
<deck id="prattle">
<html id="intro" style="width: 17em;" flex="1">&introgeneral.label;</html>
<box orient="vertical" id="manager">
<html style="width: 17em;" class="label">&pmTextA.label;</html>
<separator/>
<box>
<box orient="vertical" flex="1" id="managebuttons">
<button id="newbutton" value="&newButton.label;" oncommand="CreateProfileWizard();"/>
<button id="renbutton" value="&renameButton.label;" oncommand="RenameProfile();"/>
<button id="delbutton" value="&deleteButton.label;" oncommand="ConfirmDelete();"/>
</box>
<spring flex="2"/>
</box>
</box>
</deck>
<separator class="thin" orient="vertical"/>
<box orient="vertical" flex="1">
<tree id="profiles" class="inset" flex="1" style="height: 0px;"
onclick="HandleClickEvent( event );"
onselect="DoEnabling();"
onkeypress="HandleKeyEvent( event );">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header outset" value="&availprofiles.label;"/>
</treerow>
</treehead>
<treechildren id="profilekids" flex="1"/>
</tree>
<box autostretch="never">
<checkbox id="offlineState" value="&offlineState.label;" accesskey="&offlineState.accesskey;"/>
</box>
</box>
</box>
<box class="selection">
<separator class="thin" orient="vertical"/>
<button id="manage" value="&manage.label;" onclick="SwitchProfileManagerMode();"/>
<spring flex="1"/>
<box id="okCancelButtons"/>
<separator class="thin" orient="vertical"/>
</box>
<separator class="thin" />
<box id="profileManager-status" class="box-status" value="&profilemanager.label;" progress=""/>
</window>