more formatting

This commit is contained in:
Adam 2024-08-30 01:41:32 -04:00
parent 876df286e3
commit 07de6177da

View file

@ -8,7 +8,6 @@ fn Meta() -> impl IntoView {
view! { view! {
<span> <span>
<p>Name: {move || game_meta().unwrap().name}</p> <p>Name: {move || game_meta().unwrap().name}</p>
<p>Host: {move || game_meta().unwrap().host}</p>
<p>White Deck: {move || game_meta().unwrap().white_count}</p> <p>White Deck: {move || game_meta().unwrap().white_count}</p>
<p>White Discard: {move || game_meta().unwrap().white_discard_count}</p> <p>White Discard: {move || game_meta().unwrap().white_discard_count}</p>
<p>Black Deck: {move || game_meta().unwrap().black_count}</p> <p>Black Deck: {move || game_meta().unwrap().black_count}</p>
@ -52,7 +51,13 @@ fn Scoreboard() -> impl IntoView {
"" ""
}} }}
</td> </td>
<td>{player.name}</td> <td>
{if game_meta().unwrap().host == player.name {
""
} else {
""
}} {player.name}
</td>
<td class="text-center">{player.score}</td> <td class="text-center">{player.score}</td>
</tr> </tr>
} }