diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-09-08 16:34:11 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-09-08 16:34:11 +0200 |
commit | a767c17582caf9df45df587451773ee6f7bc2e49 (patch) | |
tree | e043b069a77ac95761b14e3eb44f47222a1e7fda /src/templates/controller.html | |
parent | e9914f533557c6ba4d34d52125049d60f040e856 (diff) | |
download | beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.tar.gz beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.tar.bz2 beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.tar.xz beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.zip |
wip
Diffstat (limited to 'src/templates/controller.html')
-rw-r--r-- | src/templates/controller.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/templates/controller.html b/src/templates/controller.html index eb0efab..bd8cbf5 100644 --- a/src/templates/controller.html +++ b/src/templates/controller.html @@ -1,9 +1,13 @@ -<div ng-controller="MqttController as mqtt"> - <div ng-controller="BeerDukeControllerController as ctrl"> +<div> + <div> <label> Code from tap: <input type="number" ng-model="ctrl.code"> </label> + <label> + Your email address + <input type="email" ng-model="ctrl.email"> + </label> <button ng-click="ctrl.requestBeer()">Request Beer!</button> </div> |