<%= t ".title" %>

<%= t ".process" %>
<%= t ".schedulers" %>
<%= t ".started" %>
<%= t ".updated" %>
<%= tag.button type: "button", class: "btn btn-sm text-muted ms-auto", role: "button", data: { bs_toggle: "collapse", bs_target: ".process-state" }, aria: { expanded: false, controls: @processes.map { |process| "##{dom_id(process, 'state')}" }.join(" ") } do %> <%= render_icon "info" %> <%= t "good_job.actions.inspect" %> <% end %>
<% @processes.each do |process| %>
<%= tag.code title: process.state['proctitle'], class: "font-monospace" do %> $ <%= process.basename %> <% end %>
PID <%= process.state["pid"] %> @ <%= process.state["hostname"] %>
<% process.state["schedulers"].each do |scheduler| %>
<%= scheduler %>
<% end %>
<%= relative_time(process.created_at) %>
<%= relative_time(process.updated_at) %>
<%= tag.button type: "button", class: "btn btn-sm text-muted ms-auto", role: "button", title: t("good_job.actions.inspect"), data: { bs_toggle: "collapse", bs_target: "##{dom_id(process, 'state')}" }, aria: { expanded: false, controls: dom_id(process, "state") } do %> <%= render_icon "info" %> <%= t "good_job.actions.inspect" %> <% end %>
<%= tag.div id: dom_id(process, "state"), class: "process-state list-group-item collapse small bg-dark text-light" do %> <%= tag.pre JSON.pretty_generate(process.state) %> <% end %> <% end %> <% if @processes.empty? %>
<%= t ".no_good_job_processes_found" %>
<% end %>