1
0
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:
Dave C-J 2013-10-15 21:11:45 +01:00
parent 3bab2a0b8d
commit 4780c2bfe8
3 changed files with 5 additions and 5 deletions

View File

@ -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">

View File

@ -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":"";

View File

@ -63,7 +63,7 @@
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:""}
}, },