Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
61dc7b8f
Commit
61dc7b8f
authored
Dec 15, 2000
by
Leigh B. Stoller
Browse files
Minor formatting changes to node information display.
parent
ff85c01e
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/nodecontrol_list.php3
View file @
61dc7b8f
...
...
@@ -37,16 +37,16 @@ echo "<table border=2 cellpadding=0 cellspacing=2
align='center'>
\n
"
;
echo
"<tr>
<td>Change</td>
<td>ID</td>
<td>Type</td>
<td>PID</td>
<td>EID</td>
<td
>Def
Image</td>
<td
>Def
Path</td>
<td
>Def
Cmdline</td>
<td>Next
Path</td>
<td>Next
Cmdline</td>
<td
align=center
>Change</td>
<td
align=center
>ID</td>
<td
align=center
>Type</td>
<td
align=center
>PID</td>
<td
align=center
>EID</td>
<td
align=center>Default<br>
Image</td>
<td
align=center>Default<br>
Path</td>
<td
align=center>Default<br>
Cmdline</td>
<td
align=center
>Next
<br>
Path</td>
<td
align=center
>Next
<br>
Cmdline</td>
</tr>
\n
"
;
while
(
$row
=
mysql_fetch_array
(
$query_result
))
{
...
...
www/showexp.php3
View file @
61dc7b8f
...
...
@@ -131,13 +131,12 @@ if (mysql_num_rows($reserved_result)) {
echo
"<h3>Reserved Nodes</h3>
<table align=center border=1>
<tr>
<td>Change</td>
<td>Node ID</td>
<td>Node Type</td>
<td>Default Image</td>
<td>Default Cmdline</td>
<td>Next Path</td>
<td>Next Cmdline</td>
<td align=center>Change</td>
<td align=center>Node ID</td>
<td align=center>Type</td>
<td align=center>Default<br>Image</td>
<td align=center>Default<br>Path</td>
<td align=center>Default<br>Cmdline</td>
</tr>
\n
"
;
#
...
...
@@ -153,12 +152,15 @@ if (mysql_num_rows($reserved_result)) {
$node_id
=
$row
[
node_id
];
$type
=
$row
[
type
];
$def_boot_image_id
=
$row
[
def_boot_image_id
];
$def_boot_path
=
$row
[
def_boot_path
];
$def_boot_cmd_line
=
$row
[
def_boot_cmd_line
];
$next_boot_path
=
$row
[
next_boot_path
];
$next_boot_cmd_line
=
$row
[
next_boot_cmd_line
];
if
(
!
$def_boot_cmd_line
)
$def_boot_cmd_line
=
"NULL"
;
if
(
!
$def_boot_path
)
$def_boot_path
=
"NULL"
;
if
(
!
$next_boot_path
)
$next_boot_path
=
"NULL"
;
if
(
!
$next_boot_cmd_line
)
...
...
@@ -171,9 +173,8 @@ if (mysql_num_rows($reserved_result)) {
<td>
$node_id
</td>
<td>
$type
</td>
<td>
$def_boot_image_id
</td>
<td>
$def_boot_path
</td>
<td>
$def_boot_cmd_line
</td>
<td>
$next_boot_path
</td>
<td>
$next_boot_cmd_line
</td>
</tr>
\n
"
;
}
echo
"</table>
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment