Mercurial > code > home > repos > homeauto
comparison lib/homeauto_anynode/static/index.html @ 660:e3af8cc7235d
try new graph+view widget
Ignore-this: d5f9c5dc52f04324368716ba2f604fdb
author | drewp@bigasterisk.com |
---|---|
date | Sun, 24 Nov 2019 00:01:00 -0800 |
parents | ab762d49cd38 |
children |
comparison
equal
deleted
inserted
replaced
659:ea9ed11598b0 | 660:e3af8cc7235d |
---|---|
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> |