diff options
author | David Gay <david@davidgay.org> | 2021-05-04 17:55:28 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-04 17:57:12 -0400 |
commit | 73744a9c6840fb0ba6f285ca81f9fba75ec22d5f (patch) | |
tree | 837333e9e46c5ccc6cf50214a94c2b9b6d0bb7f3 /app/views/activities/show.html.erb | |
parent | dddbf75428477f5e073584939d098e55d6324be3 (diff) |
Initial draft of timer setup, with results outputting and items being awarded
Diffstat (limited to 'app/views/activities/show.html.erb')
-rw-r--r-- | app/views/activities/show.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/activities/show.html.erb b/app/views/activities/show.html.erb new file mode 100644 index 0000000..4e77061 --- /dev/null +++ b/app/views/activities/show.html.erb @@ -0,0 +1,11 @@ +<h1 class="text-2xl"><%= @activity.name %></h1> +<p><%= @activity.description %></p> + +<div class="border-gray-800 rounded p-2" id="result_output"> +</div> + +<div id="result_controls"> + <%= render "timer" %> +</div> + +<%= link_to "Start", start_activity_path(@activity), method: :post %> |