Sha256: 0d1afbd2ed246b11074ffb96cbb1d1a70faebad9b8a51ed36cf85ea67a1a0eb0

Contents?: true

Size: 1.55 KB

Versions: 7

Compression:

Stored size: 1.55 KB

Contents

<%= javascript_include_tag 'task' %>
<%= include_plugins(@stack) %>
<%= render partial: 'shipit/stacks/header', locals: { stack: @stack } %>

<div class="sidebar">
  <div class="sidebar-plugins"></div>
</div>

<div class="deploy-main" data-task="<%= {repo: @stack.github_repo_name, description: task_description(task)}.to_json %>">
  <span class="deploy-tasks"></span>
  <div class="deploy-banner" data-status="<%= task.status %>">
      <div class="deploy-banner-section">
        <a href="#" class="user main-user disabled"><%= task.author.name %></a>
        <span class="deploy-status">
          <%= content_for :task_title %>
        </span>
      </div>

      <div class="deploy-banner-section action-buttons">
        <%= link_to abort_stack_task_path(@stack, task), class: "btn btn--alert action-button", data: { action: "abort", status: task.status } do %>
          <span class="caption--ready">Abort</span>
          <span class="caption--pending">Aborting...</span>
        <% end %>

        <% if task.supports_rollback? %>
          <%= link_to abort_stack_task_path(@stack, task, rollback: true), class: "btn btn--delete action-button", data: { action: "abort", rollback: true, status: task.status } do %>
            <span class="caption--ready">Abort and Rollback</span>
            <span class="caption--pending">Aborting with Rollback...</span>
          <% end %>
        <% end %>
      </div>
  </div>

  <pre class="nowrap" data-status="<%= task.status %>"><code data-next-chunks-url="<%= next_chunks_url(task) %>"><%= task.chunk_output %></code></pre>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shipit-engine-0.8.0 app/views/shipit/tasks/_task_output.html.erb
shipit-engine-0.7.0 app/views/shipit/tasks/_task_output.html.erb
shipit-engine-0.6.4 app/views/shipit/tasks/_task_output.html.erb
shipit-engine-0.6.3 app/views/shipit/tasks/_task_output.html.erb
shipit-engine-0.6.2 app/views/shipit/tasks/_task_output.html.erb
shipit-engine-0.6.1 app/views/shipit/tasks/_task_output.html.erb
shipit-engine-0.6.0 app/views/shipit/tasks/_task_output.html.erb