Sha256: e21c8c342efccacb3304e7bf44fcca978fc00b09b4fbe8fbac1f82030d778211

Contents?: true

Size: 1.46 KB

Versions: 23

Compression:

Stored size: 1.46 KB

Contents

<%= render layout: "/layouts/#{Rails.application.config.apidae_layout}" do |styles| %>
    <div id="apidae_header" class="<%= styles[:header] %>">
      <%= link_to 'Retour', root_path, class: styles[:back] %>
      <h1 class="<%= styles[:h1] %>">Apidae - Sélections</h1>
    </div>
    <div id="apidae_dashboard" class="<%= styles[:wrapper] %>">
      <div id="apidae_imports_panel" class="<%= styles[:body] %>">
        <table id="apidae_selections" class="<%= styles[:table] %>">
          <thead class="<%= styles[:table_head] %>">
          <tr>
            <th>Label</th>
            <th>Reference</th>
            <th>Identifiant</th>
            <th>Objets</th>
          </tr>
          </thead>
          <tbody class="<%= styles[:table_body] %>">
          <% @selections.each do |selection| %>
              <tr>
                <td><%= selection.label %></td>
                <td><%= selection.reference %></td>
                <td><%= selection.apidae_id %></td>
                <td><%= link_to selection.objects.count, selection_objects_path(selection) %></td>
              </tr>
          <% end %>
          <% if @selections.empty? %>
            <tr>
              <td colspan="4">Aucune sélection importée pour le moment.</td>
            </tr>
          <% end %>
          </tbody>
        </table>
      </div>
    </div>
<% end %>
<script>
    document.addEventListener("DOMContentLoaded", function(event) {
      apidaeEngineCallback("selections");
    });
</script>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
apidae-0.9.22 app/views/apidae/selections/index.html.erb
apidae-0.9.21 app/views/apidae/selections/index.html.erb
apidae-0.9.20 app/views/apidae/selections/index.html.erb
apidae-0.9.19 app/views/apidae/selections/index.html.erb
apidae-0.9.18 app/views/apidae/selections/index.html.erb
apidae-0.9.17 app/views/apidae/selections/index.html.erb
apidae-0.9.16 app/views/apidae/selections/index.html.erb
apidae-0.9.15 app/views/apidae/selections/index.html.erb
apidae-0.9.14 app/views/apidae/selections/index.html.erb
apidae-0.9.13 app/views/apidae/selections/index.html.erb
apidae-0.9.12 app/views/apidae/selections/index.html.erb
apidae-0.9.11 app/views/apidae/selections/index.html.erb
apidae-0.9.10 app/views/apidae/selections/index.html.erb
apidae-0.9.9 app/views/apidae/selections/index.html.erb
apidae-0.9.8 app/views/apidae/selections/index.html.erb
apidae-0.9.7 app/views/apidae/selections/index.html.erb
apidae-0.9.6 app/views/apidae/selections/index.html.erb
apidae-0.9.5 app/views/apidae/selections/index.html.erb
apidae-0.9.4 app/views/apidae/selections/index.html.erb
apidae-0.9.3 app/views/apidae/selections/index.html.erb