Sha256: 45c52f0ce085507d5d052974db17902b8b04519b34f10ce8253ce76df28b82e0

Contents?: true

Size: 1.41 KB

Versions: 60

Compression:

Stored size: 1.41 KB

Contents

<% content_for :page_title do %>
  <h1>Shipit</h1>
<% end %>
<% content_for :primary_navigation do %>
  <%= link_to 'Add a stack', new_stack_path, class: 'btn secondary' %>
<% end %>

<div class="wrapper <%= 'filtering-enabled' if @stacks.size > 10 %>">
  <section>
    <header class="section-header stack-search-header">
      <input class="stack-search" placeholder="Search <%= @stacks.size %> stacks" />
    </header>
    <ul class="stack-table-header">
      <li class="col">Name</li>
      <li class="col">Environment</li>
      <li class="col">Branch</li>
      <li class="col">Deploy URL</li>
    </ul>
    <ul class="stack-lst">
      <% @stacks.each do |stack| %>
        <li class="search-item <%= stack.undeployed_commits? ? 'undeployed' : '' %> <%= @user_stacks.include?(stack.id) ? 'contributor' : 'not-matching' %>" data-search="<%= stack.repo_name %> <%= stack.environment %> <%= stack.deploy_url %>" data-stack-id="<%= stack.id %>">
          <%= link_to stack_path(stack), class: 'commits-path' do %>
            <span class="col"><%= stack.repo_name %></span>
            <small class="col"><%= stack.environment.capitalize %></small>
            <small class="col"><%= stack.branch %></small>
            <small class="col"><%= stack.deploy_url %></small>
          <% end %>
        </li>
      <% end %>
    </ul>

    <%= link_to 'show all stacks', '#', class: 'btn secondary show-all-stacks' %></p>
  </section>

</div>

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
shipit-engine-0.15.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.14.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.13.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.12.1 app/views/shipit/stacks/index.html.erb
shipit-engine-0.12.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.11.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.10.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.9.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.9 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.8 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.7 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.6 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.5 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.4 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.3 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.2 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.1 app/views/shipit/stacks/index.html.erb
shipit-engine-0.8.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.7.0 app/views/shipit/stacks/index.html.erb
shipit-engine-0.6.4 app/views/shipit/stacks/index.html.erb