add class="dialog push" to the profile wizard UI r=sspitzer

This commit is contained in:
alecf%netscape.com 1999-10-29 21:10:53 +00:00
Родитель d51df94c8d
Коммит 62d076cad6
4 изменённых файлов: 117 добавлений и 117 удалений

Просмотреть файл

@ -32,10 +32,10 @@
</box>
<box align="horizontal" style="width: 450px;">
<spring flex="100%"/>
<titledbutton id="cancel" value="&cancel.label;" onclick="onCancel()" align="left" style=" margin-top: 1em;"/>
<titledbutton class="dialog push" id="cancel" value="&cancel.label;" onclick="onCancel()" align="left" style=" margin-top: 1em;"/>
<spring flex="20%"/>
<titledbutton id="back" value="&back.label;" onclick="onBack()" align="left" style="margin-top: 1em;"/>
<titledbutton id="next" value="&next.label;" onclick="onNext()" align="left" style="margin-top: 1em;"/>
<titledbutton class="dialog push" id="back" value="&back.label;" onclick="onBack()" align="left" style="margin-top: 1em;"/>
<titledbutton class="dialog push" id="next" value="&next.label;" onclick="onNext()" align="left" style="margin-top: 1em;"/>
<spring flex="5%"/>
</box>

Просмотреть файл

@ -48,11 +48,11 @@
<html:div class="dirLabel" flex="100%">
<!-- replace this button with an input field when they start responding
to css styles properly as the cropping is a problem. -->
<titledbutton id="ProfileDir" value="" crop="right"/>
<titledbutton class="dialog push" id="ProfileDir" value="" crop="right"/>
</html:div>
<spring flex="100%"/>
<box align="vertical" id="folderbuttons">
<titledbutton value="&button.choosefolder.label;" onclick="getProfileDir(null,true);"/>
<titledbutton class="dialog push" value="&button.choosefolder.label;" onclick="getProfileDir(null,true);"/>
</box>
<spring flex="5%"/>
</box>

Просмотреть файл

@ -56,9 +56,9 @@
<box align="horizontal">
<box align="vertical">
<titledbutton value="&newCmd.label;" onclick="openCreateProfile();" />
<titledbutton id="rename" disabled="true" value="&renameCmd.label;" onclick="openRename();" />
<titledbutton id="delete" disabled="true" value="&deleteCmd.label;" onclick="ConfirmDelete();" />
<titledbutton class="dialog push" value="&newCmd.label;" onclick="openCreateProfile();" />
<titledbutton class="dialog push" id="rename" disabled="true" value="&renameCmd.label;" onclick="openRename();" />
<titledbutton class="dialog push" id="delete" disabled="true" value="&deleteCmd.label;" onclick="ConfirmDelete();" />
</box>
<!--<html:br></html:br>-->
@ -76,8 +76,8 @@
<html:br></html:br>
</box>
<box align="horizontal">
<titledbutton id="start" disabled="true" value="&startCmd.label;" onclick="onStart();" />
<titledbutton value="&exitCmd.label;" onclick="onExit();" />
<titledbutton class="dialog push" id="start" disabled="true" value="&startCmd.label;" onclick="onStart();" />
<titledbutton class="dialog push" value="&exitCmd.label;" onclick="onExit();" />
</box>
</box>
</box>

Просмотреть файл

