Mercurial > code > home > repos > homeauto
comparison service/frontDoorLock/index.html @ 1455:1a7cd0cff3eb
rename store's graph uri
Ignore-this: dc2e863eb429456f9d642b53bbae1cc4
darcs-hash:a7cf4772cf49ddbea9dc04d903a597893ff25653
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 25 Sep 2019 17:33:32 -0700 |
parents | baf1acaa9ac9 |
children | 013e2a89b345 |
comparison
equal
deleted
inserted
replaced
1454:c3efea9917f4 | 1455:1a7cd0cff3eb |
---|---|
32 visibility: hidden; | 32 visibility: hidden; |
33 } | 33 } |
34 | 34 |
35 </style> | 35 </style> |
36 <template> | 36 <template> |
37 <div> | 37 <h1>Front door lock</h1> |
38 <streamed-graph url="graph/events" graph="{{graph}}"></streamed-graph> | |
39 <streamed-graph url="/store/graph/events" graph="{{storeGraph}}"></streamed-graph> | |
40 </div> | |
41 | |
42 <div id="form"> | 38 <div id="form"> |
43 | 39 |
44 <div> | 40 <div> |
45 Door is {{lockState}} | 41 Door is {{lockState}} |
46 </div> | 42 </div> |
87 <template is="dom-if" if="{{isHeld}}"> | 83 <template is="dom-if" if="{{isHeld}}"> |
88 <button on-click="releaseHold">Release hold; lock door</button> | 84 <button on-click="releaseHold">Release hold; lock door</button> |
89 </template> | 85 </template> |
90 </div> | 86 </div> |
91 </div> | 87 </div> |
88 <div> | |
89 <streamed-graph url="graph/events" graph="{{graph}}"></streamed-graph> | |
90 <streamed-graph url="/store/store/events" graph="{{storeGraph}}"></streamed-graph> | |
91 </div> | |
92 | |
92 </template> | 93 </template> |
93 <script> | 94 <script> |
94 HTMLImports.whenReady(function () { | 95 HTMLImports.whenReady(function () { |
95 Polymer({ | 96 Polymer({ |
96 is: 'door-control', | 97 is: 'door-control', |