diff options
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/controller.html | 11 | ||||
-rw-r--r-- | src/templates/tap.html | 2 |
2 files changed, 12 insertions, 1 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> diff --git a/src/templates/tap.html b/src/templates/tap.html index bf99523..152b339 100644 --- a/src/templates/tap.html +++ b/src/templates/tap.html @@ -1,5 +1,5 @@ <div> - Last: {{ctrl.message | json}} + Code: {{ctrl.code}} <ng-include src="'templates/footer.html'"></ng-include> |