node-red-contrib-dellmonitor
Version:
RS232 over network control of a Dell CS5517H LCD Monitor
34 lines (31 loc) • 1.01 kB
HTML
<!-- Settings Panel -->
<script type="text/x-red" data-template-name="dell-CS5517H">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-network"><i class="icon-bookmark"></i> Network</label>
<input type="text" id="node-input-network">
</div>
</script>
<!-- Register -->
<script type="text/javascript">
RED.nodes.registerType('dell-CS5517H', {
category: 'Dell',
color: '#5361a5',
defaults: {
name: {value: ""},
network: {value: "", type: "dell-network"}
},
inputs: 1,
outputs: 1,
icon: "dell.png",
label: function() {
return this.name||"CS5517H";
}
});
</script>
<!-- Information Panel -->
<script type="text/x-red" data-help-name="dell-CS5517H">
</script>