pjs/profile/resources/content/profileSelection.xul

148 строки
5.5 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 (28/10/99)
UI Ideas: Matthew Thomas, Ben Gregory
-->
<?xml-stylesheet href="chrome://profile/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://profile/locale/profileSelection.dtd" >
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
width="475" height="335"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog profile"
title="&windowtitle.label;"
align="vertical"
onload="StartUp();">
<html:script language="javascript" src="chrome://global/content/strres.js" />
<html:script language="javascript" src="chrome://profile/content/profileSelection.js"/>
<html:script language="javascript" src="chrome://profile/content/profileManager.js"/>
<keyset id="keyset">
<key id="fooKey" key="s" xulkey="true" shift="true" onkeydown="foo()"/>
</keyset>
<toolbar class="decorated header" align="horizontal">
<titledbutton id="profileIcon" class="button28"/>
<box align="vertical">
<spring flex="100%"/>
<html:div class="headertext" id="caption">&windowtitle.label;</html:div>
<spring flex="100%"/>
</box>
<spring flex="100%"/>
</toolbar>
<box id="contentarea" align="horizontal" flex="100%">
<spring style="width: 7px;"/>
<!-- instructions -->
<deck id="prattle">
<box align="vertical" id="selection">
<html:div class="label" style="width: 200px;">&introgeneral.label;</html:div>
<!-- sspitzer roaming not supported yet 10-28-199
<html:div class="label">&introroaming.label;</html:div>
-->
</box>
<box align="vertical" id="manager">
<html:div class="label" style="width: 200px;">&pmTextA.label;</html:div>
<spring flex="30%"/>
<box align="horizontal" flex="100%">
<spring flex="100%"/>
<box align="vertical">
<titledbutton id="delbutton" class="dialog push padded" value="&deleteButton.label;" onclick="ConfirmDelete();"/>
<titledbutton id="renbutton" class="dialog push padded" value="&renameButton.label;" onclick="RenameProfile();"/>
<titledbutton id="newbutton" class="dialog push padded" value="&newButton.label;" onclick="CreateProfileWizard();"/>
</box>
<spring flex="100%"/>
</box>
<html:div class="label" style="width: 200px; display: none;">
<titledbutton class="unMigratedProfile plain"/>
&pmTextB.label;
</html:div>
</box>
</deck>
<spring style="width: 7px;"/>
<box align="vertical" flex="100%">
<spring style="height: 1px;"/>
<tree
id="profiles" class="inset" style="height: 175px; width: 220px;" flex="100%"
onclick="HandleClickEvent( event );"
onkeypress="HandleKeyEvent( event );">
<treehead>
<treerow>
<treecell value="&availprofiles.label;"/>
</treerow>
</treehead>
<treechildren id="profilekids">
<!-- sspitzer roaming not supported yet 10-28-199
<treeitem id="roamingitem">
<treerow>
<treecell id="roamingcell" value="Roaming Access Profile"/>
</treerow>
</treeitem>
-->
</treechildren>
</tree>
<!-- sspitzer workoffline not supported yet 10-28-199
<html:table>
<html:tr>
<html:td valign="middle"><html:input type="checkbox" id="offline"/></html:td>
<html:td valign="middle">
<html:label for="offline" style="padding-top: 3px;">&workoffline.label;</html:label>
</html:td>
</html:tr>
</html:table>
-->
<spring style="height: 3px"/>
<box id="managementbox" align="vertical" style="display: none;"/>
</box>
<spring style="width: 7px;"/>
</box>
<box class="selection" align="horizontal">
<spring style="width: 5px;"/>
<titledbutton class="dialog push padded" id="manage" value="&manage.label;" onclick="SwitchProfileManagerMode();"/>
<spring flex="100%"/>
<box id="okCancelButtons"/>
<!-- older, but nonetheless prettier buttons.
<titledbutton class="dialog push padded" id="exit" value="&exit.label;" onclick="onExit();"/>
<spring style="width: 5px;"/>
<titledbutton class="dialog push padded" id="start" value="&start.label;" onclick="onStart();"/>
-->
<spring style="width: 5px;"/>
</box>
<spring style="height: 4px;"/>
<toolbar class="standard title">
<html:div class="dimmed-highcontrast">&profilemanager.label;</html:div>
<spring flex="100%"/>
<html:div id="progress"/>
</toolbar>
</window>