<% if not current_user.andand.is_active or @my_jobs.empty? %>
<br/>(None)
<% else %>
- <table class="table table-bordered table-condensed job-table">
+ <table class="table table-bordered table-condensed table-fixedlayout">
<colgroup>
<col width="28%" />
<col width="38%" />
<a href="<%= collection_path(j.output) %>">
<% Collection.limit(1).where(uuid: j.output).each do |c|
c.files.each do |file| %>
- <%= "#{file[0]}/#{file[1]}" %>
+ <%= file[0] == '.' ? file[1] : "#{file[0]}/#{file[1]}" %>
<% end %>
<% end %>
</a>
<td>
<small>
- <% if j.success %>
+ <% if j.log %>
<a href="<%= collection_path(j.log) %>">Log</a>
<% end %>
</small>
<% if not current_user.andand.is_active or @my_pipelines.empty? %>
<br/>(None)
<% else %>
- <table class="table table-bordered table-condensed job-table">
+ <table class="table table-bordered table-condensed table-fixedlayout">
<colgroup>
<col width="73%" />
<col width="15%" />
<div>
<strong>Recent collections</strong>
<%= link_to raw("Show all collections →"), collections_path, class: 'pull-right' %>
+ <div class="pull-right" style="padding-right: 1em">
+ <%= form_tag collections_path,
+ method: 'get',
+ class: 'form-search small-form-margin' do %>
+ <div class="input-append">
+ <%= text_field_tag :search, params[:search], class: 'search-query search-mini' %>
+ <%= submit_tag "Search", name: nil, class: 'btn btn-mini btn-info' %>
+ </div>
+ <% end %>
+ </div>
<% if not current_user.andand.is_active or @my_collections.empty? %>
<br/>(None)
<% else %>
- <table class="table table-bordered table-condensed job-table">
+ <table class="table table-bordered table-condensed table-fixedlayout">
<colgroup>
- <col width="73%" />
+ <col width="46%" />
+ <col width="27%" />
<col width="27%" />
</colgroup>
<tr>
<th>Contents</th>
+ <th>Tags</th>
<th>Age</th>
</tr>
<small>
<a href="<%= collection_path(c.uuid) %>">
<% c.files.each do |file| %>
- <%= "#{file[0]}/#{file[1]}" %>
+ <%= file[0] == '.' ? file[1] : "#{file[0]}/#{file[1]}" %>
<% end %>
</a>
</small>
</td>
+ <td>
+ <% if @my_tag_links[c.uuid] %>
+ <small>
+ <%= @my_tag_links[c.uuid].collect(&:name).join(", ") %>
+ </small>
+ <% end %>
+ </td>
<td>
<small>
<%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about