Sha256: 1a5821ede5db59607b9d6452208dba89112c8afde87a8869d4b5ffd94749b531

Contents?: true

Size: 898 Bytes

Versions: 30

Compression:

Stored size: 898 Bytes

Contents

<table class='tablesorter'>
  <caption>This table has the 'tablesorter' class</caption>
  <thead>
    <tr>
      <th class="sorter-false">Side TH</th>
      <th>TR Class</th>
      <th>Date</th>
      <th>Number</th>
    </tr>
  </thead>

  <tbody>

  <% counter = 0 %>
  <% [nil, 'okay', 'highlight', 'warn', 'alert', 'gray'].each do |tr_class| %>
    <% 4.times do %>
      <tr class="<%= tr_class %>">
        <th>Row <%= counter += 1 %></th>
        <td><%= tr_class || 'n/a' %></td>
        <td><%= Date.today - rand(2000).days %></td>
        <td><%= (-100 .. 100).to_a.sample %></td>
      </tr>
    <% end %>
  <% end %>


  </tbody>

  <tfoot>
    <tr>
      <th colspan='3'>Colspan 3</th>
      <td>123</td>
    </tr>
    <tr>
      <th colspan='3'>Colspan 3</th>
      <td>456</td>
    </tr>
    <tr>
      <th colspan='3'>Colspan 3</th>
      <td>789</td>
    </tr>
  </tfoot>
</table>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
dfm_web-5.0.4 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-5.0.3 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-5.0.2 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-5.0.1 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-5.0.0 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.1.3 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.1.2 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.1.1 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.1.0 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.7 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.6 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.5 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.4 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.3 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.2 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.1 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-4.0.0 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-3.0.0 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-2.2.4 spec/dummy/app/views/application/_tablesorter.html.erb
dfm_web-2.2.3 spec/dummy/app/views/application/_tablesorter.html.erb