Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Updating bbUI.js and tweaking.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Windsor committed Apr 15, 2013
1 parent 0258f95 commit ceba64a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Sensors/css/styles.css
Expand Up @@ -3,11 +3,12 @@
height: 1110px;
margin-top: 10px;
}
#menu {
/*#menu {
background-color: #5B5;
}
#sensorScreen, #optionScreen {
}*/
#sensorScreen, #options, #menu {
background-color: #262626;
color: #fff;
}
.flotr-titles {
color: #00A8DF;
Expand Down
2 changes: 1 addition & 1 deletion Sensors/index.html
Expand Up @@ -36,7 +36,7 @@
onscreenready: function(element, id) {
// Choose the sensor based on ID of the link selected, and start listening
var sensor = bbsensors[id];
if (sensor) {
if (sensor && sensor.name) {
bbsensors.listen(sensor);
} else {
bbsensors.listen('');
Expand Down
3 changes: 1 addition & 2 deletions Sensors/options.html
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<div style="background-color:#262626" data-bb-type="screen" data-bb-effect="slide-left">
<div id="options" data-bb-type="screen" data-bb-effect="slide-left">
<div id="SensorOptPanel" data-bb-type="round-panel">
<div data-bb-type="panel-header">Sensor Options</div>
<div data-bb-type="label">Delay:</div>
Expand All @@ -32,7 +32,6 @@
<div id="opt_queue" data-bb-type="toggle" data-bb-on="Yes" data-bb-off="No" onchange="bbsensors.options.queue = opt_queue.checked"></div>
<div data-bb-type="label">Reduced Reporting:</div>
<div id="opt_reducedReporting" data-bb-type="toggle" data-bb-on="Yes" data-bb-off="No" onchange="bbsensors.options.reducedReporting = opt_reducedReporting.checked"></div>
<!-- <div data-bb-type="button" onclick="" id="setOptions">Set Options</div> -->
</div>
<div data-bb-type="action-bar" data-bb-back-caption="Back"></div>
</div>

0 comments on commit ceba64a

Please sign in to comment.