diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-14 07:36:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-14 07:36:47 +0000 |
commit | dd0f5a83b266340ddd72d500a8318b8076d15a93 (patch) | |
tree | d710e2346c68a01ddbf2832e11bcbd2b38930b45 /tools/infra-dashboard/pages/slaves.php | |
parent | a344d3aa43718929270249be73dfb2e0f4311a71 (diff) | |
parent | c4441ddfd797a2a1eb68f582d98a2147af0d5440 (diff) |
Merge "Adaptations in the dashboard for the LF server"
Diffstat (limited to 'tools/infra-dashboard/pages/slaves.php')
-rw-r--r-- | tools/infra-dashboard/pages/slaves.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/infra-dashboard/pages/slaves.php b/tools/infra-dashboard/pages/slaves.php index 4eb2add9..25fafd26 100644 --- a/tools/infra-dashboard/pages/slaves.php +++ b/tools/infra-dashboard/pages/slaves.php @@ -8,6 +8,7 @@ <?php include '../utils/jenkinsAdapter.php'; + $array = $SLAVES->xpath('computer'); echo '<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">'; echo "<thead>"; @@ -18,8 +19,7 @@ echo "</tr>"; echo "</thead>"; echo "<tbody>"; - - foreach ($SLAVES->xpath('computer') as &$value) { + foreach ($array as &$value) { $slave = $value->displayName; $idle = $value->idle; @@ -55,6 +55,4 @@ } echo '</tbody>'; echo '</table>'; - - ?> |