<% content_for :title do %>

Actions

<% end %> <% if $scheduler %>

Status: <%= $scheduler.up? ? "Up (Started #{format_time $scheduler.started_at})".html_safe : "Down" %>

<% else %>

Status: Unavailable

<% end %>
<% @actions.each do |action| %> <% if action[:last] %> <% else %> <% end %> <% end %>
Name Last Run Reliability Duration
<%= link_to action[:name], action_path(slug: action[:name]) %> <%= format_time action[:last].started_at, today: false %> <%= format_action_state action[:last] %> <%= number_to_percentage 100.0 * action[:successful_runs].to_f / action[:runs], precision: 1 %> /<%= action[:runs] %> <%= format_duration action[:avg_duration] %>
<% content_for :javascripts do %> <% end %>