Sha256: b918e75b96a1871098a9cb3be3a60a769b1bb39abb0aa7ad71fe59c0d8c6abf2

Contents?: true

Size: 919 Bytes

Versions: 12

Compression:

Stored size: 919 Bytes

Contents

- if @turbo_frame.present?
  <turbo-frame id="#{@turbo_frame}">

.card{ class: @background }
  .card-header{ class: @header_background }
    %h3.card-title= @title
    .card-tools
      - if header_tools?
        = header_tools
      -# %button.btn.btn-tool{ type: :button, 'data-card-widget': :collapse }
      -#   %i.fas.fa-minus
      -# %button.btn.btn-tool{ type: :button, 'data-card-widget': :maximize }
      -#   %i.fas.fa-expand
  .card-body
    - if @collection&.size&.positive?
      %div{style: @max_height.present? ? "max-height: #{@max_height}; overflow-y: auto; overflow-x: hidden" : ""}
        = render Olivander::Components::TablePortletComponent::TableComponent.with_collection(@collection, builder: @builder, headers: @headers)
    - else
      No #{@title.downcase} to display.
  - if footer_buttons?
    .card-footer.text-right
      = footer_buttons

- if @turbo_frame.present?
  </turbo-frame>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
five-two-nw-olivander-0.1.2.42 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.41 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.40 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.39 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.38 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.37 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.36 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.35 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.34 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.33 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.32 app/components/olivander/components/table_portlet_component.html.haml
five-two-nw-olivander-0.1.2.31 app/components/olivander/components/table_portlet_component.html.haml