mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Update comment node to fa icons - plus matching node icon.
This commit is contained in:
		| @@ -15,20 +15,20 @@ | ||||
| --> | ||||
|  | ||||
| <script type="text/x-red" data-template-name="comment"> | ||||
| 	<div class="form-row"> | ||||
| 		<label for="node-input-name"><i class="icon-tag"></i> Comment</label> | ||||
| 		<input type="text" id="node-input-name" placeholder="Comment"> | ||||
| 	</div> | ||||
| 	<div class="form-row"> | ||||
|         <label for="node-input-info" style="width: 100% !important;"><i class="icon-file"></i> More</label> | ||||
|     <div class="form-row"> | ||||
|         <label for="node-input-name"><i class="fa fa-comment"></i> Comment</label> | ||||
|         <input type="text" id="node-input-name" placeholder="Comment"> | ||||
|     </div> | ||||
|     <div class="form-row"> | ||||
|         <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"> | ||||
|         <div style="height: 250px;" class="node-text-editor" id="node-input-info-editor" ></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 type="text/x-red" data-help-name="comment"> | ||||
| 	<p>Simple comment block.</p> | ||||
|     <p>Simple comment block.</p> | ||||
| </script> | ||||
|  | ||||
| <script type="text/javascript"> | ||||
| @@ -41,7 +41,7 @@ | ||||
|         }, | ||||
|         inputs:0, | ||||
|         outputs:0, | ||||
|         icon: "file.png", | ||||
|         icon: "comment.png", | ||||
|         label: function() { | ||||
|             return this.name||""; | ||||
|         }, | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								public/icons/comment.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/icons/comment.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 601 B | 
		Reference in New Issue
	
	Block a user