Skip to content

Commit

Permalink
Bug 823509 - replace all map assets for time zones
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave committed Dec 27, 2012
1 parent 99e3e0f commit 1f65ba7
Show file tree
Hide file tree
Showing 72 changed files with 56 additions and 51 deletions.
3 changes: 2 additions & 1 deletion apps/communications/ftu/css/fb_extensions.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
border: 0;
margin: 0;
padding: 0;
-moz-transition: transform .6s ease;
transition: transform .6s ease;
background: #f4f4f4;
}

Expand Down Expand Up @@ -39,3 +39,4 @@ p.facebook.removed input {
border-bottom: 1px solid #3b5998;
border-left: 1px solid #3b5998;
}

Binary file not shown.
Binary file removed apps/communications/ftu/css/images/map.png
Binary file not shown.
Binary file not shown.
Binary file removed apps/communications/ftu/css/images/timezone/+0.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/communications/ftu/css/images/timezone/+1.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+10.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+11.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+12.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+2.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+3.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+4.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+5.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+6.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+7.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+8.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/+9.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-1.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-2.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-3.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-4.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-5.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-6.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-7.png
Diff not rendered.
Binary file removed apps/communications/ftu/css/images/timezone/-8.png
Diff not rendered.
92 changes: 47 additions & 45 deletions apps/communications/ftu/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ html, body {
right: 0;
bottom: 0;
overflow-x: auto;
background: url(images/bgtop.png) top left no-repeat,
url(images/bgbottom.png) bottom left no-repeat,
background: url(images/bg_top.png) top left no-repeat,
url(images/bg_bottom.png) bottom left no-repeat,
url(images/bg_1px.png) repeat-y;
background-size: 100% auto;
}
Expand Down Expand Up @@ -252,7 +252,7 @@ html, body {
*/

#languages [data-type="list"] {
background: url(images/bgbubbles.png) 0 -4.5rem no-repeat;
background: url(images/bg_bubbles.png) 0 -4.5rem no-repeat;
background-size: 100% auto;
padding-top: 14rem;
}
Expand Down Expand Up @@ -349,7 +349,7 @@ html, body {
}

#tutorialFinish .content {
background: url(images/thumb-up.png) no-repeat center 70%;
background: url(images/thumb_up.png) no-repeat center 70%;
}

#finish-screen .content, #tutorialFinish .content {
Expand Down Expand Up @@ -386,49 +386,50 @@ html, body {
margin-top: 0.5rem;
}

#time_zone_overlay.UTC0000 { background-image: url('images/timezone/+0.png'); }
#time_zone_overlay.UTC0100 { background-image: url('images/timezone/+1.png'); }
#time_zone_overlay.UTC0200 { background-image: url('images/timezone/+2.png'); }
#time_zone_overlay.UTC0300 { background-image: url('images/timezone/+3.png'); }
#time_zone_overlay.UTC0330 { }
#time_zone_overlay.UTC0400 { background-image: url('images/timezone/+4.png'); }
#time_zone_overlay.UTC0430 { }
#time_zone_overlay.UTC0500 { background-image: url('images/timezone/+5.png'); }
#time_zone_overlay.UTC0530 { }
#time_zone_overlay.UTC0545 { }
#time_zone_overlay.UTC0600 { background-image: url('images/timezone/+6.png'); }
#time_zone_overlay.UTC0630 { }
#time_zone_overlay.UTC0700 { background-image: url('images/timezone/+7.png'); }
#time_zone_overlay.UTC0800 { background-image: url('images/timezone/+8.png'); }
#time_zone_overlay.UTC0845 { }
#time_zone_overlay.UTC0900 { background-image: url('images/timezone/+9.png'); }
#time_zone_overlay.UTC0930 { }
#time_zone_overlay.UTC1000 { background-image: url('images/timezone/+10.png'); }
#time_zone_overlay.UTC1030 { }
#time_zone_overlay.UTC1100 { background-image: url('images/timezone/+11.png'); }
#time_zone_overlay.UTC1130 { }
#time_zone_overlay.UTC1200 { background-image: url('images/timezone/+12.png'); }
#time_zone_overlay.UTC1245 { }
#time_zone_overlay.UTC1300 { }
#time_zone_overlay.UTC1400 { }

