Magellan Linux

Diff of /alx-src/branches/alx-web-070/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9460 by niro, Thu Apr 6 12:34:29 2017 UTC revision 10662 by niro, Wed Aug 30 15:08:15 2017 UTC
# Line 114  echo '</form>'; Line 114  echo '</form>';
114    
115  echo '<table border="1" id="mytab">';  echo '<table border="1" id="mytab">';
116  echo '<thead><tr style="font-weight:bold;background-color:#d5e5ff"><th>edit</th><th colspan=3>serial</th><th width=170>hostname</th><th width=100>ip</th><th width=100>mac</th><th width=100>last connected</th>';  echo '<thead><tr style="font-weight:bold;background-color:#d5e5ff"><th>edit</th><th colspan=3>serial</th><th width=170>hostname</th><th width=100>ip</th><th width=100>mac</th><th width=100>last connected</th>';
117  echo '<th colspan=2>version</th>';  echo '<th colspan=3>version</th>';
118  echo '<th width=100>boot</th>';  echo '<th width=100>boot</th>';
119  echo '<th width=150>up/down</th></tr></thead><tbody>';  echo '<th width=150>up/down</th></tr></thead><tbody>';
120    
# Line 151  foreach($comps as $c) Line 151  foreach($comps as $c)
151   if (isset($alxinfo[utils])) $alxutils = $alxinfo[utils];   if (isset($alxinfo[utils])) $alxutils = $alxinfo[utils];
152   else $alxutils = 'unknown';   else $alxutils = 'unknown';
153    
154     if (isset($alxinfo[arch])) $alxarch = $alxinfo[arch];
155     else $alxarch = 'unknown';
156    
157   echo '<td>'.$alxver.'</td>';   echo '<td>'.$alxver.'</td>';
158   echo '<td>'.$alxutils.'</td>';   echo '<td>'.$alxutils.'</td>';
159     echo '<td>'.$alxarch.'</td>';
160    
161   // netboot state   // netboot state
162   if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>';   if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>';

Legend:
Removed from v.9460  
changed lines
  Added in v.10662