Sha256: 0c6ed4d83a915628e1164006464ec9d25be11eaae0dbd493009d012c5ef91a86

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 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>
      </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>
      </tr>
    </tbody>
  </table>
</div>

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

<h4>Job Tree</h4>
<%= erb :_workflow_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

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-hierarchy-1.1.0 web/views/workflow.erb