#time_zone_overlay.UTC-0100 { background-image: url('images/timezone/-1.png'); }
#time_zone_overlay.UTC-0200 { background-image: url('images/timezone/-2.png'); }
#time_zone_overlay.UTC-0300 { background-image: url('images/timezone/-3.png'); }
#time_zone_overlay.UTC-0330 { }
#time_zone_overlay.UTC-0400 { background-image: url('images/timezone/-4.png'); }
#time_zone_overlay.UTC-0430 { }
#time_zone_overlay.UTC-0500 { background-image: url('images/timezone/-5.png'); }
#time_zone_overlay.UTC-0600 { background-image: url('images/timezone/-6.png'); }
#time_zone_overlay.UTC-0700 { background-image: url('images/timezone/-7.png'); }
#time_zone_overlay.UTC-0800 { background-image: url('images/timezone/-8.png'); }
#time_zone_overlay.UTC-0900 { }
#time_zone_overlay.UTC-0930 { }
#time_zone_overlay.UTC-1000 { }
#time_zone_overlay.UTC-1100 { }
#time_zone_overlay.UTC0000 { background-image: url('images/timezone/+0000.png'); }
#time_zone_overlay.UTC0100 { background-image: url('images/timezone/+0100.png'); }
#time_zone_overlay.UTC0200 { background-image: url('images/timezone/+0200.png'); }
#time_zone_overlay.UTC0300 { background-image: url('images/timezone/+0300.png'); }
#time_zone_overlay.UTC0330 { background-image: url('images/timezone/+0330.png'); }
#time_zone_overlay.UTC0400 { background-image: url('images/timezone/+0400.png'); }
#time_zone_overlay.UTC0430 { background-image: url('images/timezone/+0430.png'); }
#time_zone_overlay.UTC0500 { background-image: url('images/timezone/+0500.png'); }
#time_zone_overlay.UTC0530 { background-image: url('images/timezone/+0530.png'); }
#time_zone_overlay.UTC0545 { background-image: url('images/timezone/+0545.png'); }
#time_zone_overlay.UTC0600 { background-image: url('images/timezone/+0600.png'); }
#time_zone_overlay.UTC0630 { background-image: url('images/timezone/+0630.png'); }
#time_zone_overlay.UTC0700 { background-image: url('images/timezone/+0700.png'); }
#time_zone_overlay.UTC0800 { background-image: url('images/timezone/+0800.png'); }
#time_zone_overlay.UTC0845 { background-image: url('images/timezone/+0845.png'); }
#time_zone_overlay.UTC0900 { background-image: url('images/timezone/+0900.png'); }
#time_zone_overlay.UTC0930 { background-image: url('images/timezone/+0930.png'); }
#time_zone_overlay.UTC1000 { background-image: url('images/timezone/+1000.png'); }
#time_zone_overlay.UTC1030 { background-image: url('images/timezone/+1030.png'); }
#time_zone_overlay.UTC1100 { background-image: url('images/timezone/+1100.png'); }
#time_zone_overlay.UTC1130 { background-image: url('images/timezone/+1130.png'); }
#time_zone_overlay.UTC1200 { background-image: url('images/timezone/+1200.png'); }
#time_zone_overlay.UTC1245 { background-image: url('images/timezone/+1245.png'); }
#time_zone_overlay.UTC1300 { background-image: url('images/timezone/+1300.png'); }
#time_zone_overlay.UTC1400 { background-image: url('images/timezone/+1400.png'); }

#time_zone_overlay.UTC-0100 { background-image: url('images/timezone/-0100.png'); }
#time_zone_overlay.UTC-0200 { background-image: url('images/timezone/-0200.png'); }
#time_zone_overlay.UTC-0300 { background-image: url('images/timezone/-0300.png'); }
#time_zone_overlay.UTC-0330 { background-image: url('images/timezone/-0330.png'); }
#time_zone_overlay.UTC-0400 { background-image: url('images/timezone/-0400.png'); }
#time_zone_overlay.UTC-0430 { background-image: url('images/timezone/-0430.png'); }
#time_zone_overlay.UTC-0500 { background-image: url('images/timezone/-0500.png'); }
#time_zone_overlay.UTC-0600 { background-image: url('images/timezone/-0600.png'); }
#time_zone_overlay.UTC-0700 { background-image: url('images/timezone/-0700.png'); }
#time_zone_overlay.UTC-0800 { background-image: url('images/timezone/-0800.png'); }
#time_zone_overlay.UTC-0900 { background-image: url('images/timezone/-0900.png'); }
#time_zone_overlay.UTC-0930 { background-image: url('images/timezone/-0930.png'); }
#time_zone_overlay.UTC-1000 { background-image: url('images/timezone/-1000.png'); }
#time_zone_overlay.UTC-1100 { background-image: url('images/timezone/-1100.png'); }
#time_zone_overlay.UTC-1200 { background-image: url('images/timezone/-1200.png'); }

#time_zone_map {
background-image: url('images/map.png') ;
background-image: url('images/timezone/map.png') ;
background-position: bottom;
background-repeat: no-repeat;
position: relative;
Expand Down Expand Up @@ -936,3 +937,4 @@ i.hack-first-child {
margin-top: -0.2rem;
background: #FFFFFF;
}

12 changes: 7 additions & 5 deletions apps/settings/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ var Settings = {
* explicitely when the dialog is shown. If the dialog is validated
* (submit), their values are stored into B2G settings.
*
* XXX warning, this only supports text/password/radio/select/radio input types.
* XXX
* warning, this only supports text/password/radio/select/radio input types.
*/

// initialize all setting fields in the dialog box
Expand Down Expand Up @@ -471,11 +472,12 @@ var Settings = {
req.onsuccess = function ftuManifest() {
var ftuManifestURL = req.result[key];

// Fallback if no settings present
// fallback if no settings present
if (!ftuManifestURL) {
ftuManifestURL = document.location.protocol +
'//communications.gaiamobile.org' + (location.port ? ':' +
location.port : '/manifest.webapp');
'//communications.gaiamobile.org' +
(location.port ? (':' + location.port) : '') +
'/manifest.webapp';
}

var ftuApp = null;
Expand All @@ -491,7 +493,7 @@ var Settings = {
if (ftuApp) {
ftuApp.launch('ftu');
} else {
alert(_('no-ftu'));
alert(navigator.mozL10n.get('no-ftu'));
}
}
}
Expand Down

0 comments on commit 1f65ba7

Please sign in to comment.