From c4441ddfd797a2a1eb68f582d98a2147af0d5440 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" <jose.lausuch@ericsson.com> Date: Tue, 7 Jun 2016 00:36:43 +0200 Subject: Adaptations in the dashboard for the LF server JIRA: RELENG-12 Removed DB information. Change-Id: I7a307a6f4b416837c9e0376764aeee58e2631657 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> --- tools/infra-dashboard/pages/slaves.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/infra-dashboard/pages') 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>'; - - ?> -- cgit