IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29056


Ignore:
Timestamp:
Aug 25, 2010, 3:55:29 PM (16 years ago)
Author:
rhenders
Message:

Added burntool

File:
1 edited

Legend:

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

    r28969 r29056  
    3939if ($selectedStage == "") { $selectedStage = "all_stages"; }
    4040
    41 echo 'Some documentation can be found <a href="http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing">here</a><br>';
     41echo "<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>";
    4242
    4343// deal with reverts: turn on or off if requested and pass current revert state for this stage onto labels table later
     
    6666
    6767$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");
    6969$servers=array(
    7070        "addstar",
     
    8787echo "<input type=\"hidden\" name=\"menu\" value=\"$menu\">\n";
    8888echo "</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>";
    9089
    9190echo "<table>\n";
     
    231230    echo "<tr><td></td>\n";
    232231
    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>";
    234233
    235234    write_header_cell($class, "");
     
    238237    foreach ($stages as &$stage) {
    239238
     239        if ($stage == "burntool") continue;
    240240        $reverting = getRevertStatus($db, $stage);
    241241        $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $selectedLabel . "&stage=" . $selectedStage . "&revertstage=" . $stage . "&revertmode=";
     
    249249    echo "</tr>\n";
    250250    echo "<tr><td></td>\n";
     251    write_header_cell($class, " ");
    251252    write_header_cell($class, "Label (in order of priority)");
    252     write_header_cell($class, "Distributing?");
    253     write_header_cell($class, "Publishing?");
    254253    foreach ($stages as &$stage) {
    255254       
     
    287286
    288287        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
    289293        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");
    292294
    293295        $str = "";
    294296        $anyFaults = false;
     297
     298        $link = $defaultlink;
     299        getStateAndFaults($db, $thisLabel, $selectedState, "burntool", $str, $anyFaults);
     300        write_table_cell($class, '%s', $anyFaults ? $link : "", $str);
    295301
    296302        $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=new";
     
    337343
    338344    echo "<tr><td></td>\n";
     345    write_table_cell($class, '%s', "", " ");
    339346    write_table_cell($class, '%s', $link, "All $server labels");
    340347
Note: See TracChangeset for help on using the changeset viewer.