Sha256: af0b570b4b79511fbf037e4c4924501cfec51e22527052e9d65c3593ff84c448

Contents?: true

Size: 1.07 KB

Versions: 19

Compression:

Stored size: 1.07 KB

Contents

<h1>Listing execution plans</h1>

<form action="<%= url %>" method="GET">
  <%= filter_checkbox(:state, Dynflow::ExecutionPlan.states.map(&:to_s)) if supported_filter?(:state) %>
  <input type="submit" value="Filter"/>
</form>

<table class="table">
  <thead>
    <tr>
      <th><%= order_link(:id, "Id") %></th>
      <th><%= order_link(:action, "Action") %></th>
      <th><%= order_link(:state, "State") %></th>
      <th><%= order_link(:result, "Result") %></th>
      <th><%= order_link(:started_at, "Started at") %></th>
      <th></th>
    </tr>
  </thead>

<% @plans.each do |plan| %>
  <tr>
    <td><%= h(plan.id) %></td>
    <td><%= h(plan.root_plan_step.action_class.name) %></td>
    <th><%= h(plan.state) %></th>
    <th><%= h(plan.result) %></th>
    <th><%= h(plan.started_at) %></th>
    <td><a href="<%= h(url("/#{plan.id}")) %>">Show</a></td>
  </tr>

<% end %>
</table>
<% if paginate? %>
  <div class="pagination">
    <ul>
      <li><a href="<%= paginated_url(-1) %>">Prev</a></li>
      <li><a href="<%= paginated_url(+1) %>">Next</a></li>
    </ul>
  </div>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dynflow-0.7.9 web/views/index.erb
dynflow-0.7.8 web/views/index.erb
dynflow-0.7.7 web/views/index.erb
dynflow-0.7.6 web/views/index.erb
dynflow-0.7.5 web/views/index.erb
dynflow-0.7.4 web/views/index.erb
dynflow-0.7.3 web/views/index.erb
dynflow-0.7.2 web/views/index.erb
dynflow-0.7.1 web/views/index.erb
dynflow-0.7.0 web/views/index.erb
dynflow-0.6.2 web/views/index.erb
dynflow-0.6.1 web/views/index.erb
dynflow-0.6.0 web/views/index.erb
dynflow-0.5.1 web/views/index.erb
dynflow-0.5.0 web/views/index.erb
dynflow-0.4.1 web/views/index.erb
dynflow-0.4.0 web/views/index.erb
dynflow-0.3.0 web/views/index.erb
dynflow-0.2.0 web/views/index.erb