summaryrefslogtreecommitdiff
path: root/src/templates/controller.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/controller.html')
-rw-r--r--src/templates/controller.html11
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>