diff options
author | bahbka <bahbka@bahbka.com> | 2014-06-29 18:09:40 +0400 |
---|---|---|
committer | bahbka <bahbka@bahbka.com> | 2014-06-29 18:09:40 +0400 |
commit | 80b9d9c1aac94b8a921a5761e4467bb57bbefc71 (patch) | |
tree | 2c3319c86f6eb9c5e55daa7a51786965e80a2892 /resources |
First public version.
Diffstat (limited to 'resources')
-rw-r--r-- | resources/app_icon.png | bin | 0 -> 154 bytes | |||
-rw-r--r-- | resources/configuration.html | 50 | ||||
-rw-r--r-- | resources/for_future/bar.png | bin | 0 -> 150 bytes | |||
-rw-r--r-- | resources/for_future/call.png | bin | 0 -> 109 bytes | |||
-rw-r--r-- | resources/for_future/mail.png | bin | 0 -> 109 bytes | |||
-rw-r--r-- | resources/for_future/multi.png | bin | 0 -> 112 bytes | |||
-rw-r--r-- | resources/for_future/phone.png | bin | 0 -> 105 bytes | |||
-rw-r--r-- | resources/for_future/sms.png | bin | 0 -> 113 bytes | |||
-rw-r--r-- | resources/no_phone.png | bin | 0 -> 114 bytes | |||
-rw-r--r-- | resources/update.png | bin | 0 -> 104 bytes | |||
-rw-r--r-- | resources/update_error.png | bin | 0 -> 104 bytes | |||
-rw-r--r-- | resources/wbatt.png | bin | 0 -> 122 bytes | |||
-rw-r--r-- | resources/wbatt_charge.png | bin | 0 -> 134 bytes |
13 files changed, 50 insertions, 0 deletions
diff --git a/resources/app_icon.png b/resources/app_icon.png Binary files differnew file mode 100644 index 0000000..fa8427d --- /dev/null +++ b/resources/app_icon.png 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 Binary files differnew file mode 100644 index 0000000..37467e4 --- /dev/null +++ b/resources/for_future/bar.png diff --git a/resources/for_future/call.png b/resources/for_future/call.png Binary files differnew file mode 100644 index 0000000..da53848 --- /dev/null +++ b/resources/for_future/call.png diff --git a/resources/for_future/mail.png b/resources/for_future/mail.png Binary files differnew file mode 100644 index 0000000..d110729 --- /dev/null +++ b/resources/for_future/mail.png diff --git a/resources/for_future/multi.png b/resources/for_future/multi.png Binary files differnew file mode 100644 index 0000000..0aa919b --- /dev/null +++ b/resources/for_future/multi.png diff --git a/resources/for_future/phone.png b/resources/for_future/phone.png Binary files differnew file mode 100644 index 0000000..5a4fd6f --- /dev/null +++ b/resources/for_future/phone.png diff --git a/resources/for_future/sms.png b/resources/for_future/sms.png Binary files differnew file mode 100644 index 0000000..819f540 --- /dev/null +++ b/resources/for_future/sms.png diff --git a/resources/no_phone.png b/resources/no_phone.png Binary files differnew file mode 100644 index 0000000..ee8b712 --- /dev/null +++ b/resources/no_phone.png diff --git a/resources/update.png b/resources/update.png Binary files differnew file mode 100644 index 0000000..a36151e --- /dev/null +++ b/resources/update.png diff --git a/resources/update_error.png b/resources/update_error.png Binary files differnew file mode 100644 index 0000000..1fa2468 --- /dev/null +++ b/resources/update_error.png diff --git a/resources/wbatt.png b/resources/wbatt.png Binary files differnew file mode 100644 index 0000000..2db13ad --- /dev/null +++ b/resources/wbatt.png diff --git a/resources/wbatt_charge.png b/resources/wbatt_charge.png Binary files differnew file mode 100644 index 0000000..cbd6330 --- /dev/null +++ b/resources/wbatt_charge.png |