diff options
author | Erich Eckner <git@eckner.net> | 2018-04-02 22:24:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-02 22:24:47 +0200 |
commit | 840af418f2711380b0f6f547e08486f84d5e6c19 (patch) | |
tree | a1d027ede6f1f3505020444b54cb10fb585d22b0 | |
parent | 8ff3a370205980e8ab47e76488fb661eb81ec282 (diff) | |
download | builder-840af418f2711380b0f6f547e08486f84d5e6c19.tar.xz |
web-scripts/build-slaves.php: include `last_action`
-rw-r--r-- | web-scripts/build-slaves.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web-scripts/build-slaves.php b/web-scripts/build-slaves.php index b842d79..1853bbe 100644 --- a/web-scripts/build-slaves.php +++ b/web-scripts/build-slaves.php @@ -13,7 +13,8 @@ "`build_slaves`.`operator`," . "`package_sources`.`pkgbase`," . "`build_slaves`.`last_connection`," . - "`build_slaves`.`logged_lines`" . + "`build_slaves`.`logged_lines`," . + "`build_slaves`.`last_action`" . " FROM `build_slaves`" . " LEFT JOIN `build_assignments` ON" . " `build_slaves`.`currently_building`=`build_assignments`.`id`" . @@ -25,7 +26,7 @@ print "<table border=1>\n"; if ($result->num_rows > 0) { - print "<tr><th>name</th><th>operator</th><th>currently building</th><th>last connection</th><th>logged lines</th></tr>\n"; + print "<tr><th>name</th><th>operator</th><th>currently building</th><th>last connection</th><th>logged lines</th><th>last action</th></tr>\n"; while ($row = $result -> fetch_assoc()) { foreach ($row as $key => $value) { if ($value=="") { @@ -38,6 +39,7 @@ print "<td>".$row["pkgbase"]."</td>"; print "<td>".$row["last_connection"]."</td>"; print "<td>".$row["logged_lines"]."</td>"; + print "<td>".$row["last_action"]."</td>"; print "</tr>\n"; } } |