diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-09-08 20:39:01 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-09-08 20:39:01 +0200 |
commit | 76c273eaf316e0a8e3eadf93674ffa0aad35f7fd (patch) | |
tree | d8727077ba3a90191d49f5c0fb07b612fa43b6c3 /src/templates/controller.html | |
parent | 694cc18a40ae5c71ec280b3aea2e1fa4d51ab640 (diff) | |
download | beer-duke-76c273eaf316e0a8e3eadf93674ffa0aad35f7fd.tar.gz beer-duke-76c273eaf316e0a8e3eadf93674ffa0aad35f7fd.tar.bz2 beer-duke-76c273eaf316e0a8e3eadf93674ffa0aad35f7fd.tar.xz beer-duke-76c273eaf316e0a8e3eadf93674ffa0aad35f7fd.zip |
wip
Diffstat (limited to 'src/templates/controller.html')
-rw-r--r-- | src/templates/controller.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/templates/controller.html b/src/templates/controller.html index bd8cbf5..94d784e 100644 --- a/src/templates/controller.html +++ b/src/templates/controller.html @@ -11,5 +11,16 @@ <button ng-click="ctrl.requestBeer()">Request Beer!</button> </div> + connected: {{mqtt.connected()}} + + <div ng-if="true || ctrl.slots.length > 0"> + Beers dispensed: + <div ng-repeat="(slot, count) in ctrl.slots"> + #{{slot}} = {{count}} + </div> + </div> + + problems: {{mqtt.problems|json}} + <ng-include src="'templates/footer.html'"/> </div> |