mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Update Smooth node to our more normal html layout....
This commit is contained in:
parent
71a02ebbce
commit
2193eaab24
@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
<script type="text/x-red" data-template-name="smooth">
|
<script type="text/x-red" data-template-name="smooth">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<select id="node-input-action" style="width:80%; margin-right:5px;">
|
<label for="node-input-action"><i class="fa fa-bolt"></i> Action</label>
|
||||||
|
<select id="node-input-action" style="width:60%; margin-right:5px;">
|
||||||
<option value="max">Return the maximum value seen</option>
|
<option value="max">Return the maximum value seen</option>
|
||||||
<option value="min">Return the minimum value seen</option>
|
<option value="min">Return the minimum value seen</option>
|
||||||
<option value="mean">Return the mean value seen</option>
|
<option value="mean">Return the mean value seen</option>
|
||||||
@ -25,13 +26,14 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
<label for="node-input-count"> </label>
|
||||||
<span id="node-over">over the most recent </span>
|
<span id="node-over">over the most recent </span>
|
||||||
<input type="text" id="node-input-count" placeholder="10" style="width:80px;"/>
|
<input type="text" id="node-input-count" placeholder="10" style="width:80px;"/>
|
||||||
<span id="node-over2"> values.</span>
|
<span id="node-over2"> values.</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-round" style="width:200px;">Round to nearest integer ?</label>
|
<label for="node-input-round"> </label>
|
||||||
<input type="checkbox" id="node-input-round" style="display: inline-block; width: auto; vertical-align: top;">
|
<input type="checkbox" id="node-input-round" style="display: inline-block; width: auto; vertical-align: top;"> Round to the nearest integer ?
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-smooth",
|
"name" : "node-red-node-smooth",
|
||||||
"version" : "0.0.1",
|
"version" : "0.0.2",
|
||||||
"description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.",
|
"description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user