Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/pebble-my-data.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbahbka <bahbka@bahbka.com>2014-06-29 18:09:40 +0400
committerbahbka <bahbka@bahbka.com>2014-06-29 18:09:40 +0400
commit80b9d9c1aac94b8a921a5761e4467bb57bbefc71 (patch)
tree2c3319c86f6eb9c5e55daa7a51786965e80a2892 /resources
First public version.
Diffstat (limited to 'resources')
-rw-r--r--resources/app_icon.pngbin0 -> 154 bytes
-rw-r--r--resources/configuration.html50
-rw-r--r--resources/for_future/bar.pngbin0 -> 150 bytes
-rw-r--r--resources/for_future/call.pngbin0 -> 109 bytes
-rw-r--r--resources/for_future/mail.pngbin0 -> 109 bytes
-rw-r--r--resources/for_future/multi.pngbin0 -> 112 bytes
-rw-r--r--resources/for_future/phone.pngbin0 -> 105 bytes
-rw-r--r--resources/for_future/sms.pngbin0 -> 113 bytes
-rw-r--r--resources/no_phone.pngbin0 -> 114 bytes
-rw-r--r--resources/update.pngbin0 -> 104 bytes
-rw-r--r--resources/update_error.pngbin0 -> 104 bytes
-rw-r--r--resources/wbatt.pngbin0 -> 122 bytes
-rw-r--r--resources/wbatt_charge.pngbin0 -> 134 bytes
13 files changed, 50 insertions, 0 deletions
diff --git a/resources/app_icon.png b/resources/app_icon.png
new file mode 100644
index 0000000..fa8427d
--- /dev/null
+++ b/resources/app_icon.png
Binary files differ
diff --git a/resources/configuration.html b/resources/configuration.html
new file mode 100644
index 0000000..4877397
--- /dev/null
+++ b/resources/configuration.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <style>
+ body { background-color: black; text-align: center; color: white }
+ h1,h3 { margin: 0; padding: 0 }
+ h3 { color: gray }
+ h4 { text-align: center; margin: 0; padding: 0 }
+ input { height: 40px; font-size: 20px }
+ .url { width: 95% }
+ .submit { width: 50% }
+ .example { text-align: left }
+ </style>
+ </head>
+ <body>
+ <h1>My Data</h1>
+ <h3>v1.0.0, by bahbka</h3>
+ <br><br>
+ <form action="javascript: settings();" id="settings_form">
+ <h4>my server URL:</h4>
+ <input type="text" id="url" class="url" value="_URL_">
+ <input type="submit" id="save" class="submit" value="save and apply">
+ </form>
+ <br><br><br>
+ sample server output:
+ <pre class="example">
+{
+ "content": "Hello\\nWorld!",
+ "refresh": 300, // refresh delay, seconds
+ "vibrate": 0, // 0..3, 0 - don't vibrate
+ "font": 1, // 1..8, try them all
+ "theme": 0 // 0 - black, 1 - white
+}
+ </pre>
+
+ <script>
+ function settings() {
+ var form = document.getElementById('settings_form');
+ for (configuration = {}, i = 0; i < form.length ; i++) {
+ id = form[i].id;
+ if (id != "save") {
+ configuration[id] = form[i].value;
+ }
+ }
+ return window.location.href = "pebblejs://close#" + encodeURIComponent(JSON.stringify(configuration));
+ }
+ </script>
+ </body>
+</html>
diff --git a/resources/for_future/bar.png b/resources/for_future/bar.png
new file mode 100644
index 0000000..37467e4
--- /dev/null
+++ b/resources/for_future/bar.png
Binary files differ
diff --git a/resources/for_future/call.png b/resources/for_future/call.png
new file mode 100644
index 0000000..da53848
--- /dev/null
+++ b/resources/for_future/call.png
Binary files differ
diff --git a/resources/for_future/mail.png b/resources/for_future/mail.png
new file mode 100644
index 0000000..d110729
--- /dev/null
+++ b/resources/for_future/mail.png
Binary files differ
diff --git a/resources/for_future/multi.png b/resources/for_future/multi.png
new file mode 100644
index 0000000..0aa919b
--- /dev/null
+++ b/resources/for_future/multi.png
Binary files differ
diff --git a/resources/for_future/phone.png b/resources/for_future/phone.png
new file mode 100644
index 0000000..5a4fd6f
--- /dev/null
+++ b/resources/for_future/phone.png
Binary files differ
diff --git a/resources/for_future/sms.png b/resources/for_future/sms.png
new file mode 100644
index 0000000..819f540
--- /dev/null
+++ b/resources/for_future/sms.png
Binary files differ
diff --git a/resources/no_phone.png b/resources/no_phone.png
new file mode 100644
index 0000000..ee8b712
--- /dev/null
+++ b/resources/no_phone.png
Binary files differ
diff --git a/resources/update.png b/resources/update.png
new file mode 100644
index 0000000..a36151e
--- /dev/null
+++ b/resources/update.png
Binary files differ
diff --git a/resources/update_error.png b/resources/update_error.png
new file mode 100644
index 0000000..1fa2468
--- /dev/null
+++ b/resources/update_error.png
Binary files differ
diff --git a/resources/wbatt.png b/resources/wbatt.png
new file mode 100644
index 0000000..2db13ad
--- /dev/null
+++ b/resources/wbatt.png
Binary files differ
diff --git a/resources/wbatt_charge.png b/resources/wbatt_charge.png
new file mode 100644
index 0000000..cbd6330
--- /dev/null
+++ b/resources/wbatt_charge.png
Binary files differ