Date: Tue, 15 Oct 2013 09:23:29 +0000 (+0200)
Subject: [ExercisePlanner] updated ExercisePlanner sources
X-Git-Tag: 2.2.1_release~2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2e281595c42edf8be5f0230c767b5fada8047bc;p=samples%2Fweb%2FExercisePlanner.git
[ExercisePlanner] updated ExercisePlanner sources
Change-Id: Id27f70ee0a6affca68a40880a4026a77368861af
---
diff --git a/css/style.css b/css/style.css
index a2ffa15..fb5c029 100644
--- a/css/style.css
+++ b/css/style.css
@@ -369,3 +369,7 @@ ul.times .ui-btn-picker {
text-overflow: ellipsis;
overflow: hidden;
}
+
+#add_custom_workout_btn, #selectExercisesBar, #btnNewExercise {
+ color: #555;
+}
diff --git a/index.html b/index.html
index 7973490..863098a 100644
--- a/index.html
+++ b/index.html
@@ -132,10 +132,8 @@
@@ -153,10 +151,8 @@
diff --git a/js/UI.js b/js/UI.js
index e4a2afa..e67f44f 100644
--- a/js/UI.js
+++ b/js/UI.js
@@ -306,7 +306,6 @@ function UI() {
UI.prototype.showWaitOk = function () {
$('#mainControl').hide();
- $('#one .ui-btn-back').hide();
$('#onAlertControl').tabbar();
$('#onAlertControl').show();
@@ -350,6 +349,18 @@ function UI() {
$('#startStop').blur();
});
+ $('#options').on('click', function () {
+ $.mobile.changePage('#two');
+ });
+
+ $('#selectExercisesBar').on('click', function () {
+ $.mobile.changePage('#selectExercises');
+ });
+
+ $('#add_custom_workout_btn').on('click', function () {
+ $.mobile.changePage('#customExercises');
+ });
+
window.addEventListener('tizenhwkey', function(e) {
if (e.keyName == 'back') {
if ($.mobile.popup.active) {