Move show-object content into tabs.
[arvados.git] / apps / workbench / app / views / collections / _recent.html.erb
1 <div class="pull-right">
2   <%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %>
3   <div class="input-append">
4     <%= text_field_tag :search, params[:search], class: 'search-query' %>
5     <%= submit_tag "Search", name: nil, class: 'btn btn-info' %>
6   </div>  
7   <% end %>
8 </div>
9
10 <table id="collections-index" class="topalign table table-bordered table-condensed table-fixedlayout table-smallcontent">
11   <colgroup>
12     <col width="10%" />
13     <col width="50%" />
14     <col width="16%" />
15     <col width="16%" />
16     <col width="8%" />
17   </colgroup>
18   <thead>
19     <tr class="contain-align-left">
20       <th>
21         uuid
22       </th><th>
23         contents
24       </th><th>
25         age
26       </th><th>
27         tags
28       </th><th>
29         storage
30       </th>
31     </tr>
32   </thead>
33   <tbody>
34     <%= render partial: 'index_tbody' %>
35   </tbody>
36 </table>
37
38 <% content_for :js do %>
39 $(document).on('click', 'form[data-remote] input[type=submit]', function() {
40   $('table#collections-index tbody').fadeTo(200, 0.3);
41   return true;
42 });
43 <% end %>