X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/740dcfdd2c1f493e2d200efe5739e8b449c77ff1..8c8391fa8c763032742bdc0d6fa0c02ca336a82a:/apps/workbench/app/views/users/home.html.erb diff --git a/apps/workbench/app/views/users/home.html.erb b/apps/workbench/app/views/users/home.html.erb index 8cdb79584d..bf14fdd854 100644 --- a/apps/workbench/app/views/users/home.html.erb +++ b/apps/workbench/app/views/users/home.html.erb @@ -8,8 +8,14 @@ margin-left: auto; margin-right: auto; } + .job-table { + white-space: nowrap; + table-layout: fixed; + } .job-table td { + overflow: hidden; overflow-x: hidden; + text-overflow: ellipsis; } .centerme { margin-left: auto; @@ -20,143 +26,85 @@ font-size: 4em; font-weight: bold; } + .dax { + max-width: 10%; + margin-right: 1em; + float: left + } + .daxalert { + overflow: hidden; + } <% end %> <% if current_user.andand.is_active %> +
<%= image_tag "dax.png", style: "max-width: 5%; margin-right: 1em" %> - Hi, I noticed you haven't uploaded a new collection yet. - <%= link_to "Click here to learn how to upload data to Arvados Keep.", "http://doc.arvados.org/user/tutorials/tutorial-keep.html", style: "font-weight: bold" %> -
-<%= image_tag "dax.png", style: "max-width: 5%; margin-right: 1em" %> - Hi, I noticed you haven't run a job yet. - <%= link_to "Click here to learn how to run an Arvados Crunch job.", "http://doc.arvados.org/user/tutorials/tutorial-job1.html", style: "font-weight: bold" %> -
-<%= image_tag "dax.png", style: "max-width: 5%; margin-right: 1em" %> - Hi, I noticed you haven't run a pipeline yet. - <%= link_to "Click here to learn how to run an Arvados Crunch pipeline.", "http://doc.arvados.org/user/tutorials/tutorial-new-pipeline.html", style: "font-weight: bold" %> -
-Script | +Output | +Log | +Status | +Age | +|
---|---|---|---|---|---|
<%= link_to j.script[0..31], job_path(j.uuid) %> | + ++ + <% if j.success %> + + + <% Collection.limit(1).where(uuid: j.output).each do |c| + c.files.each do |file| %> + <%= "#{file[0]}/#{file[1]}" %> + <% end %> + <% end %> + + + <% end %> + + | + ++ + <% if j.success %> + Log + <% end %> + + | +- <%= j.script_version[0..7] %> - - | -- - <%= j.script_parameters.andand[:input].andand.to_s.andand[0..7] %> +<%= raw(distance_of_time_in_words(j[:created_at], Time.now).sub('about +','~').sub(' ',' ')) if j[:created_at] %> ago | +<% if j.success %> finished @@ -172,13 +120,181 @@ queued <% end %> | + +
Pipeline template | +Age | +Status | +
---|---|---|
+ + <% PipelineTemplate.limit(1).where(uuid: p.pipeline_template_uuid).each do |i| %> + <%= link_to i.name, pipeline_instance_path(p.uuid) %> + <% end %> + + | + ++ +<%= raw(distance_of_time_in_words(p[:created_at], Time.now).sub('about +','~').sub(' ',' ')) if p[:created_at] %> ago + + | + ++ <% if p.success %> + finished + <% elsif p.success == false %> + failed + <% elsif p.active %> + running + <% else %> + queued + <% end %> + | + +
Contents | +Age | +
---|---|
+ + + <% c.files.each do |file| %> + <%= "#{file[0]}/#{file[1]}" %> + <% end %> + + + | ++ +<%= raw(distance_of_time_in_words(c[:created_at], Time.now).sub('about +','~').sub(' ',' ')) if c[:created_at] %> ago + + |
+ Hi, I noticed you haven't uploaded a new collection yet. + <%= link_to "Click here to learn how to upload data to Arvados Keep.", + "http://doc.arvados.org/user/tutorials/tutorial-keep.html", + style: "font-weight: bold", target: "_blank" %> +
+<%= image_tag "dax.png", class: "dax" %> + Hi, I noticed you haven't run a job yet. + <%= link_to "Click here to learn how to run an Arvados Crunch job.", + "http://doc.arvados.org/user/tutorials/tutorial-job1.html", + style: "font-weight: bold", + target: "_blank" %> +
+<%= image_tag "dax.png", class: "dax" %> + Hi, I noticed you haven't run a pipeline yet. + <%= link_to "Click here to learn how to run an Arvados Crunch pipeline.", + "http://doc.arvados.org/user/tutorials/tutorial-new-pipeline.html", + style: "font-weight: bold", + target: "_blank" %> +
+Useful links
+