IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 19, 2010, 3:35:45 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Addition to czartool_labels + links to new failed pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/czartool_labels.php

    r28964 r28969  
    1010//$db = dbconnect($ID['proj']);
    1111$czardb = dbconnect("czardb"); // HACK to connect to czarDb
     12$lastUpdateTime = getLastUpdateTime($czardb);
     13
    1214$gpc1db = dbconnect($ID['proj']);
    1315
     
    2224else {$myMenu = "ipp.imfiles.dat";}
    2325
    24 menu($myMenu, 'Czartool', 'ipp.css', $ID['link'], $ID['proj']);
     26menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']);
    2527
    2628$pass = $ID['pass'];
     
    3436$selectedRevertMode = $_GET[revertmode];
    3537
    36 if ($selectedLabel == "") $selectedLabel = "all_stdscience_labels";
    37 if ($selectedStage == "") $selectedStage = "all_stages";
     38if ($selectedLabel == "") { $selectedLabel = "all_stdscience_labels"; }
     39if ($selectedStage == "") { $selectedStage = "all_stages"; }
     40
     41echo 'Some documentation can be found <a href="http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing">here</a><br>';
    3842
    3943// deal with reverts: turn on or off if requested and pass current revert state for this stage onto labels table later
     
    8387echo "<input type=\"hidden\" name=\"menu\" value=\"$menu\">\n";
    8488echo "</form>\n";
    85 $lastUpdateTime = getLastUpdateTime($czardb);
    8689echo "<p  align=\"center\"> Current status of IPP (any faults are shown in parentheses). NOTE: This data is good as of: $lastUpdateTime </p>";
    8790
     
    291294        $anyFaults = false;
    292295
    293         $link = "chipProcessedImfile_failure.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=new";
     296        $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=new";
    294297        getStateAndFaults($db, $thisLabel, $selectedState, "chip", $str, $anyFaults);
    295298        write_table_cell($class, '%s', $anyFaults ? $link : "", $str);
    296299
    297         $link = "camProcessedExp_failure.php?pass=" . $pass . "&proj=" . $proj . "&camRun.label=" . $thisLabel . "&camRun.state=new";
     300        $link = "failedCamProcessedExp.php?pass=" . $pass . "&proj=" . $proj . "&camRun.label=" . $thisLabel . "&camRun.state=new";
    298301        getStateAndFaults($db, $thisLabel, $selectedState, "cam", $str, $anyFaults);
    299302        write_table_cell($class, '%s',  $anyFaults ? $link : "", $str);
    300303
    301         $link = $defaultlink;
     304        $link =  "failedFakeProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&fakeRun.label=" . $thisLabel . "&fakeRun.state=new";
    302305        getStateAndFaults($db, $thisLabel, $selectedState, "fake", $str, $anyFaults);
    303306        write_table_cell($class, '%s',  $anyFaults ? $link : "", $str);
    304307
    305         $link = "warpFailedSkyfiles.php?pass=" . $pass . "&proj=" . $proj . "&warpRun.label=" . $thisLabel . "&warpRun.state=new";
     308        $link = "failedWarpSkyfiles.php?pass=" . $pass . "&proj=" . $proj . "&warpRun.label=" . $thisLabel . "&warpRun.state=new";
    306309        getStateAndFaults($db, $thisLabel, $selectedState, "warp", $str, $anyFaults);
    307310        write_table_cell($class, '%s',  $anyFaults ? $link : "",  $str);
    308311
    309         $link = "stackFailedSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&stackRun.label=" . $thisLabel . "&stackRun.state=new";
     312        $link = "failedStackSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&stackRun.label=" . $thisLabel . "&stackRun.state=new";
    310313        getStateAndFaults($db, $thisLabel, $selectedState, "stack", $str, $anyFaults);
    311314        write_table_cell($class, '%s',  $anyFaults ? $link : "", $str);
    312315
    313         $link = "diffFailedSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&diffRun.label=" . $thisLabel . "&diffRun.state=new";
     316        $link = "failedDiffSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&diffRun.label=" . $thisLabel . "&diffRun.state=new";
    314317        getStateAndFaults($db, $thisLabel, $selectedState, "diff", $str, $anyFaults);
    315318        write_table_cell($class, '%s',  $anyFaults ? $link : "",  $str);
Note: See TracChangeset for help on using the changeset viewer.