Sha256: 8115afc7ef87a69bdb80189fbcb04d248d2025308161f88ba1d72bfc2fe7d914

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 KB

Contents

<h3>Workflow <%= @workflow.jid %></h3>

<%= erb :_workflow_progress_bar, locals: {workflow: @workflow} %>

<div class="table_container">
  <table class="table table-condensed table-white">
    <thead>
      <tr>
        <th>Status</th>
        <th>Enqueued at</th>
        <th>Run at</th>
        <th>Completed at</th>
        <th>Failed at</th>
        <th>Completion</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td><%= @workflow.status %></td>
        <td><%= @workflow.enqueued_at %></td>
        <td><%= @workflow.run_at %></td>
        <td><%= @workflow.complete_at %></td>
        <td><%= @workflow.failed_at %></td>
        <td><%= @workflow.finished_job_count %>/<%= @workflow.job_count %></td>
      </tr>
    </tbody>
  </table>
</div>

<%= erb :_workflow_timings, locals: {workflow: @workflow} %>

<h4>Job Tree</h4>
<%= erb :_job_tree, locals: {root: @workflow.root} %>

<h4>Jobs</h4>
<%= erb :_job_table, locals: {jobs: @workflow.jobs} %>

<% unless @workflow.running? %>
  <form action="<%= workflow_url(@workflow) %>" method="post">
    <div style="margin:0;padding:0">
      <input name="_method" type="hidden" value="delete" />
      <input name="authenticity_token" type="hidden" value="<%= session[:csrf] %>">
    </div>
    <button type="submit" class="btn btn-danger" onclick="return confirm('Are you sure? This is irreversible')">Delete</button>
  </form>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-hierarchy-2.1.0 web/views/workflow.erb
sidekiq-hierarchy-2.0.1 web/views/workflow.erb