|
100 | 100 | setupNode("property in push", "inject", 1, 1); |
101 | 101 | </script> |
102 | 102 |
|
103 | | - |
104 | | -<script type="text/x-red" data-template-name="property in"> |
105 | | - <div class="form-row node-input-connection"> |
106 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
107 | | - <input type="text" id="node-input-connection"> |
108 | | - </div> |
109 | | - <div class="form-row"> |
110 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
111 | | - <select id="node-input-thing"> |
112 | | - </select> |
113 | | - </div> |
114 | | - <div class="form-row"> |
115 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
116 | | - <select id="node-input-property"> |
117 | | - </select> |
118 | | - </div> |
119 | | - <div class="form-row"> |
120 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
121 | | - <input type="text" id="node-input-name" placeholder="Name"> |
122 | | - </div> |
123 | | -</script> |
124 | | -<script type="text/x-red" data-help-name="property in"> |
125 | | - <p>This node injects in the flow the changed value of a specific Arduino IoT Cloud property.</p> |
126 | | -</script> |
127 | | - |
128 | | -<script type="text/x-red" data-template-name="property out"> |
129 | | - <div class="form-row node-input-connection"> |
130 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
131 | | - <input type="text" id="node-input-connection"> |
132 | | - </div> |
133 | | - <div class="form-row"> |
134 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
135 | | - <select id="node-input-thing"> |
136 | | - </select> |
137 | | - </div> |
138 | | - <div class="form-row"> |
139 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
140 | | - <select id="node-input-property"> |
141 | | - </select> |
142 | | - </div> |
143 | | - <div class="form-row"> |
144 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
145 | | - <input type="text" id="node-input-name" placeholder="Name"> |
146 | | - </div> |
147 | | -</script> |
148 | | -<script type="text/x-red" data-help-name="property out"> |
149 | | - <p>This node update a specific Arduino IoT Cloud property with the value received in input</p> |
150 | | -</script> |
151 | | - |
152 | 103 | <script type="text/javascript"> |
153 | 104 | function prepareQueryString(connection) { |
154 | 105 | const tmpClientid = window.connectionManager[connection] ? window.connectionManager[connection].tmpClientid : ""; |
|
239 | 190 | </script> |
240 | 191 | <script type="text/x-red" data-template-name="arduino-connection"> |
241 | 192 | <div class="form-row"> |
242 | | - <label for="node-config-input-applicationname"><i class="fa fa-tag"></i> Name</label> |
| 193 | + <label for="node-config-input-applicationname"><i class="fa fa-tag fa-fw"></i>Name</label> |
243 | 194 | <input type="text" id="node-config-input-applicationname" placeholder="Application name"> |
244 | 195 | </div> |
245 | 196 | <div class="form-row"> |
246 | | - <label for="node-config-input-clientid"><i class="icon-tag"></i> Client ID</label> |
| 197 | + <label for="node-config-input-clientid"><i class="fa fa-id-badge fa-fw"></i>Client ID</label> |
247 | 198 | <input type="password" id="node-config-input-clientid" placeholder="Client ID"> |
248 | 199 | </div> |
249 | 200 | <div class="form-row"> |
250 | | - <label for="node-config-input-clientsecret"><i class="icon-tag"></i> Client secret</label> |
| 201 | + <label for="node-config-input-clientsecret"><i class="fa fa-lock fa-fw"></i>Client secret</label> |
251 | 202 | <input type="password" id="node-config-input-clientsecret" placeholder="Client secret"> |
252 | 203 | </div> |
253 | 204 | </script> |
254 | 205 | <script type="text/x-red" data-help-name="arduino-connection"> |
255 | 206 | <p>Provides configuration options for an Arduino IoT Cloud session.</p> |
256 | 207 | </script> |
257 | 208 |
|
| 209 | +<script type="text/x-red" data-template-name="property in"> |
| 210 | + <div class="form-row"> |
| 211 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
| 212 | + <input type="text" id="node-input-connection"> |
| 213 | + </div> |
| 214 | + <div class="form-row"> |
| 215 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
| 216 | + <select id="node-input-thing"> |
| 217 | + </select> |
| 218 | + </div> |
| 219 | + <div class="form-row"> |
| 220 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
| 221 | + <select id="node-input-property"> |
| 222 | + </select> |
| 223 | + </div> |
| 224 | + <div class="form-row"> |
| 225 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
| 226 | + <input type="text" id="node-input-name" placeholder="Name"> |
| 227 | + </div> |
| 228 | +</script> |
| 229 | +<script type="text/x-red" data-help-name="property in"> |
| 230 | + <p>This node injects in the flow the changed value of a specific Arduino IoT Cloud property.</p> |
| 231 | +</script> |
| 232 | + |
| 233 | +<script type="text/x-red" data-template-name="property out"> |
| 234 | + <div class="form-row"> |
| 235 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
| 236 | + <input type="text" id="node-input-connection"> |
| 237 | + </div> |
| 238 | + <div class="form-row"> |
| 239 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
| 240 | + <select id="node-input-thing"> |
| 241 | + </select> |
| 242 | + </div> |
| 243 | + <div class="form-row"> |
| 244 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
| 245 | + <select id="node-input-property"> |
| 246 | + </select> |
| 247 | + </div> |
| 248 | + <div class="form-row"> |
| 249 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
| 250 | + <input type="text" id="node-input-name" placeholder="Name"> |
| 251 | + </div> |
| 252 | +</script> |
| 253 | +<script type="text/x-red" data-help-name="property out"> |
| 254 | + <p>This node update a specific Arduino IoT Cloud property with the value received in input</p> |
| 255 | +</script> |
258 | 256 |
|
259 | 257 | <script type="text/x-red" data-template-name="property in hist"> |
260 | | - <div class="form-row node-input-connection"> |
261 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
| 258 | + <div class="form-row"> |
| 259 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
262 | 260 | <input type="text" id="node-input-connection"> |
263 | 261 | </div> |
264 | 262 | <div class="form-row"> |
265 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
| 263 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
266 | 264 | <select id="node-input-thing"> |
267 | 265 | </select> |
268 | 266 | </div> |
269 | 267 | <div class="form-row"> |
270 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
| 268 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
271 | 269 | <select id="node-input-property"> |
272 | 270 | </select> |
273 | 271 | </div> |
274 | 272 | <div class="form-row" id="time-window-show"> |
275 | | - <label for="node-input-timeWindowCount"><i class="fa fa-history"></i> Time filter</label> |
| 273 | + <label for="node-input-timeWindowCount"><i class="fa fa-history fa-fw"></i> Time filter</label> |
276 | 274 | <label for="node-input-timeWindowCount" style="width:auto">last</label> |
277 | 275 | <input type="text" id="node-input-timeWindowCount" style="width:50px;"> |
278 | 276 | <select id="node-input-timeWindowUnit" style="width:80px;"> |
|
286 | 284 | <input type="hidden" id="node-input-lastPoints" style="width:60px;" placeholder="1000"> |
287 | 285 | </div> |
288 | 286 | <div class="form-row"> |
289 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
| 287 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
290 | 288 | <input type="text" id="node-input-name" placeholder="Name"> |
291 | 289 | </div> |
292 | 290 | </script> |
|
295 | 293 | </script> |
296 | 294 |
|
297 | 295 | <script type="text/x-red" data-template-name="property in poll"> |
298 | | - <div class="form-row node-input-connection"> |
299 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
| 296 | + <div class="form-row"> |
| 297 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
300 | 298 | <input type="text" id="node-input-connection"> |
301 | 299 | </div> |
302 | 300 | <div class="form-row"> |
303 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
| 301 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
304 | 302 | <select id="node-input-thing"> |
305 | 303 | </select> |
306 | 304 | </div> |
307 | 305 | <div class="form-row"> |
308 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
| 306 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
309 | 307 | <select id="node-input-property"> |
310 | 308 | </select> |
311 | 309 | </div> |
312 | 310 | <div class="form-row" id="time-window-show"> |
313 | | - <label for="node-input-timeWindowCount"><i class="fa fa-repeat"></i> Poll Every</label> |
| 311 | + <label for="node-input-timeWindowCount"><i class="fa fa-repeat fa-fw"></i> Poll Every</label> |
314 | 312 | <input type="text" id="node-input-timeWindowCount" style="width:50px;"> |
315 | 313 | <select id="node-input-timeWindowUnit" style="width:80px;"> |
316 | 314 | <option value="1">seconds</option> |
|
323 | 321 | <input type="hidden" id="node-input-lastPoints" style="width:60px;" placeholder="1000"> |
324 | 322 | </div> |
325 | 323 | <div class="form-row"> |
326 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
| 324 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
327 | 325 | <input type="text" id="node-input-name" placeholder="Name"> |
328 | 326 | </div> |
329 | 327 | </script> |
|
333 | 331 |
|
334 | 332 |
|
335 | 333 | <script type="text/x-red" data-template-name="property in push"> |
336 | | - <div class="form-row node-input-connection"> |
337 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
| 334 | + <div class="form-row"> |
| 335 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
338 | 336 | <input type="text" id="node-input-connection"> |
339 | 337 | </div> |
340 | 338 | <div class="form-row"> |
341 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
| 339 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
342 | 340 | <select id="node-input-thing"> |
343 | 341 | </select> |
344 | 342 | </div> |
345 | 343 | <div class="form-row"> |
346 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
| 344 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
347 | 345 | <select id="node-input-property"> |
348 | 346 | </select> |
349 | 347 | </div> |
350 | 348 | <div class="form-row"> |
351 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
| 349 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
352 | 350 | <input type="text" id="node-input-name" placeholder="Name"> |
353 | 351 | </div> |
354 | 352 | </script> |
|
0 commit comments