@ -1,107 +1,107 @@
<?xml version="1.0"?>
<!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
Contributors:
Code: Ben Goodger (28/10/99)
UI Ideas: Matthew Thomas, Ben Gregory
-->
<?xml-stylesheet href="chrome://profile/skin/profileSelection.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://profile/locale/profileSelection.dtd" >
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
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"/>
<box align="horizontal">
<box align="vertical" style="width: 245px;">
<html:div id="welcometo">&welcometo.label;</html:div>
<html:div id="mozilla">&mozilla.label;</html:div>
<spring style="height: 7px;"/>
<box align="vertical" id="prattle">
<html:div class="label">&introgeneral.label;</html:div>
<!-- sspitzer roaming not supported yet 10-28-199
<html:div class="label">&introroaming.label;</html:div>
-->
</box>
</box>
<box align="vertical" flex="100%">
<html:div style="width: 190px; height: 172px;">
<spring style="height: 1px;"/>
<tree
id="profiles" style="width: 190px; height: 150px;"
onclick="return showSelection(event.target.parentNode.parentNode);"
ondblclick="return onStart();"
onkeypress="if (event.which == 13) return onStart();">
<treehead>
<treerow>
<treecell>&availprofiles.label;</treecell>
</treerow>
</treehead>
<treechildren id="profilekids">
<!-- sspitzer roaming not supported yet 10-28-199
<treeitem id="roamingitem">
<treerow>
<treecell id="roamingcell">Roaming Access profile</treecell>
</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>
-->
</html:div>
</box>
<box align="vertical">
<spring style="width: 15px; height: 58px;"/>
<spring id="makeup" style="width: 15px; height: 100px;"/>
</box>
</box>
<spring style="height: 10px;"/>
<html:div class="rule"/>
<spring style="height: 5px;"/>
<box class="selection" align="horizontal">
<titledbutton class="padded" id="manage" value="&manage.label;" onclick="onManageProfiles();"/>
<spring flex="100%"/>
<titledbutton id="exit" value="&exit.label;" onclick="onExit();"/>
<spring style="width: 5px;"/>
<titledbutton class="padded" id="start" value="&start.label;" onclick="onStart();"/>
<spring style="width: 19px;"/>
</box>
<keyset>
<key id="fooKey" key="s" command="true" shift="true" onkeydown="foo()"/>
</keyset>
</window>
<?xml version="1.0"?>
<!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
Contributors:
Code: Ben Goodger (28/10/99)
UI Ideas: Matthew Thomas, Ben Gregory
-->
<?xml-stylesheet href="chrome://profile/skin/profileSelection.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://profile/locale/profileSelection.dtd" >
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
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"/>
<box align="horizontal">
<box align="vertical" style="width: 245px;">
<html:div id="welcometo">&welcometo.label;</html:div>
<html:div id="mozilla">&mozilla.label;</html:div>
<spring style="height: 7px;"/>
<box align="vertical" id="prattle">
<html:div class="label">&introgeneral.label;</html:div>
<!-- sspitzer roaming not supported yet 10-28-199
<html:div class="label">&introroaming.label;</html:div>
-->
</box>
</box>
<box align="vertical" flex="100%">
<html:div style="width: 190px; height: 172px;">
<spring style="height: 1px;"/>
<tree
id="profiles" style="width: 190px; height: 150px;"
onclick="return showSelection(event.target.parentNode.parentNode);"
ondblclick="return onStart();"
onkeypress="if (event.which == 13) return onStart();">
<treehead>
<treerow>
<treecell>&availprofiles.label;</treecell>
</treerow>
</treehead>
<treechildren id="profilekids">
<!-- sspitzer roaming not supported yet 10-28-199
<treeitem id="roamingitem">
<treerow>
<treecell id="roamingcell">Roaming Access profile</treecell>
</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>
-->
</html:div>
</box>
<box align="vertical">
<spring style="width: 15px; height: 58px;"/>
<spring id="makeup" style="width: 15px; height: 100px;"/>
</box>
</box>
<spring style="height: 10px;"/>
<html:div class="rule"/>
<spring style="height: 5px;"/>
<box class="selection" align="horizontal">
<titledbutton class="dialog push padded" id="manage" value="&manage.label;" onclick="onManageProfiles();"/>
<spring flex="100%"/>
<titledbutton class="dialog push" 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: 19px;"/>
</box>
<keyset>
<key id="fooKey" key="s" command="true" shift="true" onkeydown="foo()"/>
</keyset>
</window>