From: Alice Liu Date: Thu, 15 Jan 2015 14:42:37 +0000 (+0800) Subject: Updated Modello Common libraries X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e0ab73280d29ea277e262263a9e75f510ef7180;p=profile%2Fivi%2Fsdk%2Fweb-ide-resources.git Updated Modello Common libraries Package version up (3.0.44). Change-Id: I620473d4016dd23d7291849fe31847bfa8519f7b Signed-off-by: Alice Liu --- diff --git a/package/changelog b/package/changelog index c8465e0..a776538 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,7 @@ +* 3.0.44 +- Updated Modello Common libraries +== Alice Liu 2015-01-15 + * 3.0.43 - Updated help documentation and auto completion of MediaServer API diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 5e9b5a7..3b89a4a 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version:3.0.43 +Version:3.0.44 Maintainer: Alice Liu Package:ivi-3.0-web-add-ons diff --git a/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/css/settings.css b/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/css/settings.css index d3f9e90..8e79f73 100644 --- a/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/css/settings.css +++ b/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/css/settings.css @@ -100,6 +100,10 @@ width: 200px; } +.subPanelToggleButtonExtraWide { + width: 300px; +} + .buttonsArea { width: 680px; margin-top: 20px; diff --git a/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/js/themes.js b/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/js/themes.js index ca422ef..f28ae68 100644 --- a/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/js/themes.js +++ b/web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/settings/js/themes.js @@ -17,6 +17,8 @@ */ var Themes = function() { "use strict"; + var self = this; + /** * Marks a given user theme as selected. * @@ -29,6 +31,13 @@ var Themes = function() { } }; + this.toggleAnimation = function() { + var animation = Configuration.get("animationEnabled"); + Configuration.set("animationEnabled", !animation); + animation = Configuration.get("animationEnabled"); + self.animationEnabled(animation); + } + this.init(); }; @@ -81,6 +90,21 @@ Themes.prototype.show = function() { themeList += templateName; themeList += '\', foreach: Settings.Theme.themes }">'; $(themeList).appendTo($('.' + themesContent)); + + var animation = Configuration.get("animationEnabled"); + if (animation === undefined) { + animation = true; + } + Configuration.set("animationEnabled", animation); + self.animationEnabled(animation); + + var button = ""; + button = '
'; + button += '
'; + button += '
'; + button += '
'; + $(button).appendTo($('.tabsTopSubPanel')); + ko.applyBindings(window.Settings); } }; @@ -112,4 +136,14 @@ Themes.prototype.loadThemes = function(successCallback) { } }); } + +/** + * Indicates if animation is enabled + * + * @property animationEnabled + * @public + * @type ko.observable + * @default true + */ +Themes.prototype.animationEnabled = ko.observable(true); }; \ No newline at end of file