Add player names to a tooltip on player count for /uploads page
This commit is contained in:
		
							parent
							
								
									f2afd1eef9
								
							
						
					
					
						commit
						3979013aa9
					
				|  | @ -35,13 +35,17 @@ | |||
| } | ||||
| 
 | ||||
| #host-game-table th{ | ||||
|     padding: 0; | ||||
|     padding: 0 20px 0 0; | ||||
| } | ||||
| 
 | ||||
| #host-game-table td{ | ||||
|     padding: 6px 20px 0 0; | ||||
| } | ||||
| 
 | ||||
| #host-game-table td.center{ | ||||
|     text-align: center; | ||||
| } | ||||
| 
 | ||||
| #host-game-table.dataTable{ | ||||
|     width: unset; | ||||
| 
 | ||||
|  |  | |||
|  | @ -31,7 +31,7 @@ | |||
|                         <tr> | ||||
|                             <th>Seed</th> | ||||
|                             <th>Room</th> | ||||
|                             <th>Players</th> | ||||
|                             <th class="center">Players</th> | ||||
|                             <th>Created (UTC)</th> | ||||
|                             <th>Last Activity (UTC)</th> | ||||
| 
 | ||||
|  | @ -40,11 +40,12 @@ | |||
|                     <tbody> | ||||
|                     {% for room in rooms %} | ||||
|                         <tr> | ||||
|                             <td><a href="{{ url_for("viewSeed", seed=room.seed.id) }}">{{ room.seed.id|suuid }}</a> | ||||
|                             </td> | ||||
|                             <td><a href="{{ url_for("viewSeed", seed=room.seed.id) }}">{{ room.seed.id|suuid }}</a></td> | ||||
|                             <td><a href="{{ url_for("hostRoom", room=room.id) }}">{{ room.id|suuid }}</a></td> | ||||
|                             <td>{{ room.seed.multidata.names[0]|length }} Total: | ||||
|                                 {{ room.seed.multidata.names[0]|join(", ")|truncate(256, False, " ...") }}</td> | ||||
|                             <td | ||||
|                                 class="center" | ||||
|                                 data-tooltip="{{ room.seed.multidata.names[0]|join(", ")|truncate(256, False, " ...") }}" | ||||
|                             >{{ room.seed.multidata.names[0]|length }}</td> | ||||
|                             <td>{{ room.creation_time.strftime("%Y-%m-%d %H:%M") }}</td> | ||||
|                             <td>{{ room.last_activity.strftime("%Y-%m-%d %H:%M") }}</td> | ||||
|                         </tr> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue