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="xmpp in">
|
||||
<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-server"><i class="fa fa-bookmark"></i> Connect as</label>
|
||||
<input type="text" id="node-input-server">
|
||||
@@ -17,10 +21,6 @@
|
||||
<label for="node-input-password"><i class="fa fa-lock"></i> Password</label>
|
||||
<input type="password" id="node-input-password" placeholder="optional room password">
|
||||
</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"><b>Note:</b> By leaving Buddy empty and ticking "Is a chat room",
|
||||
the node will try to listen to all the rooms the user has access to.
|
||||
You can specify multiple rooms by separating them by a :
|
||||
@@ -72,6 +72,10 @@
|
||||
|
||||
|
||||
<script type="text/html" data-template-name="xmpp out">
|
||||
<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-server"><i class="fa fa-bookmark"></i> Connect as</label>
|
||||
<input type="text" id="node-input-server">
|
||||
@@ -94,10 +98,6 @@
|
||||
<label for="node-input-password"><i class="fa fa-lock"></i> Password</label>
|
||||
<input type="password" id="node-input-password" placeholder="optional room password">
|
||||
</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 <b>To</b> field is optional. If not set uses the <code>msg.topic</code> property of the message.</div>
|
||||
</script>
|
||||
|
||||
@@ -146,6 +146,10 @@
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="xmpp-server">
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-resource"><i class="fa fa-globe"></i> Resource</label>
|
||||
<input type="text" id="node-config-input-resource" placeholder="optional resource id">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-server"><i class="fa fa-bookmark"></i> Server</label>
|
||||
<input class="input-append-left" type="text" id="node-config-input-server" placeholder="blah.im" style="width: 40%;" >
|
||||
@@ -164,10 +168,6 @@
|
||||
<label for="node-config-input-password"><i class="fa fa-lock"></i> Password</label>
|
||||
<input type="password" id="node-config-input-password">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-resource"><i class="fa fa-globe"></i> Resource</label>
|
||||
<input type="text" id="node-config-input-resource" placeholder="optional resource id">
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
Reference in New Issue
Block a user