зеркало из https://github.com/mozilla/pjs.git
update account manager to size all content correctly
This commit is contained in:
Родитель
5e7b4fe1c5
Коммит
424a494f86
|
@ -156,3 +156,11 @@ function validateSmtp(win, hash) {
|
|||
return true;
|
||||
}
|
||||
|
||||
function onFinish(event) {
|
||||
var i;
|
||||
dump("There are " + wizardContents.length + " elements\n");
|
||||
for (i in wizardContents) {
|
||||
dump("wizardContents[" + i + "] = " + wizardContents[i] + "\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -31,9 +31,10 @@ Rights Reserved.
|
|||
onload="onLoad();">
|
||||
|
||||
<html:script language="JavaScript" src="AccountWizard.js"/>
|
||||
|
||||
<box align="vertical" style="width: 100%; height: 100%">
|
||||
<html:iframe flex="100%" style="width: 100%; height: 240px; border: none; margin: 5px;" src="aw-accounttype.xul" name="wizardContents" scrolling="auto"/>
|
||||
<box align="vertical" flex="100%">
|
||||
<html:iframe flex="100%" style="width: 100%; height:100%; border: none"
|
||||
src="aw-accounttype.xul"
|
||||
name="wizardContents" scrolling="auto"/>
|
||||
<html:div>
|
||||
&instructions.label;
|
||||
</html:div>
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://messenger/skin/accounttree.css" type="text/css"?>
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/accounttree.dtd" >
|
||||
<window 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">
|
||||
|
||||
<html:div flex="100%">
|
||||
<tree rdf:datasources="rdf:msgaccountmanager"
|
||||
rdf:containment="http://home.netscape.com/NC-rdf#Settings"
|
||||
onclick="parent.onAccountClick(event)" id="accounttree"
|
||||
style="height: 100%"
|
||||
ref="msgaccounts:/">
|
||||
|
||||
<template>
|
||||
<rule>
|
||||
<treechildren>
|
||||
<treeitem uri="..."
|
||||
PageTag="rdf:http://home.netscape.com/NC-rdf#PageTag">
|
||||
<treerow >
|
||||
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<treecol style="width: 100%" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||
<treehead>
|
||||
<treerow>
|
||||
<treecell value="&nameCol.label;"/>
|
||||
</treerow>
|
||||
</treehead>
|
||||
|
||||
</tree>
|
||||
</html:div>
|
||||
</window>
|
||||
|
|
@ -25,8 +25,8 @@ Rights Reserved.
|
|||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-accname.dtd" >
|
||||
<window id="accnamepage" xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
align="vertical"
|
||||
onload="parent.wizardPageLoaded('accname');">
|
||||
<box align="vertical" style="width: 100%; height: 100%">
|
||||
|
||||
<box class="title" align="horizontal">
|
||||
<html:div class="title">&accnameTitle.label;</html:div>
|
||||
|
@ -36,5 +36,4 @@ Rights Reserved.
|
|||
<html:div>&accnameDesc.label;</html:div>
|
||||
|
||||
|
||||
</box>
|
||||
</window>
|
||||
|
|
|
@ -28,7 +28,7 @@ Rights Reserved.
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.wizardPageLoaded('accounttype');">
|
||||
|
||||
<box align="vertical" style="width: 100%; height: 100%">
|
||||
<box align="vertical" style="width: 100%; height: 100%" flex="100%">
|
||||
|
||||
<box class="title" align="horizontal">
|
||||
<html:div class="title">&accountTypeTitle.label;</html:div>
|
||||
|
|
|
@ -26,8 +26,8 @@ Rights Reserved.
|
|||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-identity.dtd" >
|
||||
<window id="identitypage" xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
align="vertical"
|
||||
onload="parent.wizardPageLoaded('identity');">
|
||||
<box align="vertical" style="width: 100%; height: 100%">
|
||||
|
||||
<box class="title" align="horizontal">
|
||||
<html:div class="title">&identityTitle.label;</html:div>
|
||||
|
@ -56,5 +56,4 @@ Rights Reserved.
|
|||
<spring flex="100%"/>
|
||||
</box>
|
||||
</html:div>
|
||||
</box>
|
||||
</window>
|
||||
|
|
|
@ -26,8 +26,8 @@ Rights Reserved.
|
|||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-login.dtd" >
|
||||
<window id="loginpage" xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
align="vertical"
|
||||
onload="parent.wizardPageLoaded('login');">
|
||||
<box align="vertical" style="width: 100%; height: 100%">
|
||||
<box class="title" align="horizontal">
|
||||
<html:div class="title">&loginTitle.label;</html:div>
|
||||
<spring flex="100%"/>
|
||||
|
@ -58,5 +58,4 @@ Rights Reserved.
|
|||
</html:div>
|
||||
</html:div>
|
||||
</box>
|
||||
</box>
|
||||
</window>
|
||||
|
|
Загрузка…
Ссылка в новой задаче