X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a2afe9905bbd23015b41b2ac414a9b315700a151..defeccdc58d82965f832a4dd3257a6abc57f79b7:/apps/explorer/app/views/collections/show.html.erb diff --git a/apps/explorer/app/views/collections/show.html.erb b/apps/explorer/app/views/collections/show.html.erb new file mode 100644 index 0000000000..d9d06b3172 --- /dev/null +++ b/apps/explorer/app/views/collections/show.html.erb @@ -0,0 +1,236 @@ +<%= content_for :head do %> + +<% end %> + +<%= render :partial => 'nav' %> + +
+ +size (bytes) | filename |
---|---|
+ <%= raw(human_readable_bytes_html(file[2])) %> + | + <%= file[0] %>/<%= file[1] %> + | +
+
+ ↓
+
+ + <%= j.script %> <%= link_to_if j.script_version.match(/[0-9a-f]{40}/), j.script_version, "https://redmine.clinicalfuture.com/projects/freefactories/repository/revisions/#{j.script_version}/entry/mapreduce/mr-#{j.script}" if j.script_version %> + + ↓ + + <%= p[:output] %> + |
+
+ job: <%= j.uuid %> <%= j.submit_id %> + |
+ ||||
+ lookup fail
+ + <%= p[:target] %> + | + | +
+ job + | + version + | + status + | + start + | + finish + | + clock time + | +
---|---|---|---|---|---|
+ <%= j.uuid %>
+ + <%= j.submit_id %> + | + <%= j.script_version %> + | + + <%= j.success || j.active ? 'ok' : 'failed' %> + + | + <%= j.started_at %> + | + <%= j.finished_at %> + | + <% if j.started_at and j.finished_at %> + <%= raw(distance_of_time_in_words(j.started_at, j.finished_at).sub('about ','~').sub(' ',' ')) %> + <% elsif j.started_at and j.running %> + <%= raw(distance_of_time_in_words(j.started_at, Time.now).sub('about ','~').sub(' ',' ')) %> (running) + <% end %> + | +
+ lookup fail
+ + <%= p[:target] %> + | + | +
+ collection + | + data size + | + storage + | + origin + | +
---|---|---|---|
+ <%= sourcedata[:uuid] %> + | + <%= raw(human_readable_bytes_html(sourcedata[:collection].data_size)) if sourcedata[:collection] and sourcedata[:collection].data_size %> + | + <% if @protected[sourcedata[:uuid]] %> + keep + <% else %> + cache + <% end %> + |
+ <% if sourcedata[:data_origins] %>
+ <% sourcedata[:data_origins].each do |data_origin| %>
+ <%= data_origin[0] %>
+ <%= data_origin[2] %>
+ + <% end %> + <% end %> + |
+