Sha256: 934a4411b45c1d7c84e47fd416a81d624405dc3be9059585879b2d964a3affc6

Contents?: true

Size: 727 Bytes

Versions: 3

Compression:

Stored size: 727 Bytes

Contents

<%= markdown(preview.notes) %>

<%= lb_table do |table| %>
  <% table.with_header do |header| %>
    <% header.with_cell("Name") %>
    <% header.with_cell(centered: true, collapse: true) %>
  <% end %>

  <% targets.filter(&:visible?).each do |target| %>
    <% table.with_row do |row| %>
      <% row.with_cell do %>
        <strong><%= target.label %></strong>
      <% end %>
    
      <% row.with_cell do %>
        <%=
          lb_button_group do |group|
            group.with_button(href: target.preview_path, icon: :external_link, target: "_blank") { "Open" }
            group.with_button(href: target.url_path, icon: :eye) { "Inspect" }
          end
        %>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lookbook-3.0.0.alpha.2 app/views/lookbook/previews/overview.html.erb
lookbook-3.0.0.alpha.1 app/views/lookbook/previews/overview.html.erb
lookbook-3.0.0.alpha.0 app/views/lookbook/previews/overview.html.erb