Commit 1cfd5842 authored by Leigh Stoller's avatar Leigh Stoller

Screwing around with footnotes. It turns out to be amazingly hard to

center a section of left-justified text below a table such that its
that same size as the table. At least in a cross-browser compat way.
So, I gave up.
parent c41a5409
......@@ -1428,10 +1428,10 @@ function ShowExperimentList_internal($templates_only,
"<td class=stealth align=left><font size=-1><ol>\n".
"<li>Node counts in <font color=green><b>green</b></font>\n".
"show a rough estimate of the minimum number of \n".
"nodes <br>required to swap in.\n".
"nodes required to swap in.\n".
"They account for delay nodes, but not for node types, etc.\n".
"<li>A $stalemark indicates that the data is stale, and ".
"at least one node in the experiment has not <br>reported ".
"at least one node in the experiment has not reported ".
"on its proper schedule.\n";
if ($parens) {
# do not show this unless we did it... most users should not ever
......
......@@ -501,7 +501,7 @@ function FormRender($attributes, $errors, $fields, $submitted = null)
$html .= "</table>\n";
if (count($footnotes)) {
$html .= "<div align=left><h4><ol>\n";
$html .= "<div align=center><h4><ol>\n";
foreach ($footnotes as $i => $note) {
$html .= "<li>$note\n";
}
......
......@@ -743,7 +743,9 @@ if ($instance) {
#
# Dump the node information.
#
echo "<center>\n";
SHOWNODES($exp_pid, $exp_eid, $sortby, $showclass);
echo "</center>\n";
if ($isadmin) {
echo "<center>
......
......@@ -158,12 +158,10 @@ function SHOWNODES($pid, $eid, $sortby, $showclass) {
}
if (mysql_num_rows($query_result)) {
echo "
<center>
echo "<div align=center>
<br>
<a href=" . $_SERVER["REQUEST_URI"] . "#reserved_nodes>
<font size=+1><b>Reserved Nodes</b></font></a>
</center>
<a NAME=reserved_nodes>
<table id='nodetable' align=center border=1>
<thead class='sort'>
......@@ -340,18 +338,19 @@ function SHOWNODES($pid, $eid, $sortby, $showclass) {
echo "</tr>\n";
}
echo "</table>\n";
echo "<h4><blockquote><blockquote><blockquote>
<ol>
echo "<div style=\"width:70%; margin:auto;\">\n";
echo "<font size=-1>\n";
echo "<ol style=\"text-align: left;\">
<li>A $stalemark indicates that the data is stale, and
the node has not reported on its proper schedule.</li>
<li>Exit value of the node startup command. A value of
666 indicates a testbed internal error.</li>
</ol>
</blockquote></blockquote></blockquote></h4>\n";
</font></div>\n";
echo "</div>\n";
echo "<script type='text/javascript' language='javascript'>
sorttable.makeSortable(getObjbyName('nodetable'));
</script>\n";
# Sort initialized later when page fully loaded.
AddSortedTable('nodetable');
}
}
......
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