Sha256: 49b43162604b488f21cee6955daa64e504366d368dd59c06d4b94dfb2f1bb188

Contents?: true

Size: 1.47 KB

Versions: 7

Compression:

Stored size: 1.47 KB

Contents

<%- @page_title = "GBL♦Admin - Imports" %>

<h1 style="width:100%;">
  Imports
  <%= link_to '+ New Import', new_admin_import_path, { class: 'btn btn-primary float-right' } %>
</h1>

<h6>
  <span class='float-left mt-3'>
    <%== pagy_info(@pagy) %>
  </span>
  <span class='float-right'>
    <%== pagy_bootstrap_nav(@pagy) %>
  </span>
</h6>

<table class="table table-striped table-bordered sortable">
  <thead class="thead-dark">
    <tr>
      <th class="header">Name</th>
      <th class="header">Filename</th>
      <th class="header">Source</th>
      <th class="header">Description</th>
      <th class="header">Row count</th>
      <th class="header">Date</th>
      <th class="header" colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @imports.each do |import| %>
      <tr>
        <td><%= import.name %></td>
        <td><%= import.filename %></td>
        <td><%= import.source %></td>
        <td><%= import.description %></td>
        <td><%= import.row_count %></td>
        <td><%= import.created_at %></td>
        <td><%= link_to 'Show', admin_import_path(import) %></td>
        <td><%= link_to 'Edit', edit_admin_import_path(import) %></td>
        <td><%= link_to 'Destroy', admin_import_path(import), method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<h6>
  <span class='float-left mt-3'>
    <%== pagy_info(@pagy) %>
  </span>
  <span class='float-right'>
    <%== pagy_bootstrap_nav(@pagy) %>
  </span>
</h6>

<br/>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geoblacklight_admin-0.4.1 app/views/admin/imports/index.html.erb
geoblacklight_admin-0.4.0 app/views/admin/imports/index.html.erb
geoblacklight_admin-0.3.2 app/views/admin/imports/index.html.erb
geoblacklight_admin-0.3.1 app/views/admin/imports/index.html.erb
geoblacklight_admin-0.3.0 app/views/admin/imports/index.html.erb
geoblacklight_admin-0.2.1 app/views/admin/imports/index.html.erb
geoblacklight_admin-0.1.0 app/views/admin/imports/index.html.erb