Changeset 29056
- Timestamp:
- Aug 25, 2010, 3:55:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/czartool_labels.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_labels.php
r28969 r29056 39 39 if ($selectedStage == "") { $selectedStage = "all_stages"; } 40 40 41 echo 'Some documentation can be found <a href="http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing">here</a><br>';41 echo "<p align=\"center\"> Current status of the IPP as of $lastUpdateTime (faults are shown in parentheses). <br>Documentation can be found <a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing\">here</a> and cluster load monitored <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending&c=IPP%2520Production\">here</a></p>"; 42 42 43 43 // deal with reverts: turn on or off if requested and pass current revert state for this stage onto labels table later … … 66 66 67 67 $states=array("full","new","drop","wait"); 68 $stages=array(" chip","cam","fake","warp","stack","diff","magic","magicDS","dist");68 $stages=array("burntool", "chip","cam","fake","warp","stack","diff","magic","magicDS","dist"); 69 69 $servers=array( 70 70 "addstar", … … 87 87 echo "<input type=\"hidden\" name=\"menu\" value=\"$menu\">\n"; 88 88 echo "</form>\n"; 89 echo "<p align=\"center\"> Current status of IPP (any faults are shown in parentheses). NOTE: This data is good as of: $lastUpdateTime </p>";90 89 91 90 echo "<table>\n"; … … 231 230 echo "<tr><td></td>\n"; 232 231 233 echo "<p align=\"center\"> Current labels for $server server </p>";232 echo "<p align=\"center\"> Current labels for $server server (D=distributing, P=publishing)</p>"; 234 233 235 234 write_header_cell($class, ""); … … 238 237 foreach ($stages as &$stage) { 239 238 239 if ($stage == "burntool") continue; 240 240 $reverting = getRevertStatus($db, $stage); 241 241 $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $selectedLabel . "&stage=" . $selectedStage . "&revertstage=" . $stage . "&revertmode="; … … 249 249 echo "</tr>\n"; 250 250 echo "<tr><td></td>\n"; 251 write_header_cell($class, " "); 251 252 write_header_cell($class, "Label (in order of priority)"); 252 write_header_cell($class, "Distributing?");253 write_header_cell($class, "Publishing?");254 253 foreach ($stages as &$stage) { 255 254 … … 287 286 288 287 echo "<tr><td></td>\n"; 288 $distPub = " "; 289 if ($distributing) $distPub = "D"; 290 if ($publishing) $distPub = $distPub . "P"; 291 write_table_cell($class, '%s', "", $distPub); 292 289 293 write_table_cell($class, '%s', $link, $thisLabel); 290 write_table_cell($class, '%s', "", $distributing ? "yes" : "NO");291 write_table_cell($class, '%s', "", $publishing ? "yes" : "NO");292 294 293 295 $str = ""; 294 296 $anyFaults = false; 297 298 $link = $defaultlink; 299 getStateAndFaults($db, $thisLabel, $selectedState, "burntool", $str, $anyFaults); 300 write_table_cell($class, '%s', $anyFaults ? $link : "", $str); 295 301 296 302 $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=new"; … … 337 343 338 344 echo "<tr><td></td>\n"; 345 write_table_cell($class, '%s', "", " "); 339 346 write_table_cell($class, '%s', $link, "All $server labels"); 340 347
Note:
See TracChangeset
for help on using the changeset viewer.
