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="sunrise">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="sunrise.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]sunrise.label.name">
</div>
<div class="form-row">
<label for="node-input-lat"><i class="fa fa-globe"></i><span data-i18n="sunrise.label.latitude"></span></label>
<input type="text" id="node-input-lat" placeholder="51.025">
@@ -35,10 +39,6 @@
<span style="margin-right:4px" data-i18n="sunrise.start"></span> <input type="text" id="node-input-soff" placeholder="minutes" style='width:60px;' > <span data-i18n="sunrise.mins"></span>
<span style="margin-left:14px; margin-right:4px" data-i18n="sunrise.end"></span> <input type="text" id="node-input-eoff" placeholder="minutes" style='width:60px;'><span data-i18n="sunrise.mins"></span>
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="sunrise.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]sunrise.label.name">
</div>
</script>
<script type="text/javascript">

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-suncalc",
"version" : "1.1.0",
"version" : "1.1.1",
"description" : "A Node-RED node to provide a signal at sunrise and sunset",
"dependencies" : {
"suncalc" : "^1.8.0"
@@ -19,7 +19,7 @@
},
"author": {
"name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com",
"email": "dceejay@gmail.com",
"url": "http://nodered.org"
}
}

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-timeswitch",
"version" : "1.1.1",
"version" : "1.1.2",
"description" : "A Node-RED node to provide a simple timeswitch to schedule daily on/off events.",
"dependencies" : {
"spacetime": "^7.4.3",
@@ -20,7 +20,7 @@
},
"author": {
"name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com",
"email": "dceejay@gmail.com",
"url": "http://nodered.org"
},
"contributors": [

View File

@@ -1,5 +1,9 @@
<script type="text/html" data-template-name="timeswitch">
<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>
<div class="form-row">
<label for="node-input-starttime"><i class="fa fa-clock-o"></i> Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On</label>
<select id="node-input-starttime" style="width:24% !important">
@@ -870,10 +874,6 @@
<label for="node-input-mytopic"><i class="fa fa-tasks"></i> Topic </label>
<input type="text" id="node-input-mytopic" placeholder="optional msg.topic">
</div>
<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/javascript">