1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update comment node to fa icons - plus matching node icon.

This commit is contained in:
Dave C-J 2014-06-08 22:13:12 +01:00
parent fe1b7c54ff
commit 2d9e72816f
2 changed files with 9 additions and 9 deletions

View File

@ -16,15 +16,15 @@
<script type="text/x-red" data-template-name="comment"> <script type="text/x-red" data-template-name="comment">
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Comment</label> <label for="node-input-name"><i class="fa fa-comment"></i> Comment</label>
<input type="text" id="node-input-name" placeholder="Comment"> <input type="text" id="node-input-name" placeholder="Comment">
</div> </div>
<div class="form-row"> <div class="form-row">
<label for="node-input-info" style="width: 100% !important;"><i class="icon-file"></i> More</label> <label for="node-input-info" style="width: 100% !important;"><i class="fa fa-comments"></i> More</label>
<input type="hidden" id="node-input-info" autofocus="autofocus"> <input type="hidden" id="node-input-info" autofocus="autofocus">
<div style="height: 250px;" class="node-text-editor" id="node-input-info-editor" ></div> <div style="height: 250px;" class="node-text-editor" id="node-input-info-editor" ></div>
</div> </div>
<div class="form-tips">Tip: this isn't meant for War and Peace - but useful notes can be kept here.</div> <div class="form-tips">Tip: this isn't meant for "War and Peace" - but useful notes can be kept here.</div>
</script> </script>
<script type="text/x-red" data-help-name="comment"> <script type="text/x-red" data-help-name="comment">
@ -41,7 +41,7 @@
}, },
inputs:0, inputs:0,
outputs:0, outputs:0,
icon: "file.png", icon: "comment.png",
label: function() { label: function() {
return this.name||""; return this.name||"";
}, },

BIN
public/icons/comment.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B