mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Changed comments icons.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 1000 B After Width: | Height: | Size: 582 B | 
							
								
								
									
										
											BIN
										
									
								
								xCAT-UI/images/ui-icon-no-comment.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								xCAT-UI/images/ui-icon-no-comment.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 745 B | 
| @@ -1814,7 +1814,7 @@ function loadComments(data) { | ||||
| 	var dTable = getNodesDataTable(); | ||||
| 	 | ||||
| 	// Go through each node | ||||
| 	var node, comments, icon, tipID, tip; | ||||
| 	var node, comments, icon, iconSrc, tipID, tip; | ||||
| 	var rowPos, node, status; | ||||
| 	for ( var i in out) { | ||||
| 		// out[0][0] = node name and out[0][1] = comments | ||||
| @@ -1823,12 +1823,15 @@ function loadComments(data) { | ||||
| 		 | ||||
| 		// If no comments exists, show "no comments" | ||||
| 		if (!comments) { | ||||
| 			comments = "No comments"; | ||||
| 			comments = 'No comments'; | ||||
| 			iconSrc = 'images/ui-icon-no-comment.png'; | ||||
| 		} else { | ||||
| 			iconSrc = 'images/ui-icon-comment.png'; | ||||
| 		} | ||||
| 				 | ||||
| 		// Create comments icon | ||||
| 		tipID = node + 'Tip'; | ||||
| 		icon = $('<img id="' + tipID + '" src="images/ui-icon-comment.png"></img>').css({ | ||||
| 		icon = $('<img id="' + tipID + '" src="' + iconSrc + '"></img>').css({ | ||||
| 			'width': '18px', | ||||
| 			'height': '18px' | ||||
| 		}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user