condense scoreboard
This commit is contained in:
parent
177fec75b7
commit
71bd306ffb
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,6 @@ fn Scoreboard() -> impl IntoView {
|
||||||
<th></th>
|
<th></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>"Score"</th>
|
<th>"Score"</th>
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{game_meta()
|
{game_meta()
|
||||||
|
@ -41,8 +40,10 @@ fn Scoreboard() -> impl IntoView {
|
||||||
<td>
|
<td>
|
||||||
{if game_meta().unwrap().czar == player.name {
|
{if game_meta().unwrap().czar == player.name {
|
||||||
"👑"
|
"👑"
|
||||||
|
} else if player.submitted {
|
||||||
|
"🟢"
|
||||||
} else {
|
} else {
|
||||||
""
|
"⚫"
|
||||||
}}
|
}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -53,7 +54,6 @@ fn Scoreboard() -> impl IntoView {
|
||||||
}} {player.name}
|
}} {player.name}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">{player.score}</td>
|
<td class="text-center">{player.score}</td>
|
||||||
<td>{if player.submitted { "🟢" } else { "⚫" }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue