mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Tidy up node label and edit dialog
This commit is contained in:
parent
2a753c9d22
commit
17e4bf1a11
@ -23,8 +23,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" id="node-prop-row">
|
<div class="form-row" id="node-prop-row">
|
||||||
<label for="node-input-complete"> </label>msg.
|
<label for="node-input-complete"> </label>msg.<input type="text" style="width:208px" id="node-input-complete">
|
||||||
<input type="text" style="width:205px" id="node-input-complete">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-console"><i class="fa fa-random"></i> to</label>
|
<label for="node-input-console"><i class="fa fa-random"></i> to</label>
|
||||||
@ -87,9 +86,9 @@
|
|||||||
},
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
if (this.complete === "true") {
|
if (this.complete === "true") {
|
||||||
return this.name||"debug msg";
|
return this.name||"msg";
|
||||||
} else {
|
} else {
|
||||||
return this.name||"debug msg." + this.complete;
|
return this.name || "msg." + (this.complete === "false" ? "payload" : this.complete);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
labelStyle: function() {
|
labelStyle: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user