Sha256: 25c92c4c1ef02723b2b938a1b2bb4406ee6faadb754983aaea57d8d344ac8621

Contents?: true

Size: 1.72 KB

Versions: 18

Compression:

Stored size: 1.72 KB

Contents

<p>
  <b>Status:</b>
  <%= h(@plan.state) %>
  <% if @plan.state == :paused %>
    <a href="<%= url("/#{@plan.id}/resume") %>" class="postlink">Resume</a>
  <% end %>
  <% if @plan.cancellable? %>
    <a href="<%= url("/#{@plan.id}/cancel") %>" class="postlink">Cancel</a>
  <% end %>
</p>

<p>
  <b>Result:</b>
  <%= h(@plan.result) %>
</p>

<% if @plan.state == :scheduled && @plan.delay_record %>
  <p>
    <b>Start at:</b>
    <%= h(@plan.delay_record.start_at) %>
  </p>
  <p>
    <b>Start before:</b>
    <%= h(@plan.delay_record.start_before || "-") %>
  </p>
<% end %>

<p>
  <b>Started at:</b>
  <%= h(@plan.started_at) %>
</p>

<p>
  <b>Ended at:</b>
  <%= h(@plan.ended_at) %>
</p>

<ul class="phases nav nav-tabs" id="myTab">
  <li><a href="#plan">Plan</a></li>
  <li class="active"><a href="#run">Run</a></li>
  <li><a href="#finalize">Finalize</a></li>
  <li><a href="#execution-history">Execution History</a></li>
</ul>

<div class="tab-content">
  <div class="tab-pane" id="plan">
    <%= erb :plan_step, locals: { step: @plan.root_plan_step } %>
  </div>
  <div class="tab-pane active" id="run">

    <table class="flow-hint">
      <tr>
        <td class="border sequence"> </td>
        <td>sequence</td>
        <td class="border concurrence"> </td>
        <td>concurrence</td>
      </tr>
    </table>

    <%= erb :flow, locals: { flow: @plan.run_flow } %>
  </div>
  <div class="tab-pane" id="finalize">
    <%= erb :flow, locals: { flow: @plan.finalize_flow } %>
  </div>
  <div class="tab-pane" id="execution-history">
    <%= erb :execution_history %>
  </div>
</div>

<script>
$(function () {
  $('.phases a').click(function (e) {
    e.preventDefault();
    $(this).tab('show');
  });
})
</script>

<a href="<%= url '/' %>">Back</a>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dynflow-0.8.21 web/views/show.erb
dynflow-0.8.20 web/views/show.erb
dynflow-0.8.19 web/views/show.erb
dynflow-0.8.18 web/views/show.erb
dynflow-0.8.17 web/views/show.erb
dynflow-0.8.16 web/views/show.erb
dynflow-0.8.15 web/views/show.erb
dynflow-0.8.14 web/views/show.erb
dynflow-0.8.13 web/views/show.erb
dynflow-0.8.12 web/views/show.erb
dynflow-0.8.11 web/views/show.erb
dynflow-0.8.10 web/views/show.erb
dynflow-0.8.9 web/views/show.erb
dynflow-0.8.8 web/views/show.erb
dynflow-0.8.7 web/views/show.erb
dynflow-0.8.6 web/views/show.erb
dynflow-0.8.5 web/views/show.erb
dynflow-0.8.4 web/views/show.erb