move name field to top for a bunch of nodes

This commit is contained in:
Dave Conway-Jones
2023-11-28 17:56:07 +00:00
parent 54dc363490
commit 5371f9bb92
40 changed files with 177 additions and 177 deletions

View File

@@ -1,5 +1,9 @@
<script type="text/html" data-template-name="wake on lan">
<div class="form-row">
<label for="node-input-name" style="width:120px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-mac" style="width:120px;"><i class="fa fa-address-card-o"></i> MAC Address</label>
<input type="text" id="node-input-mac" placeholder="e.g. DE:AD:BE:EF:FE:ED">
@@ -20,10 +24,6 @@
<label for="node-input-interval" style="width:120px;"><i class="fa fa-clock-o"></i> Interval Between Packets (ms)</label>
<input type="number" id="node-input-interval" placeholder="100">
</div>
<div class="form-row">
<label for="node-input-name" style="width:120px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: leave blank if you want to use <code>msg.mac</code> or <code>msg.host</code> to dynamically set target information.</div>
</script>

View File

@@ -1,6 +1,6 @@
{
"name": "node-red-node-wol",
"version": "0.2.0",
"version": "0.2.1",
"description": "A Node-RED node to send Wake-On-LAN (WOL) magic packets",
"dependencies": {
"wake_on_lan": "^1.0.0"
@@ -23,7 +23,7 @@
},
"author": {
"name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com",
"email": "dceejay@gmail.com",
"url": "http://nodered.org"
}
}