diff options
Diffstat (limited to 'controller/share/dtf-controller/results-stats-templates/html.tmpl')
-rw-r--r-- | controller/share/dtf-controller/results-stats-templates/html.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controller/share/dtf-controller/results-stats-templates/html.tmpl b/controller/share/dtf-controller/results-stats-templates/html.tmpl index 8a09ad7..af06322 100644 --- a/controller/share/dtf-controller/results-stats-templates/html.tmpl +++ b/controller/share/dtf-controller/results-stats-templates/html.tmpl @@ -18,7 +18,9 @@ </tr> </thead><tbody> : for $results -> $result { - : if ($result.exit_status) { + : if ($result.exit_status == 0) { + <tr class="success"> + : } elsif ($result.exit_status == 2) { <tr class="danger"> : } else { <tr> |