mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add some info words to config nodes
This commit is contained in:
parent
d125ecc671
commit
ea76c18f59
@ -227,9 +227,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="text/x-red" data-help-name="mqtt-broker">
|
||||||
|
<p>A minimum MQTT broker connecton requires only a broker server address to be added to the default configuration.</p>
|
||||||
|
<p>To secure the connection with SSL/TLS, a TLS Configuration must also be configured and selected.</p>
|
||||||
|
<p>If you create a Client ID it must be unique to the broker you are connecting to.</p>
|
||||||
|
<p>For more information about MQTT see the <a href="http://www.eclipse.org/paho/" target="_new">Eclipse Paho</a> site.</p>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -266,7 +270,7 @@
|
|||||||
password: {type: "password"}
|
password: {type: "password"}
|
||||||
},
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
if (this.broker == "") { this.broker = "localhost"; }
|
if (this.broker === "") { this.broker = "localhost"; }
|
||||||
return (this.clientid?this.clientid+"@":"")+this.broker+":"+this.port;
|
return (this.clientid?this.clientid+"@":"")+this.broker+":"+this.port;
|
||||||
},
|
},
|
||||||
oneditprepare: function () {
|
oneditprepare: function () {
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
if (root.slice(-1) == "/") {
|
if (root.slice(-1) == "/") {
|
||||||
root = root.slice(0,-1);
|
root = root.slice(0,-1);
|
||||||
}
|
}
|
||||||
if (root == "") {
|
if (root === "") {
|
||||||
$("#node-config-ws-tip").hide();
|
$("#node-config-ws-tip").hide();
|
||||||
} else {
|
} else {
|
||||||
$("#node-config-ws-path").html(root);
|
$("#node-config-ws-path").html(root);
|
||||||
@ -248,7 +248,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="websocket-listener">
|
<script type="text/x-red" data-help-name="websocket-listener">
|
||||||
<p>This configuration node creates a WebSocket Server using the specified path</p>
|
<p>This configuration node creates a WebSocket Server endpoint using the specified path.</p>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- WebSocket Client configuration node -->
|
<!-- WebSocket Client configuration node -->
|
||||||
@ -273,4 +273,3 @@
|
|||||||
<script type="text/x-red" data-help-name="websocket-client">
|
<script type="text/x-red" data-help-name="websocket-client">
|
||||||
<p>This configuration node connects a WebSocket client to the specified URL.</p>
|
<p>This configuration node connects a WebSocket client to the specified URL.</p>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user