Switched WRITE and PICK columns on leaderboard to make it easier to see who wrote what, fixes #1
This commit is contained in:
		
							parent
							
								
									f0e9da04f3
								
							
						
					
					
						commit
						f81549af79
					
				@ -261,8 +261,8 @@ socket.on("ANSWER", function(data){
 | 
			
		||||
	page += "<thead>";
 | 
			
		||||
	page += "<th></th>";
 | 
			
		||||
	page += "<th></th>";
 | 
			
		||||
	page += "<th>Picked</th>";
 | 
			
		||||
	page += "<th>Wrote</th>";
 | 
			
		||||
	page += "<th>Picked</th>";
 | 
			
		||||
	page += "<th>Change</th>";
 | 
			
		||||
	page += "<th>Points</th>";
 | 
			
		||||
	page += "</thead>";
 | 
			
		||||
@ -272,8 +272,8 @@ socket.on("ANSWER", function(data){
 | 
			
		||||
		page += "<tr>";
 | 
			
		||||
		page += "<td>"+data.usernames[i]+"</td>";
 | 
			
		||||
		page += "<td>"+(data.userWrite[i] == data.submissions[data.bestLine] ? "<i class='fas fa-trophy' style='color: #FFD700;'></i>" : "")+"</td>";
 | 
			
		||||
		page += "<td>"+data.submissions[data.userPick[i]]+"</td>";
 | 
			
		||||
		page += "<td>"+data.userWrite[i]+"</td>";
 | 
			
		||||
		page += "<td>"+data.submissions[data.userPick[i]]+"</td>";
 | 
			
		||||
		page += "<td>+"+data.pointsDiff[i]+"</td>";
 | 
			
		||||
		page += "<td>"+data.userPoints[i]+"</td>";
 | 
			
		||||
		page += "</tr>";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user