Sha256: 0f0509be1403bb0c5dac24ae62b91e4d791af422c491413cbf985f1b44200c6f

Contents?: true

Size: 1.32 KB

Versions: 10

Compression:

Stored size: 1.32 KB

Contents

<% if @notice %>
  <div id="notice" class="alert alert-warning"><%= h(@notice) %></div>
<% end %>


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

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

<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>
</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>

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dynflow-0.7.9 web/views/show.erb
dynflow-0.7.8 web/views/show.erb
dynflow-0.7.7 web/views/show.erb
dynflow-0.7.6 web/views/show.erb
dynflow-0.7.5 web/views/show.erb
dynflow-0.7.4 web/views/show.erb
dynflow-0.7.3 web/views/show.erb
dynflow-0.7.2 web/views/show.erb
dynflow-0.7.1 web/views/show.erb
dynflow-0.7.0 web/views/show.erb