- Timestamp:
- May 29, 2012, 5:08:07 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/ippMonitor
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
raw/czartool_labels.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor (added) merged: 33800-33806,33808,33814-33816,33846-33847
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120405/ippMonitor/raw/czartool_labels.php
r33063 r33949 23 23 24 24 if ($ID['menu']) {$myMenu = $ID['menu'];} 25 else {$myMenu = "ipp. imfiles.dat";}25 else {$myMenu = "ipp.czar.dat";} 26 26 27 27 menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']); 28 28 29 29 $stages=array( 30 "burntool",31 30 "chip", 32 31 "cam", … … 34 33 "warp", 35 34 "stack", 35 "staticsky", 36 36 "diff", 37 "magic",38 "magicDS",39 37 "dist", 40 "pub"); 38 "pub", 39 "chipbackground"); 41 40 42 41 $servers=array( … … 92 91 93 92 $debug = 0; 94 $table = "<table bgcolor=\"#FFFFFF\" width=\" 700\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n";93 $table = "<table bgcolor=\"#FFFFFF\" width=\"900\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n"; 95 94 96 95 $labels = getLabels($czardb, $selectedMode); … … 441 440 $anyFaults = false; 442 441 443 $link = $defaultlink;444 getStateAndFaults($db, $thisLabel, $selectedState, "burntool", $str, $anyFaults);445 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);446 447 442 $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=".$searchState; 448 443 getStateAndFaults($db, $thisLabel, $selectedState, "chip", $str, $anyFaults); … … 465 460 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 466 461 462 $link = $defaultlink; 463 getStateAndFaults($db, $thisLabel, $selectedState, "staticsky", $str, $anyFaults); 464 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 465 467 466 $link = "failedDiffSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&diffRun.label=" . $thisLabel . "&diffRun.state=".$searchState; 468 467 getStateAndFaults($db, $thisLabel, $selectedState, "diff", $str, $anyFaults); … … 470 469 471 470 $link = $defaultlink; 472 getStateAndFaults($db, $thisLabel, $selectedState, "magic", $str, $anyFaults);473 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null);474 475 $link = $defaultlink;476 getStateAndFaults($db, $thisLabel, $selectedState, "magicDS", $str, $anyFaults);477 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null);478 479 $link = $defaultlink;480 471 getStateAndFaults($db, $thisLabel, $selectedState, "dist", $str, $anyFaults); 481 472 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null); … … 485 476 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$publishing) ? "gray" : null); 486 477 478 $link = $defaultlink; 479 getStateAndFaults($db, $thisLabel, $selectedState, "chipbackground", $str, $anyFaults); 480 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 481 487 482 echo "</tr>\n"; 488 483 } … … 492 487 createFormattedTableCell(($selectedLabel != "all"), $link, "All labels", 0, null); 493 488 494 createFormattedTableCell(0, null, "Reverting?", 0, "$columnHeaderColor");495 496 489 foreach ($stages as &$stage) { 497 490 498 if ($stage == "burntool") continue;499 491 $reverting = getRevertStatus($db, $stage); 500 #$link = 501 # "czartool_labels.php?pass=".$pass 502 # ."&proj=".$proj 503 # ."&mode=" .$selectedMode 504 # ."&label=".$selectedLabel 505 # ."&stage=".$selectedStage 506 # ."&plottype=".$plotType 507 # ."&revertstage=".$stage 508 # ."&revertmode="; 509 # 510 #if(!$reverting) {$label = "Start";$link = $link . "on";} 511 #if($reverting) {$label = "Stop";$link = $link . "off";} 512 if(!$reverting) {$label = "no";} 513 if($reverting) {$label = "yes";} 492 if(!$reverting) {$label = "";} 493 if($reverting) {$label = "reverting";} 514 494 unset($reverting); 515 #createFormattedTableCell(1, $link, $label, 0, "$columnHeaderColor");516 495 createFormattedTableCell(0, null, $label, 0, "$columnHeaderColor"); 517 #echo "<td><a href=\"$link\"><font color=\"blue\">$label</font></td>";518 519 496 } 520 497
Note:
See TracChangeset
for help on using the changeset viewer.
