Sha256: 7f23ac76fcbd60f26409f4e278e9fad143fb68a35eee7775aa8016b737959975

Contents?: true

Size: 1.83 KB

Versions: 1488

Compression:

Stored size: 1.83 KB

Contents

<%= pb_rails("table", props: { size: "sm", margin_bottom: "lg" }) do %>
  <thead>
    <tr>
      <th>Column 1</th>
      <th>Column 2</th>
      <th>Column 3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
    <%= pb_rails("background", props: { background_color: "error_subtle", tag: "tr" }) do %>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    <% end %>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
    <%= pb_rails("background", props: { background_color: "warning_subtle", tag: "tr" }) do %>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    <% end %>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
  </tbody>
<% end %>

<%= pb_rails("table", props: { size: "sm", margin_bottom: "lg" }) do %>
  <colgroup>
    <%= pb_rails("background", props: { background_color: "error_subtle", tag: "col" }) %>
    <%= pb_rails("background", props: { background_color: "card_light", tag: "col" }) %>
    <%= pb_rails("background", props: { background_color: "warning_subtle", tag: "col" }) %>
  </colgroup>
  <%= pb_rails("background", props: { background_color: "card_light", tag: "thead" }) do %>
    <tr>
      <th>Column 1</th>
      <th>Column 2</th>
      <th>Column 3</th>
    </tr>
  <% end %>
  <tbody>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
    <tr>
      <td>Value 1</td>
      <td>Value 2</td>
      <td>Value 3</td>
    </tr>
  </tbody>
<% end %>

Version data entries

1,488 entries across 1,488 versions & 2 rubygems

Version Path
playbook_ui_docs-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5738 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5738 app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb