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{
|
#host-game-table th{
|
||||||
padding: 0;
|
padding: 0 20px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#host-game-table td{
|
#host-game-table td{
|
||||||
padding: 6px 20px 0 0;
|
padding: 6px 20px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#host-game-table td.center{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
#host-game-table.dataTable{
|
#host-game-table.dataTable{
|
||||||
width: unset;
|
width: unset;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th>Seed</th>
|
<th>Seed</th>
|
||||||
<th>Room</th>
|
<th>Room</th>
|
||||||
<th>Players</th>
|
<th class="center">Players</th>
|
||||||
<th>Created (UTC)</th>
|
<th>Created (UTC)</th>
|
||||||
<th>Last Activity (UTC)</th>
|
<th>Last Activity (UTC)</th>
|
||||||
|
|
||||||
|
@ -40,11 +40,12 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for room in rooms %}
|
{% for room in rooms %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ url_for("viewSeed", seed=room.seed.id) }}">{{ room.seed.id|suuid }}</a>
|
<td><a href="{{ url_for("viewSeed", seed=room.seed.id) }}">{{ room.seed.id|suuid }}</a></td>
|
||||||
</td>
|
|
||||||
<td><a href="{{ url_for("hostRoom", room=room.id) }}">{{ room.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:
|
<td
|
||||||
{{ room.seed.multidata.names[0]|join(", ")|truncate(256, False, " ...") }}</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.creation_time.strftime("%Y-%m-%d %H:%M") }}</td>
|
||||||
<td>{{ room.last_activity.strftime("%Y-%m-%d %H:%M") }}</td>
|
<td>{{ room.last_activity.strftime("%Y-%m-%d %H:%M") }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue