more formatting
This commit is contained in:
parent
876df286e3
commit
07de6177da
1 changed files with 8 additions and 3 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue