mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Tweaks to edit icons, and make Twitter show seach tags as label rather than just Twitter
This commit is contained in:
parent
3bab2a0b8d
commit
4780c2bfe8
@ -16,11 +16,11 @@
|
|||||||
|
|
||||||
<script type="text/x-red" data-template-name="exec">
|
<script type="text/x-red" data-template-name="exec">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-command"><i class="icon-label"></i> Command</label>
|
<label for="node-input-command"><i class="icon-file"></i> Command</label>
|
||||||
<input type="text" id="node-input-command" placeholder="command">
|
<input type="text" id="node-input-command" placeholder="command">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-append"><i class="icon-label"></i> Append</label>
|
<label for="node-input-append"><i class="icon-list"></i> Append</label>
|
||||||
<input type="text" id="node-input-append" placeholder="extra input">
|
<input type="text" id="node-input-append" placeholder="extra input">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
@ -147,7 +147,7 @@
|
|||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "twitter.png",
|
icon: "twitter.png",
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this.topic;
|
return this.name||this.tags;
|
||||||
},
|
},
|
||||||
labelStyle: function() {
|
labelStyle: function() {
|
||||||
return this.name?"node_label_italic":"";
|
return this.name?"node_label_italic":"";
|
||||||
|
@ -63,8 +63,8 @@
|
|||||||
server: { value:"",required:true},
|
server: { value:"",required:true},
|
||||||
port: {value:5222,required:true},
|
port: {value:5222,required:true},
|
||||||
to: {value:""},
|
to: {value:""},
|
||||||
join: {value:"false"},
|
join: {value:false},
|
||||||
sendObject: { value:false },
|
sendObject: {value:false},
|
||||||
nick: {value:""}
|
nick: {value:""}
|
||||||
},
|
},
|
||||||
inputs:1,
|
inputs:1,
|
||||||
|
Loading…
Reference in New Issue
Block a user