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.2.10 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.9 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.8 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.7 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.6 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.5 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.4 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.3 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.2 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.1 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.2.0 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.52 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.51 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.50 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.49 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.48 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.47 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.43 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.44 app/views/themes/light/_cell.html.erb
bullet_train-themes-light-1.0.42 app/views/themes/light/_cell.html.erb