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! {
|
||||
<span>
|
||||
<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 Discard: {move || game_meta().unwrap().white_discard_count}</p>
|
||||
<p>Black Deck: {move || game_meta().unwrap().black_count}</p>
|
||||
|
@ -47,12 +46,18 @@ fn Scoreboard() -> impl IntoView {
|
|||
<tr>
|
||||
<td>
|
||||
{if game_meta().unwrap().czar == player.name {
|
||||
"👑 "
|
||||
"👑"
|
||||
} else {
|
||||
""
|
||||
}}
|
||||
</td>
|
||||
<td>{player.name}</td>
|
||||
<td>
|
||||
{if game_meta().unwrap().host == player.name {
|
||||
"⚜ "
|
||||
} else {
|
||||
""
|
||||
}} {player.name}
|
||||
</td>
|
||||
<td class="text-center">{player.score}</td>
|
||||
</tr>
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue