From 8206cac29ec2ce86e0b0a68360ec714b573e13f6 Mon Sep 17 00:00:00 2001 From: David Gay Date: Fri, 4 Jun 2021 10:21:20 -0400 Subject: Timer progress bar --- app/views/application/_timer.html.erb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'app/views') diff --git a/app/views/application/_timer.html.erb b/app/views/application/_timer.html.erb index 46b1134..f301ffc 100644 --- a/app/views/application/_timer.html.erb +++ b/app/views/application/_timer.html.erb @@ -1,12 +1,20 @@ <% if current_char.activity %>

<%= current_char.activity.name %>

- + data-timer-time-remaining-value="<%= current_char.activity_time_remaining %>" + data-timer-activity-duration-value="<%= current_char.activity_duration %>" + data-timer-post-url-value="<%= finish_activity_url %>"> +
+ +
+
+
+
+
+ <% most_recent_cs = current_char.character_skills.order(:updated_at).last %>
<%= most_recent_cs.skill.name %> level <%= most_recent_cs.level %>
-- cgit v1.2.3