summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r--app/views/layouts/application.html.erb11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 485aa21..fc627a2 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -21,9 +21,10 @@
<%= render "navbar" %>
<% end %>
<div class="flex flex-col col-span-12 sm:col-span-8">
- <div class="game-container-box mb-2" style="height: 10rem;">
- Results go here.
- </div>
+ <% if user_signed_in? %>
+ <div class="game-container-box mb-2 overflow-auto text-sm" style="height: 10rem;" id="result_output">
+ </div>
+ <% end %>
<div class="game-container-box" style="height: 25rem;">
<%= render "flash_messages" %>
<%= yield %>
@@ -32,7 +33,9 @@
<% if user_signed_in? %>
<div class="flex flex-col col-span-12 sm:col-span-4">
<div class="game-container-box mb-2" style="height: 15rem;">
- Timer goes here.
+ <div id="result_controls">
+ <%= render "timer" %>
+ </div>
</div>
<div id="chat" class="game-container-box col-span-12 sm:col-span-4" style="height: 20rem;"
data-turbolinks-permanent>