summaryrefslogtreecommitdiff
path: root/webapp/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components')
-rw-r--r--webapp/src/components/table.rs14
1 files changed, 10 insertions, 4 deletions
diff --git a/webapp/src/components/table.rs b/webapp/src/components/table.rs
index 403ee8d..bd49b10 100644
--- a/webapp/src/components/table.rs
+++ b/webapp/src/components/table.rs
@@ -87,12 +87,18 @@ impl OnlineTableInner {
html! {
<>
<div class="game-layout">
+ <div class="navbar">
+ <ul>
+ <li>{format!("This is table {}", ctx.props().table.id)}</li>
+ <li>
+ <button onclick={leave_table}>
+ { "Leave table" }
+ </button>
+ </li>
+ </ul>
+ </div>
{center}
</div>
- <p>{format!("This is table {}", ctx.props().table.id)}</p>
- <button onclick={leave_table}>
- { "Leave table" }
- </button>
</>
}
}