mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
remove old x-red style for better highlighting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<script type="text/x-red" data-template-name="blink1">
|
||||
<script type="text/html" data-template-name="blink1">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="blink1">
|
||||
<script type="text/html" data-help-name="blink1">
|
||||
<p>ThingM Blink1 output node.</p>
|
||||
<p>Expects a <code>msg.payload</code> with either a three part csv string of
|
||||
<i>r,g,b</i> or a hex colour <i>#rrggbb</i></p>
|
||||
@@ -38,7 +38,7 @@
|
||||
icon: "light.png",
|
||||
align: "right",
|
||||
label: function() {
|
||||
return this.name||"blink1 out";
|
||||
return this.name||"blink1";
|
||||
},
|
||||
labelStyle: function() {
|
||||
return this.name?"node_label_italic":"";
|
||||
@@ -59,7 +59,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-template-name="blink1 in">
|
||||
<script type="text/html" data-template-name="blink1 in">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="blink1 in">
|
||||
<script type="text/html" data-help-name="blink1 in">
|
||||
<p>ThingM Blink1 input node.</p>
|
||||
<p>Outputs the current RGB value as array <code>[r,g,b]</code> or "off" as string if RGB is 0,0,0 to <code>msg.payload</code>.</p>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user