Mercurial > code > home > repos > homeauto
diff service/rfid_pn532_py/rfid-console.html @ 432:f134b64a0ab7
py3, rfid-console rename
Ignore-this: 1b28d912e8847685a87c0c9ccb703608
author | drewp@bigasterisk.com |
---|---|
date | Sun, 07 Apr 2019 03:58:51 -0700 |
parents | 91b4a04a33e7 |
children |
line wrap: on
line diff
--- a/service/rfid_pn532_py/rfid-console.html Sun Apr 07 03:58:05 2019 -0700 +++ b/service/rfid_pn532_py/rfid-console.html Sun Apr 07 03:58:51 2019 -0700 @@ -4,7 +4,7 @@ <link rel="import" href="/rdf/rdf-uri.html"> <link rel="import" href="/rdf/streamed-graph.html"> -<dom-module id="rfid-control"> +<dom-module id="rfid-console"> <style> button { min-width: 60px; @@ -19,14 +19,10 @@ } </style> <template> - <div> - <streamed-graph url="graph/events" graph="{{graph}}"></streamed-graph> - <!-- also get a graph of users so we can look up cards --> - </div> <iron-ajax id="rewrite" url="rewrite" method="POST"></iron-ajax> - Current reads: + Current RFID reads: <table> <tr><th>Card UID</th><th>Card text</th><th></th></tr> <template is="dom-repeat" items="{{currentReads}}"> @@ -41,11 +37,15 @@ </tr> </template> </table> - + + <div> + <streamed-graph url="graph/events" graph="{{graph}}"></streamed-graph> + <!-- also get a graph of users so we can look up cards --> + </div> </template> <script> Polymer({ - is: 'rfid-control', + is: 'rfid-console', properties: { graph: { type: Object, notify: true, observer: "_onGraph" }, currentReads: { type: Array, value: [] },