changes from german@netscape.com to make the profile xul look better and look

more like the rest of the chrome.  r=sspitzer@netscape.com
This commit is contained in:
sspitzer%netscape.com 1999-11-16 00:38:16 +00:00
Родитель 7582e2e065
Коммит e8a7ad9892
3 изменённых файлов: 82 добавлений и 140 удалений

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

@ -1,51 +1,52 @@
<?xml version="1.0"?>
<!DOCTYPE window SYSTEM "chrome://profile/locale/profileMigrationProgress.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&window.title;"
onload="onLoad()">
<html:script language="javascript" src="chrome://profile/content/profileMigrationProgress.js"/>
<box align="vertical" style="height: 30%; width: 50%">
<box align="horizontal">
<box align="horizontal" flex="100%" >
<html:div> <html:h3> &dialogTitle.label; </html:h3> </html:div>
</box>
<spring flex="100%"/>
<html:img src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<box align="vertical">
<html:div style="height:10px; width:100%"><html:hr/></html:div>
</box>
<box align="horizontal">
<spring style="width:10px"/>
<html:div> <html:h5> &currentlyProcessing.text; </html:h5> </html:div>
</box>
<spring style="height:10px"/>
<box align="horizontal">
<spring style="width:10px"/>
<html:div> &downloadBeforeUpdate.text; </html:div>
</box>
<spring style="height:20px"></spring>
<box align="horizontal">
<spring style="width:10px"/>
<box align="vertical">
<spring style="height:6px"/>
<progressmeter id="dialog.progress" mode="undetermined" style="width:200px;height:10px"/>
</box>
</box>
</box>
</window>
<?xml version="1.0"?>
<!DOCTYPE window SYSTEM "chrome://profile/locale/profileMigrationProgress.dtd" >
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical"
onload="onLoad()"
class="dialog">
<html:script language="javascript" src="chrome://profile/content/profileMigrationProgress.js"/>
<box align="horizontal" flex="100%" style="width: 36em;">
<html:div style="width: 40px; margin: 5px;">
<html:img id="info.icon" src="chrome://global/skin/message-icon.gif" width="32" height="32" border="0"/>
</html:div>
<keyset id="keyset"/>
<box align="vertical" flex="100%">
<html:div id="info.header">
&dialogTitle.label;
</html:div>
<spring style="height: 1em;"/>
<html:div id="info.txt" flex="100%">
&currentlyProcessing.text;
</html:div>
<html:div id="info.txt" flex="100%">
&downloadBeforeUpdate.text;
</html:div>
<spring style="height: 1em;"/>
<box id="pm-box" align="horizontal">
<progressmeter id="dialog.progress" mode="undetermined" flex="100%"/>
<spring style="width: 2em;"/>
</box>
<html:div id="info.txt" flex="100%">
Profile Migration xx% complete
</html:div>
<spring style="height: 1em;"/>
</box>
</box>
</window>

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

@ -30,63 +30,47 @@
class="dialog"
title="&windowtitle.label;"
onload="loadElements();"
width="500" height="500">
align="vertical">
<!--don't add overall window margins here, this will be added later via class=dialog mechanism
once window padding works!-->
<html:script language="javascript" src="profileManager.js"/>
<html:div flex="100%" style="width: 100%; height: 100%;">
<html:div style="width: 300px; margin: 5px;">&intro;</html:div>
<html:div>&intro.new;</html:div>
<html:div>&intro.delete;</html:div>
<html:div>&intro.rename;</html:div>
<html:br></html:br>
<html:br></html:br>
<box align="horizontal" style="width: 75%; height: 70%;">
<tree id="tree" flex="100%" style="background-color: white; width: 75%; height: 70%; margin: 2px;"
onclick="return showSelection(event.target.parentNode);">
<treecol style="width: 25%"/>
<treecol style="width: 50%"/>
<html:div id="dialoginfo">&intro;</html:div>
<spring style="height: 1em;"/>
<html:div>&intro.new;</html:div>
<html:div>&intro.delete;</html:div>
<html:div>&intro.rename;</html:div>
<spring style="height: 1em;"/>
<box id="table-box" align="horizontal">
<html:div id="table-housing" flex="100%">
<tree id="tree" onclick="return showSelection(event.target.parentNode);">
<treecol style="width: 25%"/>
<treecol style="width: 50%"/>
<treehead>
<treerow>
<treecell style="background-color: #CCCCCC; border-right: 1px solid white;padding: 2px;">&migration.label;</treecell>
<treecell style="background-color: #CCCCCC; border-right: 1px solid white;padding: 2px;">&user.label;</treecell>
</treerow>
</treehead>
<treehead>
<treerow>
<treecell>&migration.label;</treecell>
<treecell>&user.label;</treecell>
</treerow>
</treehead>
<treechildren id="theTreeBody" style="background-color: white; border: 1px inset white;">
</treechildren>
<treechildren id="theTreeBody">
</treechildren>
</tree>
<box align="horizontal">
<box align="vertical">
<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>-->
</html:div>
<box align="vertical" flex="100%">
<!-- A workaorund to add some vertical space before the Start/Exit buttons are displayed-->
<box align="vertical" flex="100%">
<html:p></html:p>
<html:p></html:p>
<html:p></html:p>
<html:p></html:p>
<html:p></html:p>
<html:p></html:p>
<html:p></html:p>
<html:p></html:p>
<html:br></html:br>
</box>
<box align="horizontal">
<box align="vertical" id="buttons-box">
<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();" />
<spring style="height: 1em;"/>
<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>
</box>
</html:div>
</window>

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

@ -1,43 +0,0 @@
window {
background-color: white;
}
tree {
background-color: #FFFFFF;
border: 5px ridge;
border-spacing: 0px;
width: 75%;
}
treecol[id="migration"] {
width: 25%;
}
treecol[id="username"] {
width: 75%;
}
treecell {
font-family: Verdana, Sans-Serif;
font-size: 8pt;
white-space: nowrap;
}
treeitem[selected] {
background-color: yellow;
}
//treecell[selectedcell] {
//background-color: yellow;
//}
treehead treeitem treecell {
background-color: #00C0FF;
border: outset 1px;
border-color: white #707070 #707070 white;
vertical-align: middle;
}
//popup {
//display: none;
//}