From f837e2f12f1fa69870b74e0e04602993dad58707 Mon Sep 17 00:00:00 2001 From: Christoph Raaflaub Date: Fri, 4 Dec 2015 13:53:07 +0100 Subject: [PATCH 1/5] added original config page --- config.html | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 config.html diff --git a/config.html b/config.html new file mode 100644 index 0000000..cef05bf --- /dev/null +++ b/config.html @@ -0,0 +1,125 @@ + + + + + Configurable + + + + + + + +
+
+

Configuration

+
+ +
+ +
+ + +
+ +
+ + +
+ + +
+ + +
+ +
+ +
+
+
+
+
+
+
+ + + + + From c2157e386ffde791bc69491ecfec3cce72f0c836 Mon Sep 17 00:00:00 2001 From: Christoph Raaflaub Date: Fri, 4 Dec 2015 13:57:51 +0100 Subject: [PATCH 2/5] changed config page url to github page --- src/pebble-js-app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pebble-js-app.js b/src/pebble-js-app.js index 395e33c..d4e52a2 100644 --- a/src/pebble-js-app.js +++ b/src/pebble-js-app.js @@ -1,3 +1,5 @@ +var url = 'https://rawgit.com/chrira/BlueFuturistic/load-actual-colors/config.html'; + Pebble.addEventListener("ready", function(e) { console.log("PebbleKit JS ready!"); @@ -7,7 +9,7 @@ Pebble.addEventListener("ready", Pebble.addEventListener("showConfiguration", function(e) { //Load the remote config page - Pebble.openURL("http://paliantech.com/pebble/BFconfig3G.html"); + Pebble.openURL(url); } ); @@ -28,4 +30,4 @@ Pebble.addEventListener("webviewclosed", } ); } -); \ No newline at end of file +); From af7cdb6e9e8bdddec6fa0c62a87577d49af97239 Mon Sep 17 00:00:00 2001 From: Christoph Raaflaub Date: Fri, 4 Dec 2015 14:01:57 +0100 Subject: [PATCH 3/5] changed config page imports to https --- config.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.html b/config.html index cef05bf..d3929bc 100644 --- a/config.html +++ b/config.html @@ -5,9 +5,9 @@ Configurable - - - + + +
From f02d7be1f2734b70e55c9ce0d9c03b063cda86cd Mon Sep 17 00:00:00 2001 From: Christoph Raaflaub Date: Fri, 4 Dec 2015 14:11:37 +0100 Subject: [PATCH 4/5] Config page selects colors on load from url variables --- config.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/config.html b/config.html index d3929bc..45a6f4a 100644 --- a/config.html +++ b/config.html @@ -97,6 +97,21 @@

Configuration