3654: add selection dropdown to collections page
[arvados.git] / apps / workbench / app / views / collections / _show_recent.html.erb
index 9573f6e8a8014dc0e46bf6f21ffcd35033022898..a0418432f1da468ca9ac983ab49f5a89ed4de5f2 100644 (file)
   </div>
   <p/>
 
-  <%= render partial: "paging", locals: {results: @collections, object: @object} %>
-
-  <div style="padding-right: 1em">
-
-  <%= form_tag do |f| %>
-
-  <table id="collections-index" class="topalign table table-condensed table-fixedlayout"> <!-- table-fixed-header-row -->
-    <colgroup>
-      <col width="10%" />
-      <col width="10%" />
-      <col width="40%" />
-      <col width="10%" />
-      <col width="30%" />
-    </colgroup>
-    <thead>
-      <tr class="contain-align-left">
-        <th></th>
-        <th>uuid</th>
-        <th>contents</th>
-        <th>created at</th>
-        <th>tags</th>
-      </tr>
-    </thead>
-    <tbody>
-      <%= render partial: 'index_tbody' %>
-    </tbody>
-  </table>
-
-  <% end %>
+<%= render partial: "paging", locals: {results: @collections, object: @object} %>
 
-  </div>
+<div style="padding-right: 1em">
+
+<%= form_tag do |f| %>
 
-  <%= render partial: "paging", locals: {results: @collections, object: @object} %>
+</div>
 
-  <% content_for :footer_js do %>
-  $(document).on('click', 'form[data-remote] input[type=submit]', function() {
-    $('table#collections-index tbody').fadeTo(200, 0.3);
-    return true;
-  });
-  <% end %>
+<table id="collections-index" class="topalign table table-condensed table-fixedlayout"> <!-- table-fixed-header-row -->
+  <colgroup>
+    <col width="10%" />
+    <col width="10%" />
+    <col width="40%" />
+    <col width="10%" />
+    <col width="30%" />
+  </colgroup>
+  <thead>
+    <tr class="contain-align-left">
+      <th></th>
+      <th>uuid</th>
+      <th>contents</th>
+      <th>created at</th>
+      <th>tags</th>
+    </tr>
+  </thead>
+  <tbody>
+    <%= render partial: 'index_tbody' %>
+  </tbody>
+</table>
+
+<% end %>
 
 </div>
+
+<%= render partial: "paging", locals: {results: @collections, object: @object} %>
+
+<% content_for :footer_js do %>
+$(document).on('click', 'form[data-remote] input[type=submit]', function() {
+  $('table#collections-index tbody').fadeTo(200, 0.3);
+  return true;
+});
+<% end %>