summaryrefslogtreecommitdiff
path: root/src/templates/controller.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-09-08 12:49:53 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-09-08 12:49:53 +0200
commit615a043031f37fe5bc55fdf9cbc2e83a5e305908 (patch)
tree128a22f4d34934ec7c7d75a78ffea7c16c7c32fb /src/templates/controller.html
parentbcf3120d437da01fda78397a345bf805b008eb7a (diff)
downloadbeer-duke-615a043031f37fe5bc55fdf9cbc2e83a5e305908.tar.gz
beer-duke-615a043031f37fe5bc55fdf9cbc2e83a5e305908.tar.bz2
beer-duke-615a043031f37fe5bc55fdf9cbc2e83a5e305908.tar.xz
beer-duke-615a043031f37fe5bc55fdf9cbc2e83a5e305908.zip
wip
Diffstat (limited to 'src/templates/controller.html')
-rw-r--r--src/templates/controller.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/templates/controller.html b/src/templates/controller.html
new file mode 100644
index 0000000..c6cc4c8
--- /dev/null
+++ b/src/templates/controller.html
@@ -0,0 +1,9 @@
+<div ng-controller="MqttController as mqtt">
+ <div ng-controller="BeerDukeControllerController as ctrl">
+ <label>
+ Code from tap:
+ <input type="number" ng-model="ctrl.code">
+ </label>
+ <button ng-click="ctrl.requestBeer()">Request Beer!</button>
+ </div>
+</div>