nobbyknox / hal

Home automation system
Apache License 2.0
0 stars 0 forks source link

Find a way to represent boolean values #3

Closed nobbyknox closed 8 years ago

nobbyknox commented 8 years ago

The 1/0 boolean values that the SQLite3 database returns are not compatible with the checkbox input type. Find a way to present this in an awesome way.

nobbyknox commented 8 years ago

Here are a few things to look into:

  1. http://www.bootstraptoggle.com
  2. http://www.bootstrap-switch.org
nobbyknox commented 8 years ago

Started work on this.

nobbyknox commented 8 years ago

All done. I used the bootstrap-toggle library and implemented through a custom (borrowed) Angular.js directive. It's pretty neat.