Sha256: c51a6e36fb9d3e09c52986feb1519f26d88199b56eb894ebb4a0a036407381d9

Contents?: true

Size: 1.06 KB

Versions: 49

Compression:

Stored size: 1.06 KB

Contents

<% yield p = np %>

<% completion_percent ||= nil %>

<div class="py-4 px-8 w-full space-y-3">
  <div class="flex space-x-4">
    <% if p.content_for? :memberships %>
      <div class="flex-0">
        <%= p.content_for :memberships %>
      </div>
    <% end %>

    <div class="flex-1">
      <div class="flex">
        <div class="flex-1 space-y-4 py-1">
          <div>
            <%= p.content_for :title %>
          </div>
        </div>

        <% if p.content_for? :actions %>
          <div class="flex-0">
            <%= p.content_for :actions %>
          </div>
        <% end %>
      </div>

      <% if completion_percent %>
        <div class="mt-3 h-4 bg-gray-100 shadow-inner rounded w-full">
          <div class="h-4 animate-pulse bg-primary-500 rounded" style="width: <%= completion_percent %>%"></div>
        </div>
      <% end %>

      <% if p.content_for? :status %>
        <div class="<% "mt-2" if completion_percent %> uppercase text-xs text-gray-400">
          <%= p.content_for :status %>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

49 entries across 49 versions & 5 rubygems

Version Path
bullet_train-themes-light-1.0.41 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.40 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.38 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.37 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.36 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.35 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.34 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.33 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.32 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.30 app/views/themes/light/_cell.html.erb
bullet_train-themes-tester-1.0.1 app/views/themes/tester/_cell.html.erb
bullet_train-themes-light-1.0.29 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.28 app/views/themes/light/_cell.html.erb
bullet_train-themes-custom-1.0 app/views/themes/custom/_cell.html.erb
bullet_train-themes-testing-1.0 app/views/themes/testing/_cell.html.erb
bullet_train-themes-tester-1.0 app/views/themes/tester/_cell.html.erb
bullet_train-themes-light-1.0.27 app/views/themes/light/_cell.html.erb
bullet_train-themes-hayabusa-1.3 app/views/themes/hayabusa/_cell.html.erb
bullet_train-themes-hayabusa-1.2 app/views/themes/hayabusa/_cell.html.erb
bullet_train-themes-hayabusa-1.1 app/views/themes/hayabusa/_cell.html.erb