29 lines
744 B
HTML
29 lines
744 B
HTML
<script type="text/javascript">
|
|
RED.nodes.registerType('c-thermostat',{
|
|
category: 'Combined RN',
|
|
color: '#a6bbcf',
|
|
paletteLabel: 'C-Thermostat',
|
|
defaults: {
|
|
name: {value:""}
|
|
},
|
|
inputs: 1,
|
|
outputs: 1,
|
|
icon: "file.svg",
|
|
label: function() {
|
|
return this.name||"C-Thermostat";
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script type="text/html" data-template-name="c-thermostat">
|
|
<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">
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/html" data-help-name="c-thermostat">
|
|
<p>c-thermostat/p>
|
|
</script>
|
|
|