Changeset 371

Show
Ignore:
Timestamp:
04/26/08 22:48:13 (3 weeks ago)
Author:
t-bone
Message:

Non-functional (yet) UI refresh.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extension/resurrect/content/netError.xhtml

    r369 r371  
    6363   - ***** END LICENSE BLOCK ***** --> 
    6464 
    65 <html xmlns="http://www.w3.org/1999/xhtml"> 
     65<html xmlns="http://www.w3.org/1999/xhtml" 
     66  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
     67
    6668  <head> 
    6769    <title>&loadError.label;</title> 
    6870    <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" /> 
     71    <link rel="stylesheet" href="chrome://resurrect/skin/netError.css" type="text/css" media="all" /> 
    6972    <link rel="icon" type="image/png" id="favicon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAANbY1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAICSURBVHjaYvz//z8DJQAggJhwiDPvnmlzc2aR0O+JGezt+AwACCCsBhxfYhn59N41FWtXIxZOLu70niRGXVwGAAQQNgNYHj96O8HaWYdJW5ubwd4/mI2Ng7sblwEAAYRhwMm1URk/vn4SUNWVYGD8+YZBXZOZm5OLzRjoCmNsBgAEEKoBN82Y7l851GLrqMjM8Oc7A8O/3wwMP54wuAQFCXNycUzGZgBAAKEYcOaKZO2/f//5FbUVgBrfMoRVcgHpNwyKGjKMXDwCan0prFboBgAEELIBzDcvXyy2cVZhYPj9GWj7H4jo/38MDJ9OMDj7O/KzsjH3oxsAEEBwA/bNNipiZf7FI6cqwcDw8x2qqp8fGORUpVn4BEXlgGHhhCwFEEAwA9gfP3hdZ+Oizcjw+wvCdjgAuuLrFQbXIH9hTm7uqcgyAAEENuD4ctcebm5mbikFYRTbV7V/Q6j88Z5BSuY7q4CQgAjQFR4wYYAAAhtw89L5ZFsnRaDtn4CW/YXrAQcisit+PGVwDgrnZ2NnnwATBQggpsNLvGYLCAmxi8tLARWg+h3FBVBXSEj/ZZWQkRcCuiIQJAQQQCyvnj5KMDTkZ2JgYmRg4FchnHv+vmEwttLmeXT3VjKQtx4ggFgk5TXebV63UfT3ijOMxOZAVlZWdiB1EMQGCCBGSrMzQIABAFR3kRM3KggZAAAAAElFTkSuQmCC"/> 
    7073 
     
    285288 
    286289      <!-- Retry Button --> 
    287       <xul:button xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    288                   id="errorTryAgain" label="&retry.label;" oncommand="retryThis(this);" /> 
    289  
    290       <div id='resurrect'> 
    291         <!-- fake elements that have IDs matching target selector --> 
    292         <div id='targetTab' style='display: none;'></div> 
    293         <div id='targetWin' style='display: none;'></div> 
    294  
    295         <p>&resurrect.thispage;</p> 
    296         <select id='mirror' size='6'> 
    297           <option value='coralcdn'>&resurrect.coralcdn;</option> 
    298           <option value='google'>&resurrect.google;</option> 
    299           <option value='googletext'>&resurrect.google;&resurrect.textonly;</option> 
    300           <option value='yahoo'>&resurrect.yahoo;</option> 
    301           <option value='archive'>&resurrect.archive;</option> 
    302           <option value='msn'>&resurrect.msn;</option> 
    303         </select> 
    304         <br /> 
    305  
    306         <xul:button xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    307           id="mirrorSelect" label="&okButton.label;" 
    308         /> 
    309       </div> 
    310  
    311     </div> 
     290      <xul:button id="errorTryAgain" label="&retry.label;" oncommand="retryThis(this);" /> 
     291 
     292      <fieldset id='resurrect'> 
     293        <legend> 
     294          <img src='chrome://resurrect/skin/tb-icon-small.png' /> 
     295          &resurrect.thispage; 
     296        </legend> 
     297        <xul:button 
     298          value='coralcdn' label=' &resurrect.coralcdn;' 
     299          image='chrome://resurrect/skin/cacheicons/coralcdn.png' 
     300        /> 
     301        <xul:button 
     302          value='google' label=' &resurrect.google;' 
     303          image='chrome://resurrect/skin/cacheicons/google.png' 
     304        /> 
     305        <xul:button 
     306          value='googletext' label=' &resurrect.google;&resurrect.textonly;' 
     307          image='chrome://resurrect/skin/cacheicons/google.png' 
     308        /> 
     309        <xul:button 
     310          value='yahoo' label=' &resurrect.yahoo;' 
     311          image='chrome://resurrect/skin/cacheicons/yahoo.png' 
     312        /> 
     313        <xul:button 
     314          value='archive' label=' &resurrect.archive;' 
     315          image='chrome://resurrect/skin/cacheicons/archive.png' 
     316        /> 
     317        <xul:button 
     318          value='msn' label=' &resurrect.msn;' 
     319          image='chrome://resurrect/skin/cacheicons/msn.png' 
     320        /> 
     321      </fieldset> 
     322 
     323    </div> 
    312324 
    313325    <!-- 
  • extension/resurrect/content/resurrect-select-mirror.xul

    r309 r371  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<!DOCTYPE overlay SYSTEM "chrome://resurrect/locale/overlay.dtd"> 
     3 
    34<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
     5<?xml-stylesheet href="chrome://resurrect/skin/select-mirror.css" type="text/css"?> 
    46 
    57<dialog id="resurrect-select-mirror" 
    68    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    79    title="&resurrect.title;" 
    8     buttons="accept, cancel" 
     10    buttons="cancel" 
    911    onload="document.getElementById('mirror').focus();" 
    10     ondialogaccept="return resurrect.clickedXul(event);" 
    1112    persist="width height screenX screenY" 
    1213> 
    1314 
    14    <script type='application/x-javascript' src='chrome://resurrect/content/resurrect.js'></script> 
     15<script type='application/x-javascript' src='chrome://resurrect/content/resurrect.js'></script> 
    1516 
    16    <vbox> 
    17        <label value='&resurrect.this;' /> 
    18        <radiogroup> 
    19            <radio id='targetCurr' label='&resurrect.inCurrTab;' selected='true' /> 
    20            <radio id='targetTab' label='&resurrect.inNewTab;' /> 
    21            <radio id='targetWin' label='&resurrect.inNewWin;' /> 
    22        </radiogroup> 
     17<vbox> 
     18    <label value='&resurrect.this;' /> 
     19    <radiogroup> 
     20        <radio id='targetCurr' label='&resurrect.inCurrTab;' selected='true' /> 
     21        <radio id='targetTab' label='&resurrect.inNewTab;' /> 
     22        <radio id='targetWin' label='&resurrect.inNewWin;' /> 
     23    </radiogroup> 
    2324 
    24         <label value='&resurrect.fromMirror;' /> 
    25         <listbox id='mirror' rows='6' 
    26             onclick='resurrect.clickedXul(event);' 
    27         > 
    28             <listitem value='coralcdn' label='&resurrect.coralcdn;' /> 
    29             <listitem value='google' label='&resurrect.google;' /> 
    30             <listitem value='googletext' label='&resurrect.google;&resurrect.textonly;' /> 
    31             <listitem value='yahoo' label='&resurrect.yahoo;' /> 
    32             <listitem value='archive' label='&resurrect.archive;' /> 
    33             <listitem value='msn' label='&resurrect.msn;' /> 
    34         </listbox> 
    35     </vbox> 
     25    <label value='&resurrect.fromMirror;' /> 
     26    <button 
     27        value='coralcdn' label=' &resurrect.coralcdn;' 
     28        image='chrome://resurrect/skin/cacheicons/coralcdn.png' 
     29    /> 
     30    <button 
     31        value='google' label=' &resurrect.google;' 
     32        image='chrome://resurrect/skin/cacheicons/google.png' 
     33    /> 
     34    <button 
     35        value='googletext' label=' &resurrect.google;&resurrect.textonly;' 
     36        image='chrome://resurrect/skin/cacheicons/google.png' 
     37    /> 
     38    <button 
     39        value='yahoo' label=' &resurrect.yahoo;' 
     40        image='chrome://resurrect/skin/cacheicons/yahoo.png' 
     41    /> 
     42    <button 
     43        value='archive' label=' &resurrect.archive;' 
     44        image='chrome://resurrect/skin/cacheicons/archive.png' 
     45    /> 
     46    <button 
     47        value='msn' label=' &resurrect.msn;' 
     48        image='chrome://resurrect/skin/cacheicons/msn.png' 
     49    /> 
     50 
     51</vbox> 
     52 
    3653</dialog> 
  • extension/resurrect/skin/netError.css

    r108 r371  
    1 div#resurrect { 
    2     margin: 2em 0.5em 0em 0.5em; 
    3     font-size: 110%; 
    4  
    5     background: url(chrome://resurrect/skin/em-icon.png) 0px 5px no-repeat; 
    6     padding-left: 32px; 
     1div#errorPageContainer { 
     2    padding-right: 17em; 
     3    max-width: 47em; 
    74} 
    85 
    9 div#resurrect button { 
    10     margin: 5px 0px; 
     6fieldset#resurrect { 
     7    position: absolute; 
     8    top: 0; 
     9    right: 0; 
     10 
     11    background-color: white; 
     12 
     13    width: 16em; 
     14    padding: 1em; 
     15    margin: 1em; 
     16    margin-right: 1.5em; 
     17 
     18    -moz-border-radius: 10px; 
    1119} 
    1220 
    13 div#resurrect p { 
    14     margin: 5px 0px; 
     21fieldset#resurrect legend img { 
     22    vertical-align: middle; 
     23    padding-right: 0.25em; 
    1524} 
     25 
     26fieldset#resurrect button { 
     27    width: 16em; 
     28}