diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-09-08 12:49:53 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-09-08 12:49:53 +0200 |
commit | 615a043031f37fe5bc55fdf9cbc2e83a5e305908 (patch) | |
tree | 128a22f4d34934ec7c7d75a78ffea7c16c7c32fb /src/templates/controller.html | |
parent | bcf3120d437da01fda78397a345bf805b008eb7a (diff) | |
download | beer-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.html | 9 |
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> |