Commit b24851ac authored by Leigh Stoller's avatar Leigh Stoller

Two Jay nits: Bracket output with timestamps. Add usual pid/eid banner

to the reboot all nodes option.
parent 00aca52e
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -75,10 +75,14 @@ if (!$confirmed) {
SHOWNODE($node_id);
}
else {
echo "<center><h2><br>
echo "<font size=+2>Experiment <b>".
"<a href='showproject.php3?pid=$pid'>$pid</a>/".
"<a href='showexp.php3?pid=$pid&eid=$eid'>$eid</a></b></font>\n";
echo "<center><font size=+2><br>
Are you <b>REALLY</b>
sure you want to reboot all nodes in experiment $pid/$eid?
</h2>\n";
</font>\n";
SHOWEXP($pid, $eid);
}
......@@ -157,11 +161,15 @@ header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
flush();
echo date("D M d g:ia T");
echo "\n";
while (!feof($fp)) {
$string = fgets($fp, 1024);
echo "$string";
flush();
}
echo date("D M d g:ia T");
echo "\n";
pclose($fp);
$fp = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment