mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
move name field to top for a bunch of nodes
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
|
||||
<script type="text/html" data-template-name="discovery">
|
||||
<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-service"><i class="fa fa-gear"></i> Service</label>
|
||||
<input type="text" id="node-input-service" placeholder="_http._tcp">
|
||||
@@ -8,10 +12,6 @@
|
||||
<label for="node-input-topic"><i class="fa fa-tasks"></i> Topic</label>
|
||||
<input type="text" id="node-input-topic" placeholder="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>
|
||||
<div class="form-tips">The service <i>must</i> start with an underscore _ and end ._tcp or ._udp</div>
|
||||
</script>
|
||||
|
||||
@@ -52,6 +52,10 @@
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="announce">
|
||||
<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 of service">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-service"><i class="fa fa-gear"></i> Service</label>
|
||||
<input type="text" id="node-input-service" placeholder="_http._tcp">
|
||||
@@ -64,10 +68,6 @@
|
||||
<label for="node-input-txt"><i class="fa fa-tasks"></i> TxtRecord</label>
|
||||
<input type="text" id="node-input-txt" placeholder='"name":"value","name2":"value2"'>
|
||||
</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 of service">
|
||||
</div>
|
||||
<div class="form-tips">%h in the name will be replaced by the machine hostname.</div>
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user