Mercurial > code > home > repos > homeauto
comparison lib/homeauto_anynode/static/index.html @ 1462:2b29f14eb6bd
try new graph+view widget
Ignore-this: d5f9c5dc52f04324368716ba2f604fdb
darcs-hash:44e85a5c075ef73c34a58deaa3a3c1e8390dae52
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 24 Nov 2019 00:01:00 -0800 |
parents | c451aad69f65 |
children |
comparison
equal
deleted
inserted
replaced
1461:517cbb905d4c | 1462:2b29f14eb6bd |
---|---|
95 box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.14); | 95 box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.14); |
96 } | 96 } |
97 | 97 |
98 </style> | 98 </style> |
99 <template> | 99 <template> |
100 <streamed-graph url="graph/events" graph="{{graph}}"></streamed-graph> | 100 <streamed-graph url="graph/events" graph="{{graph}}" expanded="true"></streamed-graph> |
101 <iron-ajax url="boards" auto="true" handle-as="json" | 101 <iron-ajax url="boards" auto="true" handle-as="json" |
102 last-response="{{ret}}"></iron-ajax> | 102 last-response="{{ret}}"></iron-ajax> |
103 <template is="dom-repeat" items="{{ret.boards}}" as="board"> | 103 <template is="dom-repeat" items="{{ret.boards}}" as="board"> |
104 <div class="board"> | 104 <div class="board"> |
105 <h1>Board <linked-uri href$="{{board.uri}}"></linked-uri></h1> | 105 <h1>Board <linked-uri href$="{{board.uri}}"></linked-uri></h1> |
151 }); | 151 }); |
152 }); | 152 }); |
153 </script> | 153 </script> |
154 </dom-module> | 154 </dom-module> |
155 <arduinonode-boards></arduinonode-boards> | 155 <arduinonode-boards></arduinonode-boards> |
156 | |
157 <div id="out"></div> | |
158 <script type="module" src="/rdf/streamed_graph_view.js"></script> | |
159 | |
160 | |
161 </body> | 156 </body> |
162 </html> | 157 </html> |