Non-functional (yet) UI refresh.

Cette révision appartient à :
Anthony Lieuallen 2008-04-27 02:48:13 +00:00
Parent b8d9b2a417
révision 86dd923b97
9 fichiers modifiés avec 100 ajouts et 55 suppressions

Voir le fichier

@ -62,10 +62,13 @@
- -
- ***** END LICENSE BLOCK ***** --> - ***** END LICENSE BLOCK ***** -->
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<head> <head>
<title>&loadError.label;</title> <title>&loadError.label;</title>
<link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" /> <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all" />
<link rel="stylesheet" href="chrome://resurrect/skin/netError.css" type="text/css" media="all" />
<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/Q6j88Z5BSuY7q4CQgAjQFR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FR3kRM3KggZAAAAAElFTkSuQmCC"/>
<script type="application/x-javascript"><![CDATA[ <script type="application/x-javascript"><![CDATA[
@ -284,31 +287,40 @@
</div> </div>
<!-- Retry Button --> <!-- Retry Button -->
<xul:button xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" <xul:button id="errorTryAgain" label="&retry.label;" oncommand="retryThis(this);" />
id="errorTryAgain" label="&retry.label;" oncommand="retryThis(this);" />
<div id='resurrect'> <fieldset id='resurrect'>
<!-- fake elements that have IDs matching target selector --> <legend>
<div id='targetTab' style='display: none;'></div> <img src='chrome://resurrect/skin/tb-icon-small.png' />
<div id='targetWin' style='display: none;'></div> &resurrect.thispage;
</legend>
<p>&resurrect.thispage;</p> <xul:button
<select id='mirror' size='6'> value='coralcdn' label=' &resurrect.coralcdn;'
<option value='coralcdn'>&resurrect.coralcdn;</option> image='chrome://resurrect/skin/cacheicons/coralcdn.png'
<option value='google'>&resurrect.google;</option>
<option value='googletext'>&resurrect.google;&resurrect.textonly;</option>
<option value='yahoo'>&resurrect.yahoo;</option>
<option value='archive'>&resurrect.archive;</option>
<option value='msn'>&resurrect.msn;</option>
</select>
<br />
<xul:button xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="mirrorSelect" label="&okButton.label;"
/> />
</div> <xul:button
value='google' label=' &resurrect.google;'
image='chrome://resurrect/skin/cacheicons/google.png'
/>
<xul:button
value='googletext' label=' &resurrect.google;&resurrect.textonly;'
image='chrome://resurrect/skin/cacheicons/google.png'
/>
<xul:button
value='yahoo' label=' &resurrect.yahoo;'
image='chrome://resurrect/skin/cacheicons/yahoo.png'
/>
<xul:button
value='archive' label=' &resurrect.archive;'
image='chrome://resurrect/skin/cacheicons/archive.png'
/>
<xul:button
value='msn' label=' &resurrect.msn;'
image='chrome://resurrect/skin/cacheicons/msn.png'
/>
</fieldset>
</div> </div>
<!-- <!--
- Note: It is important to run the script this way, instead of using - Note: It is important to run the script this way, instead of using

Voir le fichier

@ -1,36 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay SYSTEM "chrome://resurrect/locale/overlay.dtd"> <!DOCTYPE overlay SYSTEM "chrome://resurrect/locale/overlay.dtd">
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://resurrect/skin/select-mirror.css" type="text/css"?>
<dialog id="resurrect-select-mirror" <dialog id="resurrect-select-mirror"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&resurrect.title;" title="&resurrect.title;"
buttons="accept, cancel" buttons="cancel"
onload="document.getElementById('mirror').focus();" onload="document.getElementById('mirror').focus();"
ondialogaccept="return resurrect.clickedXul(event);"
persist="width height screenX screenY" persist="width height screenX screenY"
> >
<script type='application/x-javascript' src='chrome://resurrect/content/resurrect.js'></script> <script type='application/x-javascript' src='chrome://resurrect/content/resurrect.js'></script>
<vbox> <vbox>
<label value='&resurrect.this;' /> <label value='&resurrect.this;' />
<radiogroup> <radiogroup>
<radio id='targetCurr' label='&resurrect.inCurrTab;' selected='true' /> <radio id='targetCurr' label='&resurrect.inCurrTab;' selected='true' />
<radio id='targetTab' label='&resurrect.inNewTab;' /> <radio id='targetTab' label='&resurrect.inNewTab;' />
<radio id='targetWin' label='&resurrect.inNewWin;' /> <radio id='targetWin' label='&resurrect.inNewWin;' />
</radiogroup> </radiogroup>
<label value='&resurrect.fromMirror;' />
<button
value='coralcdn' label=' &resurrect.coralcdn;'
image='chrome://resurrect/skin/cacheicons/coralcdn.png'
/>
<button
value='google' label=' &resurrect.google;'
image='chrome://resurrect/skin/cacheicons/google.png'
/>
<button
value='googletext' label=' &resurrect.google;&resurrect.textonly;'
image='chrome://resurrect/skin/cacheicons/google.png'
/>
<button
value='yahoo' label=' &resurrect.yahoo;'
image='chrome://resurrect/skin/cacheicons/yahoo.png'
/>
<button
value='archive' label=' &resurrect.archive;'
image='chrome://resurrect/skin/cacheicons/archive.png'
/>
<button
value='msn' label=' &resurrect.msn;'
image='chrome://resurrect/skin/cacheicons/msn.png'
/>
</vbox>
<label value='&resurrect.fromMirror;' />
<listbox id='mirror' rows='6'
onclick='resurrect.clickedXul(event);'
>
<listitem value='coralcdn' label='&resurrect.coralcdn;' />
<listitem value='google' label='&resurrect.google;' />
<listitem value='googletext' label='&resurrect.google;&resurrect.textonly;' />
<listitem value='yahoo' label='&resurrect.yahoo;' />
<listitem value='archive' label='&resurrect.archive;' />
<listitem value='msn' label='&resurrect.msn;' />
</listbox>
</vbox>
</dialog> </dialog>

BIN
skin/cacheicons/archive.png Fichier normal

Fichier binaire non affiché.

Après

Largeur:  |  Hauteur:  |  Taille: 177 B

BIN
skin/cacheicons/coralcdn.png Fichier normal

Fichier binaire non affiché.

Après

Largeur:  |  Hauteur:  |  Taille: 461 B

BIN
skin/cacheicons/google.png Fichier normal

Fichier binaire non affiché.

Après

Largeur:  |  Hauteur:  |  Taille: 781 B

BIN
skin/cacheicons/msn.png Fichier normal

Fichier binaire non affiché.

Après

Largeur:  |  Hauteur:  |  Taille: 835 B

BIN
skin/cacheicons/yahoo.png Fichier normal

Fichier binaire non affiché.

Après

Largeur:  |  Hauteur:  |  Taille: 236 B

Voir le fichier

@ -1,15 +1,28 @@
div#resurrect { div#errorPageContainer {
margin: 2em 0.5em 0em 0.5em; padding-right: 17em;
font-size: 110%; max-width: 47em;
background: url(chrome://resurrect/skin/em-icon.png) 0px 5px no-repeat;
padding-left: 32px;
} }
div#resurrect button { fieldset#resurrect {
margin: 5px 0px; position: absolute;
top: 0;
right: 0;
background-color: white;
width: 16em;
padding: 1em;
margin: 1em;
margin-right: 1.5em;
-moz-border-radius: 10px;
} }
div#resurrect p { fieldset#resurrect legend img {
margin: 5px 0px; vertical-align: middle;
padding-right: 0.25em;
}
fieldset#resurrect button {
width: 16em;
} }

3
skin/select-mirror.css Fichier exécutable
Voir le fichier

@ -0,0 +1,3 @@
button {
width: 16em;
}