summaryrefslogtreecommitdiff
path: root/webapp/src/components/table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/table.rs')
-rw-r--r--webapp/src/components/table.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/webapp/src/components/table.rs b/webapp/src/components/table.rs
index bf66897..6ccb9d1 100644
--- a/webapp/src/components/table.rs
+++ b/webapp/src/components/table.rs
@@ -181,7 +181,15 @@ pub fn playing_view(
html! {
<>
<div class="center">
- <TrickInPlay in_progress={playing.current_trick.clone()}/>
+ <div class="playing-center-layout">
+ <div class="current-trick">
+ <TrickInPlay trick={playing.current_trick.trick.clone()}/>
+ </div>
+ <div class="previous-trick">
+ <p>{"Last trick"}</p>
+ <TrickInPlay trick={playing.previous_trick.clone()}/>
+ </div>
+ </div>
</div>
<div class="hand north">
{ dummy }