Revised download UI.

git-svn-id: svn://10.0.0.236/trunk@130775 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com 2002-09-30 03:46:07 +00:00
parent 35f08349d6
commit 0d799e9292
3 changed files with 26 additions and 13 deletions

View File

@ -1,4 +1,6 @@
const kObserverServiceProgID = "@mozilla.org/observer-service;1";
const NC_NS = "http://home.netscape.com/NC-rdf#";
var gDownloadView;
var gDownloadManager;
var gDownloadHistoryView;

View File

@ -49,22 +49,20 @@
</rule>
</template>
</vbox>
<splitter style="min-height: 3px; height: 3px; border-right: 0px"/>
<splitter id="download-splitter" style="min-height: 3px; height: 3px;"/>
<vbox flex="1">
<sidebarheader align="center">
<label value="&finishedDownloads.label;"/>
</sidebarheader>
<toolbox id="toolbox">
<toolbar id="download-toolbar" tbalign="stretch" class="chromeclass-toolbar" persist="collapsed">
<toolbarbutton label="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
command="cmd_remove"/>
<toolbarseparator/>
<toolbarbutton id="btn_openfile" label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
command="cmd_openfile"/>
<toolbarbutton id="btn_showinshell" label="&cmd.show.label;"
accesskey="&cmd.show.accesskey;" command="cmd_showinshell"/>
</toolbar>
</toolbox>
</sidebarheader>
<toolbar id="download-toolbar" tbalign="stretch" class="chromeclass-toolbar" persist="collapsed">
<toolbarbutton label="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
command="cmd_remove"/>
<toolbarseparator/>
<toolbarbutton id="btn_openfile" label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
command="cmd_openfile"/>
<toolbarbutton id="btn_showinshell" label="&cmd.show.label;"
accesskey="&cmd.show.accesskey;" command="cmd_showinshell"/>
</toolbar>
<listbox id="downloadHistoryView" flex="1" class="plain" seltype="multiple"
datasources="rdf:null" ref="NC:DownloadsRoot" flags="dont-test-empty"

View File

@ -20,6 +20,13 @@ download {
margin-left: 17px;
}
listcell {
margin-top: 2px;
margin-bottom: 2px;
margin-left: 4px;
margin-right: 4px;
}
.link {
text-decoration: underline;
color: blue;
@ -34,4 +41,10 @@ download {
.link:focus {
border: 1px dotted black;
}
#download-splitter {
border: none;
border-bottom: 1px solid ThreeDLightShadow;
-moz-appearance: toolbox;
}