projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved/fixed color coding of job status for pipelines.
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
pipeline_instances
/
_show_recent.html.erb
diff --git
a/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb
b/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb
index bfb3dc840e3bc9e8647e1d4cff40eeaa7b1ef027..ed5b2d086a83a843ac96fa38bd364ecc2ba7f958 100644
(file)
--- a/
apps/workbench/app/views/pipeline_instances/_show_recent.html.erb
+++ b/
apps/workbench/app/views/pipeline_instances/_show_recent.html.erb
@@
-39,7
+39,7
@@
<tr data-object-uuid="<%= ob.uuid %>">
<td>
<tr data-object-uuid="<%= ob.uuid %>">
<td>
- <%= check_box_tag 'uuids[]', ob.uuid, false %>
+ <%= check_box_tag 'uuids[]', ob.uuid, false
, :class => 'persistent-selection'
%>
</td><td>
<% if ob.success %>
<span class="label label-success">success</span>
</td><td>
<% if ob.success %>
<span class="label label-success">success</span>
@@
-57,15
+57,17
@@
</td>
</tr>
<tr>
</td>
</tr>
<tr>
- <td style="border-top: 0;" colspan="
3
">
+ <td style="border-top: 0;" colspan="
2
">
</td>
</td>
- <td style="border-top: 0; opacity: 0.5;" colspan="
4
">
+ <td style="border-top: 0; opacity: 0.5;" colspan="
5
">
<% ob.components.each do |cname, c| %>
<% status = if !(c.is_a?(Hash) && c[:job].is_a?(Hash))
nil
<% ob.components.each do |cname, c| %>
<% status = if !(c.is_a?(Hash) && c[:job].is_a?(Hash))
nil
- elsif c[:job][:success]
+ elsif c[:job][:success]
== true
'success'
'success'
- elsif c[:job][:running]
+ elsif c[:job][:success] == false
+ 'danger'
+ elsif c[:job][:running] == true
'info'
else
'warning'
'info'
else
'warning'