|
112 | 112 | setupNode("property in push", "inject", 1, 1); |
113 | 113 | </script> |
114 | 114 |
|
115 | | - |
116 | | -<script type="text/x-red" data-template-name="property in"> |
117 | | - <div class="form-row node-input-connection"> |
118 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
119 | | - <input type="text" id="node-input-connection"> |
120 | | - </div> |
121 | | - <div class="form-row"> |
122 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
123 | | - <select id="node-input-thing"> |
124 | | - </select> |
125 | | - </div> |
126 | | - <div class="form-row"> |
127 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
128 | | - <select id="node-input-property"> |
129 | | - </select> |
130 | | - </div> |
131 | | - <div class="form-row"> |
132 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
133 | | - <input type="text" id="node-input-name" placeholder="Name"> |
134 | | - </div> |
135 | | -</script> |
136 | | -<script type="text/x-red" data-help-name="property in"> |
137 | | - <p>This node injects in the flow the changed value of a specific Arduino IoT Cloud property.</p> |
138 | | -</script> |
139 | | - |
140 | | -<script type="text/x-red" data-template-name="property out"> |
141 | | - <div class="form-row node-input-connection"> |
142 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
143 | | - <input type="text" id="node-input-connection"> |
144 | | - </div> |
145 | | - <div class="form-row"> |
146 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
147 | | - <select id="node-input-thing"> |
148 | | - </select> |
149 | | - </div> |
150 | | - <div class="form-row"> |
151 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
152 | | - <select id="node-input-property"> |
153 | | - </select> |
154 | | - </div> |
155 | | - <div class="form-row"> |
156 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
157 | | - <input type="text" id="node-input-name" placeholder="Name"> |
158 | | - </div> |
159 | | -</script> |
160 | | -<script type="text/x-red" data-help-name="property out"> |
161 | | - <p>This node update a specific Arduino IoT Cloud property with the value received in input</p> |
162 | | -</script> |
163 | | - |
164 | 115 | <script type="text/javascript"> |
165 | 116 | function prepareQueryString(connection) { |
166 | 117 | const tmpClientid = window.connectionManager[connection] ? window.connectionManager[connection].tmpClientid : ""; |
|
264 | 215 | </script> |
265 | 216 | <script type="text/x-red" data-template-name="arduino-connection"> |
266 | 217 | <div class="form-row"> |
267 | | - <label for="node-config-input-applicationname"><i class="fa fa-tag"></i> Name</label> |
| 218 | + <label for="node-config-input-applicationname"><i class="fa fa-tag fa-fw"></i>Name</label> |
268 | 219 | <input type="text" id="node-config-input-applicationname" placeholder="Application name"> |
269 | 220 | </div> |
270 | 221 | <div class="form-row"> |
271 | | - <label for="node-config-input-clientid"><i class="icon-tag"></i> Client ID</label> |
| 222 | + <label for="node-config-input-clientid"><i class="fa fa-id-badge fa-fw"></i>Client ID</label> |
272 | 223 | <input type="password" id="node-config-input-clientid" placeholder="Client ID"> |
273 | 224 | </div> |
274 | 225 | <div class="form-row"> |
275 | | - <label for="node-config-input-clientsecret"><i class="icon-tag"></i> Client secret</label> |
| 226 | + <label for="node-config-input-clientsecret"><i class="fa fa-lock fa-fw"></i>Client secret</label> |
276 | 227 | <input type="password" id="node-config-input-clientsecret" placeholder="Client secret"> |
277 | 228 | </div> |
278 | 229 | </script> |
279 | 230 | <script type="text/x-red" data-help-name="arduino-connection"> |
280 | 231 | <p>Provides configuration options for an Arduino IoT Cloud session.</p> |
281 | 232 | </script> |
282 | 233 |
|
| 234 | +<script type="text/x-red" data-template-name="property in"> |
| 235 | + <div class="form-row"> |
| 236 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
| 237 | + <input type="text" id="node-input-connection"> |
| 238 | + </div> |
| 239 | + <div class="form-row"> |
| 240 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
| 241 | + <select id="node-input-thing"> |
| 242 | + </select> |
| 243 | + </div> |
| 244 | + <div class="form-row"> |
| 245 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
| 246 | + <select id="node-input-property"> |
| 247 | + </select> |
| 248 | + </div> |
| 249 | + <div class="form-row"> |
| 250 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
| 251 | + <input type="text" id="node-input-name" placeholder="Name"> |
| 252 | + </div> |
| 253 | +</script> |
| 254 | +<script type="text/x-red" data-help-name="property in"> |
| 255 | + <p>This node injects in the flow the changed value of a specific Arduino IoT Cloud property.</p> |
| 256 | +</script> |
| 257 | + |
| 258 | +<script type="text/x-red" data-template-name="property out"> |
| 259 | + <div class="form-row"> |
| 260 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
| 261 | + <input type="text" id="node-input-connection"> |
| 262 | + </div> |
| 263 | + <div class="form-row"> |
| 264 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
| 265 | + <select id="node-input-thing"> |
| 266 | + </select> |
| 267 | + </div> |
| 268 | + <div class="form-row"> |
| 269 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
| 270 | + <select id="node-input-property"> |
| 271 | + </select> |
| 272 | + </div> |
| 273 | + <div class="form-row"> |
| 274 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
| 275 | + <input type="text" id="node-input-name" placeholder="Name"> |
| 276 | + </div> |
| 277 | +</script> |
| 278 | +<script type="text/x-red" data-help-name="property out"> |
| 279 | + <p>This node update a specific Arduino IoT Cloud property with the value received in input</p> |
| 280 | +</script> |
283 | 281 |
|
284 | 282 | <script type="text/x-red" data-template-name="property in hist"> |
285 | | - <div class="form-row node-input-connection"> |
286 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
| 283 | + <div class="form-row"> |
| 284 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
287 | 285 | <input type="text" id="node-input-connection"> |
288 | 286 | </div> |
289 | 287 | <div class="form-row"> |
290 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
| 288 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
291 | 289 | <select id="node-input-thing"> |
292 | 290 | </select> |
293 | 291 | </div> |
294 | 292 | <div class="form-row"> |
295 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
| 293 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
296 | 294 | <select id="node-input-property"> |
297 | 295 | </select> |
298 | 296 | </div> |
299 | 297 | <div class="form-row" id="time-window-show"> |
300 | | - <label for="node-input-timeWindowCount"><i class="fa fa-history"></i> Time filter</label> |
| 298 | + <label for="node-input-timeWindowCount"><i class="fa fa-history fa-fw"></i> Time filter</label> |
301 | 299 | <label for="node-input-timeWindowCount" style="width:auto">last</label> |
302 | 300 | <input type="text" id="node-input-timeWindowCount" style="width:50px;"> |
303 | 301 | <select id="node-input-timeWindowUnit" style="width:80px;"> |
|
311 | 309 | <input type="hidden" id="node-input-lastPoints" style="width:60px;" placeholder="1000"> |
312 | 310 | </div> |
313 | 311 | <div class="form-row"> |
314 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
| 312 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
315 | 313 | <input type="text" id="node-input-name" placeholder="Name"> |
316 | 314 | </div> |
317 | 315 | </script> |
|
320 | 318 | </script> |
321 | 319 |
|
322 | 320 | <script type="text/x-red" data-template-name="property in poll"> |
323 | | - <div class="form-row node-input-connection"> |
324 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
| 321 | + <div class="form-row"> |
| 322 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
325 | 323 | <input type="text" id="node-input-connection"> |
326 | 324 | </div> |
327 | 325 | <div class="form-row"> |
328 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
| 326 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
329 | 327 | <select id="node-input-thing"> |
330 | 328 | </select> |
331 | 329 | </div> |
332 | 330 | <div class="form-row"> |
333 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
| 331 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
334 | 332 | <select id="node-input-property"> |
335 | 333 | </select> |
336 | 334 | </div> |
337 | 335 | <div class="form-row" id="time-window-show"> |
338 | | - <label for="node-input-timeWindowCount"><i class="fa fa-repeat"></i> Poll Every</label> |
| 336 | + <label for="node-input-timeWindowCount"><i class="fa fa-repeat fa-fw"></i> Poll Every</label> |
339 | 337 | <input type="text" id="node-input-timeWindowCount" style="width:50px;"> |
340 | 338 | <select id="node-input-timeWindowUnit" style="width:80px;"> |
341 | 339 | <option value="1">seconds</option> |
|
348 | 346 | <input type="hidden" id="node-input-lastPoints" style="width:60px;" placeholder="1000"> |
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> |
|
358 | 356 |
|
359 | 357 |
|
360 | 358 | <script type="text/x-red" data-template-name="property in push"> |
361 | | - <div class="form-row node-input-connection"> |
362 | | - <label for="node-input-connection"><i class="fa fa-random"></i> Connection</label> |
| 359 | + <div class="form-row"> |
| 360 | + <label for="node-input-connection"><i class="fa fa-random fa-fw"></i> Connection</label> |
363 | 361 | <input type="text" id="node-input-connection"> |
364 | 362 | </div> |
365 | 363 | <div class="form-row"> |
366 | | - <label for="node-input-thing"><i class="fa fa-microchip"></i> Thing</label> |
| 364 | + <label for="node-input-thing"><i class="fa fa-cubes fa-fw"></i> Thing</label> |
367 | 365 | <select id="node-input-thing"> |
368 | 366 | </select> |
369 | 367 | </div> |
370 | 368 | <div class="form-row"> |
371 | | - <label for="node-input-property"><i class="fa fa-thermometer-full"></i> Property</label> |
| 369 | + <label for="node-input-property"><i class="fa fa-cube fa-fw"></i> Property</label> |
372 | 370 | <select id="node-input-property"> |
373 | 371 | </select> |
374 | 372 | </div> |
375 | 373 | <div class="form-row"> |
376 | | - <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> |
| 374 | + <label for="node-input-name"><i class="fa fa-tag fa-fw"></i> Name</label> |
377 | 375 | <input type="text" id="node-input-name" placeholder="Name"> |
378 | 376 | </div> |
379 | 377 | </script> |
|
0 commit comments