summaryrefslogtreecommitdiff
path: root/app/views/look/show.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-27 18:41:51 -0400
committerDavid Gay <david@davidgay.org>2021-05-27 18:41:51 -0400
commit65c1ee3dbaf5c0a030dd28a7e3f41d47c7652cb1 (patch)
tree7536a43e8656d7cecc867c9a221fced1f225f731 /app/views/look/show.html.erb
parent2c2de801b4481695f3d1b6b14527116092cb1197 (diff)
Move active action display with timer and results to a `LookController`
Diffstat (limited to 'app/views/look/show.html.erb')
-rw-r--r--app/views/look/show.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/look/show.html.erb b/app/views/look/show.html.erb
new file mode 100644
index 0000000..a0c1bd7
--- /dev/null
+++ b/app/views/look/show.html.erb
@@ -0,0 +1,10 @@
+<h1 class="text-2xl"><%= current_char.activity.name %></h1>
+<p><%= current_char.activity.description %></p>
+
+<div class="min-w-full my-2 px-1 overflow-auto text-sm border-2 border-gray-800 rounded"
+ style="height: 30rem;" id="result_output">
+</div>
+
+<div id="result_controls">
+ <%= render "timer" %>
+</div>