Changeset 568

Show
Ignore:
Timestamp:
2007-08-21 23:39:19 (1 year ago)
Author:
MaierMan
Message:

#309 pt2: create some common overlays

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome.manifest

    r478 r568  
    1313 
    1414## general ## 
     15overlay chrome://dta/content/dta/manager.xul chrome://dta/content/dta/manager/tooltip.xul 
     16overlay chrome://dta/content/dta/manager/info.xul chrome://dta/content/dta/manager/tooltip.xul 
    1517# work-around bugs in loadOverlay preventing seamonkey integration otherwise 
    1618overlay chrome://dta/content/preferences/prefs.xul chrome://dta/content/preferences/interfacePane.xul 
  • trunk/chrome/content/dta/manager.xul

    r520 r568  
    1919]> 
    2020 
    21 <window xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
     21<window 
     22        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
    2223        onload="Dialog.init();"  
    2324        title="DownThemAll!"   
     
    107108                <tooltip id="tooltip" position="at_pointer" noautohide="true" onpopupshowing="return Tree.showTip(event);" onpopuphiding="Tree.stopTip();" orient="vertical"> 
    108109                        <vbox> 
    109                                 <hbox> 
    110                                         <vbox> 
    111                                                 <spacer flex="1"/> 
    112                                                 <image id="infoIcon"/> 
    113                                                 <spacer flex="1"/> 
    114                                         </vbox> 
    115                                         <separator class="thin" /> 
    116                                         <grid id="infoGrid"> 
    117                                                 <columns><column/><column flex="1"/></columns> 
    118                                                 <rows> 
    119                                                         <row> 
    120                                                                 <label value="&infoDestTitle.value;" /> 
    121                                                                 <label crop="left" id="infoDest" /> 
    122                                                         </row> 
    123                                                         <row> 
    124                                                                 <label value="&infoURLTitle.value;" /> 
    125                                                                 <label crop="left" id="infoURL" /> 
    126                                                         </row> 
    127                                                         <row> 
    128                                                                 <label value="&infoSizeTitle.value;" /> 
    129                                                                 <label crop="left" id="infoSize" /> 
    130                                                         </row> 
    131                                                 </rows> 
    132                                                 <spacer flex="1"/> 
    133                                         </grid> 
    134                                 </hbox> 
    135                                 <separator class="thin" /> 
    136                                 <grid id="canvasGrid"> 
    137                                         <columns><column/><column flex="1"/><column/><column/></columns> 
    138                                         <rows> 
    139                                                 <stack> 
    140                                                         <html:canvas id="chunkCanvas" height="40px"></html:canvas> 
    141                                                         <label id="infoPercent"/> 
    142                                                 </stack> 
    143                                                 <row> 
    144                                                         <label value="&elapsedTitle.value;"/> 
    145                                                         <label id="timeElapsed"/> 
    146                                                         <label value="&remainingTitle.value;"/> 
    147                                                         <label id="timeRemaining"/> 
    148                                                 </row> 
    149                                                 <separator class="thin" /> 
    150                                                 <html:canvas id="speedCanvas" height="33"></html:canvas> 
    151                                                 <row> 
    152                                                         <label value="&currentSpeedTitle.value;"/> 
    153                                                         <label id="speedCurrent"/> 
    154                                                         <label value="&avgSpeedTitle.value;"/> 
    155                                                         <label id="speedAverage"/> 
    156                                                 </row> 
    157                                         </rows> 
    158                                 </grid> 
     110                                <hbox id="infoBox"/> 
     111                                <grid id="canvasGrid"/> 
    159112                        </vbox> 
    160113                </tooltip> 
  • trunk/chrome/content/dta/manager/info.xul

    r566 r568  
    2424<dialog 
    2525        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
    26         xmlns:html="http://www.w3.org/1999/xhtml" 
    2726        title="&title;"  
    2827        id="dTaDownloadInfo"  
     
    5150        </keyset> 
    5251         
    53         <hbox> 
    54                 <vbox> 
    55                         <spacer flex="1"/> 
    56                         <image id="infoIcon"/> 
    57                         <spacer flex="1"/> 
    58                 </vbox> 
    59                 <separator class="thin" /> 
    60                 <grid id="infoGrid"> 
    61                         <columns><column/><column flex="1"/></columns> 
    62                         <rows> 
    63                                 <label crop="left" id="infoDest" /> 
    64                                 <row> 
    65                                         <label value="&infoURLTitle.value;" /> 
    66                                         <label crop="left" id="infoURL" /> 
    67                                 </row> 
    68                                 <row> 
    69                                         <label value="&infoSizeTitle.value;" /> 
    70                                         <label crop="left" id="infoSize" /> 
    71                                 </row> 
    72                         </rows> 
    73                         <spacer flex="1"/> 
    74                 </grid> 
    75         </hbox> 
    76         <separator class="thin" /> 
     52        <hbox id="infoBox"/> 
    7753        <grid> 
    7854                <columns> 
     
    10581                </rows> 
    10682        </grid> 
    107         <separator class="thin" /> 
    108         <grid id="canvasGrid"> 
    109                 <columns><column/><column flex="1"/><column/><column/></columns> 
    110                 <rows> 
    111                         <stack> 
    112                                 <html:canvas id="chunkCanvas" height="40px"></html:canvas> 
    113                                 <label id="infoPercent"/> 
    114                         </stack> 
    115                         <row> 
    116                                 <label value="&elapsedTitle.value;"/> 
    117                                 <label id="timeElapsed"/> 
    118                                 <label value="&remainingTitle.value;"/> 
    119                                 <label id="timeRemaining"/> 
    120                         </row> 
    121                         <separator class="thin" /> 
    122                         <html:canvas id="speedCanvas" height="33"></html:canvas> 
    123                         <row> 
    124                                 <label value="&currentSpeedTitle.value;"/> 
    125                                 <label id="speedCurrent"/> 
    126                                 <label value="&avgSpeedTitle.value;"/> 
    127                                 <label id="speedAverage"/> 
    128                         </row> 
    129                 </rows> 
    130         </grid> 
    131  
     83        <grid id="canvasGrid"/> 
    13284</dialog> 
  • trunk/chrome/locale/en-US/manager.dtd

    r520 r568  
    1515<!ENTITY speed.label "Speed"> 
    1616<!ENTITY infoURLTitle.value "From:"> 
    17 <!ENTITY infoDestTitle.value "File: "> 
    1817<!ENTITY infoSizeTitle.value "Size:"> 
    1918<!ENTITY elapsedTitle.value "Elapsed:"> 
  • trunk/chrome/skin/manager/info.css

    r566 r568  
    44        width: 600px; 
    55} 
    6  
    7 /*dialog .dialog-content-box { 
    8         padding: 1ex; 
    9 }*/ 
    106#infoIcon { 
    117        margin: 1em; 
    128} 
    13 #infoDest { 
    14         font-weight: bold !important; 
    15         font-size: 105%; 
    16 } 
  • trunk/chrome/skin/manager/style.css

    r566 r568  
    125125        background: transparent !important; 
    126126} 
     127#infoDest { 
     128        font-weight: bold !important; 
     129        font-size: 105%; 
     130} 
    127131 
    128132treechildren::-moz-tree-progressmeter(completed) {