Merge branch 'master' into 2257-inequality-conditions
[arvados.git] / apps / workbench / app / views / collections / _show_recent.html.erb
1 <% content_for :tab_line_buttons do %>
2 <div class="pull-right" style="width: 30%">
3   <%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %>
4   <div class="input-group">
5     <%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search collections' %>
6     <span class="input-group-btn">
7       <%= button_tag(class: 'btn btn-info') do %>
8       <span class="glyphicon glyphicon-search"></span>
9       <% end %>
10     </span>
11   </div>  
12   <% end %>
13 </div>
14 <% end %>
15
16 <div style="padding-right: 1em">
17
18 <%= form_tag do |f| %>
19
20 <table id="collections-index" class="topalign table table-condensed table-fixedlayout table-fixed-header-row">
21   <colgroup>
22     <col width="4%" />
23     <col width="10%" />
24     <col width="36%" />
25     <col width="15%" />
26     <col width="8%" />
27     <col width="8%" />
28     <col width="23%" />
29   </colgroup>
30   <thead>
31     <tr class="contain-align-left">
32       <th></th>
33       <th>uuid</th>
34       <th>contents</th>
35       <th>owner</th>
36       <th>age</th>
37       <th>storage</th>
38       <th>tags</th>
39     </tr>
40   </thead>
41   <tbody>
42     <%= render partial: 'index_tbody' %>
43   </tbody>
44 </table>
45
46 <% end %>
47
48 </div>
49
50 <% content_for :footer_js do %>
51 $(document).on('click', 'form[data-remote] input[type=submit]', function() {
52   $('table#collections-index tbody').fadeTo(200, 0.3);
53   return true;
54 });
55 <% end %>