Sha256: 225d33e5de2b44bb05c6742fcc1b0901784e49012d8f4399a0cd64f9af635e5c

Contents?: true

Size: 991 Bytes

Versions: 3

Compression:

Stored size: 991 Bytes

Contents

<div class="search">

  <div class="column-block">

    <h1>Tags</h1>

    <table id="tags-table" class="table table-condensed mobile-data">
      <thead>
      <tr>
        <th>Tag ID</th>
        <th>Object ID</th>
        <th>Object type</th>
        <th>Tag definition name</th>
      </tr>
      </thead>
      <tbody>
      <tr>
        <td colspan="1" class="dataTables_empty">Loading data from server</td>
      </tr>
      </tbody>
    </table>

  </div>

</div>

<%= javascript_tag do %>
$(document).ready(function() {
  $('#tags-table').dataTable({
    "dom": "<'row'r>t<'row'<'col-md-6'i><'col-md-6'p>>",
    "pagingType": "full_numbers",
    "pageLength": <%= @limit %>,
    "displayStart": <%= @offset %>,
    <% unless @ordering.blank? %>
        "order": [[ 0, "<%= @ordering %>" ]],
    <% end %>
    "processing": true,
    "serverSide": true,
    "search": {"search": "<%= @search_query %>"},
    "ajax": "<%= tags_pagination_path :format => :json %>"
  });
});
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaui-0.15.3 app/views/kaui/tags/index.html.erb
kaui-0.15.2 app/views/kaui/tags/index.html.erb
kaui-0.15.1 app/views/kaui/tags/index.html.erb