IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 29, 2012, 5:08:07 PM (14 years ago)
Author:
eugene
Message:

merging changes from trunk

Location:
branches/eam_branches/ipp-20120405/ippMonitor
Files:
23 edited
8 copied

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120405/ippMonitor

  • branches/eam_branches/ipp-20120405/ippMonitor/Makefile.in

    r32782 r33949  
    4747$(DESTWWW)/ipp.dvodb.dat \
    4848$(DESTWWW)/ipp.dvodb.php \
     49$(DESTWWW)/ipp.czar.dat \
     50$(DESTWWW)/ipp.czar.php \
    4951$(DESTWWW)/phptest.php \
    5052$(DESTWWW)/site.php \
     
    222224$(DESTWWW)/minidvodbCopy.php \
    223225$(DESTWWW)/minidvodbProcessed.php \
     226$(DESTWWW)/mergedvodbRun.php \
     227$(DESTWWW)/mergedvodbCopy.php \
     228$(DESTWWW)/mergedvodbProcessed.php \
     229$(DESTWWW)/dvodbStatus.php \
     230$(DESTWWW)/dvodbFaulted.php \
    224231$(DESTWWW)/addRunRun.php \
    225232$(DESTWWW)/addRunProcessed.php \
     233$(DESTWWW)/addRunSummary.php \
    226234$(DESTWWW)/lapSequenceSummary.php \
    227235$(DESTWWW)/lapRuns.php \
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/czarpoll.pl

    r32775 r33949  
    3838
    3939my @stages = (
    40         "burntool",
    4140        "chip",
    4241        "cam",
     
    4443        "warp",
    4544        "stack",
     45        "staticsky",
    4646        "diff",
    47         "magic",
    48         "magicDS",
    4947        "dist",
    50         "pub");
     48        "pub",
     49        "chipbackground");
    5150
    5251my @ippToPspsStages = (
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool.pl

    r32093 r33949  
    3232my @publishingLabels = undef;
    3333
    34 my @stages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist", "pub");
     34my @stages = ("chip", "cam", "fake", "warp", "stack", "staticsky", "diff", "dist", "pub", "chipbackground");
    3535promptPoll();
    3636
     
    155155
    156156    chomp($label);
    157 
    158     printf("\n+----------------------------------------------------------------------------------------------------------------------------------------------+\n");
    159     printf("|                                                         %32s                                                     |\n", $label);
    160     printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n");
    161     printf("|   state    |    chip    |    cam     |    fake    |    warp    |   stack    |    diff    |   magic    |  destreak  |    dist    |   publish  |\n");
    162     printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n");
     157    my $stage;
     158
     159    printf("\n|  %32s  \n", $label);
     160    printf("+------------+");
     161    foreach $stage (@stages) {
     162        print "--------------+"
     163    }
     164    printf("\n");
     165    printf("|   state    |");
     166    foreach $stage (@stages) {
     167
     168        printf("%14s|", $stage)
     169    }
     170    printf("\n");
     171    printf("+------------+");
     172    foreach $stage (@stages) {
     173        print "--------------+"
     174    }
     175    printf("\n");
    163176
    164177    my $state;
    165     my $stage;
    166178    my $i=0;
    167179    foreach $state (@states) {
     
    172184        foreach $stage (@stages) {
    173185
    174             printf("| %10s ", getStateAndFaultsString($label, $state, $stage));
     186            printf("|%14s", getStateAndFaultsString($label, $state, $stage));
    175187        }
    176188
     
    179191    }
    180192
    181     printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n");
     193    printf("+------------+");
     194    foreach $stage (@stages) {
     195        print "--------------+"
     196    }
     197    printf("\n");
    182198
    183199}
     
    191207    my ($state) = @_;
    192208#print time, $/;
    193     printf("\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n");
    194     printf("|                                                                                         %10s (any faults are shown in parentheses)                                                                 |\n", $state);
    195     printf("+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+\n");
    196     printf("| no  |              label               | distributing? |  publishing?  |    chip    |    cam     |    fake    |    warp    |   stack    |    diff    |   magic    |  destreak  |    dist    |   publish  |\n");
    197     printf("+-----+----------------------------------+---------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n");
     209    my $stage;
     210
     211    printf("|\n");
     212    printf("+-----+----------------------------------+---------------+---------------+");
     213    foreach $stage (@stages) {
     214        print "--------------+"
     215    }
     216    printf("\n");
     217    printf("| no  |              label               | distributing? |  publishing?  |");
    198218
    199219    my $stdsLabel;
     
    202222    my $distributing;
    203223    my $publishing;
    204     my $stage;
    205224    my $i=1;
     225    foreach $stage (@stages) {
     226
     227        printf("%14s|", $stage)
     228    }
     229    printf("\n");
     230    printf("+-----+----------------------------------+---------------+---------------+");
     231    foreach $stage (@stages) {
     232        print "--------------+"
     233    }
     234    printf("\n");
     235
    206236    foreach $stdsLabel (@stdscienceLabels) {
    207237
     
    225255        foreach $stage (@stages) {
    226256
    227             printf("| %10s ", getStateAndFaultsString($stdsLabel, $state, $stage));
     257            printf("|%14s", getStateAndFaultsString($stdsLabel, $state, $stage));
    228258        }
    229259
     
    232262    }
    233263
    234     printf("+-----+----------------------------------+---------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n");
     264    printf("+-----+----------------------------------+---------------+---------------+");
     265    foreach $stage (@stages) {
     266        print "--------------+"
     267    }
     268    printf("\n");
    235269
    236270}
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/CzarDb.pm

    r32797 r33949  
    99
    1010my @stages = (
    11         "burntool",
    1211        "chip",
    1312        "cam",
     
    1615        "stack",
    1716        "diff",
    18         "magic",
    19         "magicDS",
    2017        "dist",
    21         "pub"); # TODO put elsewhere
     18        "pub",
     19        "chipbackground"); # TODO put elsewhere
    2220
    2321my @ippToPspsStages = (
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/DayMetrics.pm

    r32093 r33949  
    4040    $self->{begin} =  "$yesterday " . $self->{config}->getMetricsStartTime();
    4141    $self->{end} = $self->{czarDb}->addInterval($self->{begin}, "1 DAY");
    42     $self->{burntoolEnd} = $self->{czarDb}->addInterval($self->{begin}, "12 HOUR");
     42    $self->{chipEnd} = $self->{czarDb}->addInterval($self->{begin}, "12 HOUR");
    4343
    4444    # create path, dir and html file
     
    6767    my $htmlFile = $self->{htmlFile};
    6868
    69     # summit and burntool exposures
     69    # summit and chip exposures
    7070    my $summitExposures = $self->{gpc1Db}->countScienceExposuresFromLastNight($self->{day});
    71     my $burntoolMetrics = new czartool::StageMetrics("burntool", "all_stdscience_labels", $self->{begin}, $self->{burntoolEnd});
    72     $self->{czarDb}->runAnalysis($burntoolMetrics);
     71    my $chipMetrics = new czartool::StageMetrics("chip", "all_stdscience_labels", $self->{begin}, $self->{chipEnd});
     72    $self->{czarDb}->runAnalysis($chipMetrics);
    7373
    7474    my $previousDay = $self->{czarDb}->subtractInterval($self->{day}, "1 DAY");
     
    7878    print $htmlFile "<a href=\"../$previousDay/index.html\"> \< previous day</a> | <a href=\"../index.html\">all</a> | <a href=\"../$nextDay/index.html\">next day \></a><br>\n";
    7979    print $htmlFile "Measured from $self->{begin} to $self->{end} HST<br>\n";
    80     printf ( $htmlFile "%d exposures taken on summit last night, %d through burntool today</h5>\n",
    81             $summitExposures, $burntoolMetrics->getProcessed() ? $burntoolMetrics->getProcessed() : 0 );
     80    printf ( $htmlFile "%d exposures taken on summit last night, %d through chip today</h5>\n",
     81            $summitExposures, $chipMetrics->getProcessed() ? $chipMetrics->getProcessed() : 0 );
    8282    print $htmlFile "</head>\n";
    8383    print $htmlFile "<body>\n";
     
    9898    my %labelTables;
    9999
    100     my @stages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");
     100    my @stages = (
     101            "chip",
     102            "cam",
     103            "fake",
     104            "warp",
     105            "stack",
     106            "staticsky",
     107            "diff",
     108            "dist",
     109            "chipbackground");
    101110
    102111
     
    126135        foreach my $stage ( @stages ){
    127136
    128             my $stageMetrics = new czartool::StageMetrics($stage, $label, $self->{begin}, ($stage eq "burntool") ? $self->{burntoolEnd} : $self->{end});
     137            my $stageMetrics = new czartool::StageMetrics($stage, $label, $self->{begin}, ($stage eq "chip") ? $self->{chipEnd} : $self->{end});
    129138            if (!$self->{czarDb}->runAnalysis($stageMetrics)) {next;}
    130139
     
    253262    print $htmlFile "  <tr>\n";
    254263    print $htmlFile "    <th>Survey</th>\n";
    255     print $htmlFile "    <th>Started burntool</th>\n";
     264    print $htmlFile "    <th>Started chip</th>\n";
    256265    print $htmlFile "    <th>Finished distribution</th>\n";
    257266    print $htmlFile "    <th>Time taken</th>\n";
     
    260269    # OSS survey
    261270    my ($started, $finished, $timeTaken) = undef;
    262     $self->{czarDb}->getDayTimings("OSS.nightlyscience", "burntool", "diff", $self->{begin}, \$started, \$finished, \$timeTaken);
     271    $self->{czarDb}->getDayTimings("OSS.nightlyscience", "chip", "diff", $self->{begin}, \$started, \$finished, \$timeTaken);
    263272    $self->printSurveyDetails("OSS", $started, $finished, $timeTaken);
    264273
     
    285294    foreach $mdf (@mdfs) {
    286295
    287         if ($self->{czarDb}->getDayTimings($mdf, "burntool", "dist", $self->{begin}, \$started, \$finished, \$timeTaken)) {
     296        if ($self->{czarDb}->getDayTimings($mdf, "chip", "dist", $self->{begin}, \$started, \$finished, \$timeTaken)) {
    288297
    289298            if ($started && $self->{czarDb}->isBefore($started, $earliest)) {$earliest = $started; $haveStart = 1;}
     
    299308    $self->printSurveyDetails("MDF", $earliest, $latest, $timeTaken);
    300309
    301     $self->{czarDb}->getDayTimings("all_stdscience_labels", "burntool", "dist", $self->{begin}, \$started, \$finished, \$timeTaken);
     310    $self->{czarDb}->getDayTimings("all_stdscience_labels", "chip", "dist", $self->{begin}, \$started, \$finished, \$timeTaken);
    302311    $self->printSurveyDetails("All", $started, $finished, $timeTaken);
    303312
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/Gpc1Db.pm

    r32567 r33949  
    2424    elsif ($stage eq "warp") {${$joinTable}="warpSkyfile";}
    2525    elsif ($stage eq "stack") {${$joinTable}="stackSumSkyfile";}
     26    elsif ($stage eq "staticsky") {${$id} = "sky_id"; ${$joinTable}="staticskyResult";}
    2627    elsif ($stage eq "diff") {${$joinTable}="diffSkyfile";}
    2728    elsif ($stage eq "magic") {${$joinTable}="magicNodeResult";}
     
    2930    elsif ($stage eq "dist") {${$joinTable}="distComponent";}
    3031    elsif ($stage eq "pub") {${$joinTable}="publishDone";}
     32    elsif ($stage eq "chipbackground") {${$id}="chip_bg_id"; ${$joinTable}="chipBackgroundImfile";}
    3133    else {
    3234
     
    5153    elsif ($stage eq "warp" ) {return "warpRun";}
    5254    elsif ($stage eq "stack" ) {return "stackRun";}
     55    elsif ($stage eq "staticsky" ) {return "staticskyRun";}
    5356    elsif ($stage eq "diff" ) {return "diffRun";}
    5457    elsif ($stage eq "magic" ) {return "magicRun";}
     
    5659    elsif ($stage eq "dist" ) {return "distRun";}
    5760    elsif ($stage eq "pub" ) {return "publishRun";}
     61    elsif ($stage eq "chipbackground" ) {return "chipBackgroundRun";}
    5862
    5963    return "ERROR";
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/Plotter.pm

    r32763 r33949  
    1111
    1212my @allStages = (
    13         "burntool",
    1413        "chip",
    1514        "cam",
     
    1716        "warp",
    1817        "stack",
     18        "staticsky",
    1919        "diff",
    20         "magic",
    21         "magicDS",
    2220        "dist",
    23         "pub");
     21        "pub",
     22        "chipbackground");
    2423
    2524my @allIppToPspsStages = (
  • branches/eam_branches/ipp-20120405/ippMonitor/czartool/roboczar.pl

    r32098 r33949  
    2121my $czarDb = $config->getCzarDbInstance();
    2222
    23 my @stages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist"); # TODO get from Pantasks
     23my @stages = (
     24        "chip",
     25        "cam",
     26        "fake",
     27        "warp",
     28        "stack",
     29        "staticsky",
     30        "diff",
     31        "dist",
     32        "chipbackground"); # TODO get from Pantasks
    2433
    2534my @interestedServers = $config->getRoboczarInterestedServers();
  • branches/eam_branches/ipp-20120405/ippMonitor/def/addRunRun.d

    r31320 r33949  
    99
    1010#     field                   size  format  name         show    link to                  extras
    11 FIELD distinct(addRun.add_id),        5, %d,     add ID
     11FIELD addRun.add_id,       5, %d,     addID
    1212FIELD addRun.stage,        5, %s,     stage
    13 FIELD addRun.stage_id,          5, %d,     stage ID
    14 FIELD addRun.add_id,        5, %d,     add ID
     13FIELD addRun.stage_id,     5, %d,     stageID
     14FIELD addRun.stage_extra1, 5, %d,     stageExtra1
     15#FIELD addRun.add_id,       5, %d,     addID
    1516FIELD addRun.state,        5, %s,     state
    16 FIELD addRun.workdir,        5, %s,     workdir
    17 FIELD addRun.reduction,        5, %s,     reduction
     17FIELD addRun.workdir,      5, %s,     workdir
     18FIELD addRun.reduction,    5, %s,     reduction
    1819FIELD addRun.label,        5, %s,     label
    19 FIELD addRun.data_group,        5, %s,     data_group
     20FIELD addRun.data_group,   5, %s,     data_group
    2021FIELD addRun.dvodb,        5, %s,     dvodb
    21 FIELD addRun.note,        5, %s,     note
    22 FIELD addRun.image_only,        5, %d,   image_only
    23 FIELD addRun.minidvodb,        5, %d,     minidvodb
    24 FIELD addRun.minidvodb_group,        5, %s,     minidvodb_group
    25 FIELD addRun.minidvodb_name,        5, %s,     minidvodb_name
    26 
    27 
     22FIELD addRun.note,         5, %s,     note
     23FIELD addRun.image_only,   5, %d,   image_only
     24FIELD addRun.minidvodb,    5, %d,     minidvodb
     25FIELD addRun.minidvodb_group, 5, %s,     minidvodb_group
     26FIELD addRun.minidvodb_name,  5, %s,     minidvodb_name
  • branches/eam_branches/ipp-20120405/ippMonitor/def/exposureStatus.d

    r29404 r33949  
    22TITLE Exposures Status
    33FILE exposureStatus.php
    4 MENU ipp.imfiles.dat
     4MENU ipp.czar.dat
    55
    66WHERE object != 'ENGINEERING'
  • branches/eam_branches/ipp-20120405/ippMonitor/def/gpc1MysqlProcessList.d

    r29481 r33949  
    22TITLE GPC 1 MySql Process List
    33FILE gpc1MysqlProcessList.php
    4 MENU ipp.imfiles.dat
     4MENU ipp.czar.dat
    55
    66FIELD ID,   5,  %d, Process ID
  • branches/eam_branches/ipp-20120405/ippMonitor/def/maskStats.d

    r28451 r33949  
    22TITLE Mask Stats
    33FILE  maskStats.php
    4 MENU  ipp.imfiles.dat
     4MENU  ipp.czar.dat
    55
    66WHERE rawExp.exp_id = chipRun.exp_id
  • branches/eam_branches/ipp-20120405/ippMonitor/def/minidvodbProcessed.d

    r30453 r33949  
    99
    1010#     field                   size  format  name         show    link to                  extras
    11 FIELD distinct(minidvodbRun.minidvodb_id),        5, %d,     Minidvodb ID
    12 
     11FIELD minidvodbRun.minidvodb_id,        5, %d,     Minidvodb ID
    1312FIELD minidvodbRun.minidvodb_name,          5, %s,     minidvodb_name
    1413FIELD minidvodbRun.minidvodb_group,       5, %s,     minidvodb_group
    15 FIELD minidvodbProcessed.merge_order,        5, %d,     Merge Order
    1614FIELD minidvodbProcessed.dtime_resort,        5, %d,     resort time
    1715FIELD minidvodbProcessed.dtime_relphot,        5, %d,     relphot time
    18 FIELD minidvodbProcessed.dtime_merge,        5, %d,     dvomerge time
    19 FIELD minidvodbProcessed.mergedvodb_path,          25, %s,     mergedvodb_path
     16FIELD minidvodbProcessed.dtime_script,        5, %d,     script time
    2017FIELD state,          5, %s,    State
    2118FIELD minidvodbProcessed.fault,        5, %d,     Fault
  • branches/eam_branches/ipp-20120405/ippMonitor/def/minidvodbRun.d

    r30453 r33949  
    99
    1010#     field                   size  format  name         show    link to                  extras
    11 FIELD distinct(minidvodbRun.minidvodb_id),        5, %d,     Minidvodb ID
     11FIELD minidvodbRun.minidvodb_id,        5, %d,     Minidvodb ID
    1212FIELD minidvodbRun.minidvodb_name,          5, %s,     minidvodb_name
    1313FIELD minidvodbRun.minidvodb_group,       5, %s,     minidvodb_group
    1414FIELD minidvodbRun.minidvodb_path,    25, %s,     minidvodb_path
    15 FIELD minidvodbRun.mergedvodb_path,          25, %s,     mergedvodb_path
     15#FIELD minidvodbRun.mergedvodb_path,          25, %s,     mergedvodb_path
    1616FIELD state,          5, %s,    State
    1717FIELD creation_date,        5, %T,     epoch
  • branches/eam_branches/ipp-20120405/ippMonitor/def/mopsStatus.d

    r32278 r33949  
    22TITLE MOPS Status
    33FILE mopsStatus.php
    4 MENU ipp.imfiles.dat
     4MENU ipp.czar.dat
    55#WHERE rawExp.obs_mode!='ENGINEERING'
    66
  • branches/eam_branches/ipp-20120405/ippMonitor/def/warpProcessedSkyfiles_Images.d

    r32369 r33949  
    11TABLE  rawExp JOIN chipRun USING(exp_id) JOIN camRun USING(chip_id) JOIN fakeRun USING(cam_id) JOIN warpRun USING(fake_id) JOIN warpSkyfile USING(warp_id)
    22TITLE Warp Processed Skyfiles
    3 FILE  warpProcessedSkyfiles.php
     3FILE  warpProcessedSkyfiles_Images.php
    44MENU  ipp.science.dat
    55
  • branches/eam_branches/ipp-20120405/ippMonitor/raw/czartool_ipptopsps.php

    r33441 r33949  
    2323
    2424if ($ID['menu']) {$myMenu = $ID['menu'];}
    25 else {$myMenu = "ipp.imfiles.dat";}
     25else {$myMenu = "ipp.czar.dat";}
    2626
    2727menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']);
     
    7878
    7979$debug = 0;
    80 $table = "<table bgcolor=\"#FFFFFF\" width=\"700\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n";
     80$table = "<table bgcolor=\"#FFFFFF\" width=\"900\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n";
    8181
    8282
  • branches/eam_branches/ipp-20120405/ippMonitor/raw/czartool_labels.php

    r33063 r33949  
    2323
    2424if ($ID['menu']) {$myMenu = $ID['menu'];}
    25 else {$myMenu = "ipp.imfiles.dat";}
     25else {$myMenu = "ipp.czar.dat";}
    2626
    2727menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']);
    2828
    2929$stages=array(
    30         "burntool",
    3130        "chip",
    3231        "cam",
     
    3433        "warp",
    3534        "stack",
     35        "staticsky",
    3636        "diff",
    37         "magic",
    38         "magicDS",
    3937        "dist",
    40         "pub");
     38        "pub",
     39        "chipbackground");
    4140
    4241$servers=array(
     
    9291
    9392$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";
    9594
    9695$labels = getLabels($czardb, $selectedMode);
     
    441440        $anyFaults = false;
    442441
    443         $link = $defaultlink;
    444         getStateAndFaults($db, $thisLabel, $selectedState, "burntool", $str, $anyFaults);
    445         createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
    446 
    447442        $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=".$searchState;
    448443        getStateAndFaults($db, $thisLabel, $selectedState, "chip", $str, $anyFaults);
     
    465460        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
    466461
     462        $link = $defaultlink;
     463        getStateAndFaults($db, $thisLabel, $selectedState, "staticsky", $str, $anyFaults);
     464        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
     465
    467466        $link = "failedDiffSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&diffRun.label=" . $thisLabel . "&diffRun.state=".$searchState;
    468467        getStateAndFaults($db, $thisLabel, $selectedState, "diff", $str, $anyFaults);
     
    470469
    471470        $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;
    480471        getStateAndFaults($db, $thisLabel, $selectedState, "dist", $str, $anyFaults);
    481472        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null);
     
    485476        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$publishing) ? "gray" : null);
    486477
     478        $link = $defaultlink;
     479        getStateAndFaults($db, $thisLabel, $selectedState, "chipbackground", $str, $anyFaults);
     480        createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);
     481
    487482        echo "</tr>\n";
    488483    }
     
    492487    createFormattedTableCell(($selectedLabel != "all"), $link, "All labels", 0, null);
    493488
    494     createFormattedTableCell(0, null, "Reverting?", 0, "$columnHeaderColor");
    495 
    496489    foreach ($stages as &$stage) {
    497490
    498         if ($stage == "burntool") continue;
    499491        $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";}
    514494        unset($reverting);
    515         #createFormattedTableCell(1, $link, $label, 0, "$columnHeaderColor");
    516495        createFormattedTableCell(0, null, $label, 0, "$columnHeaderColor");
    517         #echo "<td><a href=\"$link\"><font color=\"blue\">$label</font></td>";
    518 
    519496    }
    520497
  • branches/eam_branches/ipp-20120405/ippMonitor/raw/ipp.dvodb.dat

    r30453 r33949  
    99             
    1010menulink  | menuselect   | link    | minidvodbRun              | minidvodbRun.php
    11 menulink  | menuselect   | link    | minidvodbProcessed         | minidvodbProcessed.php           
     11menulink  | menuselect   | link    | minidvodbProcessed         | minidvodbProcessed.php   
    1212menulink  | menuselect   | link    | minidvodbCopy               | minidvodbCopy.php           
    1313
     14menutop   | menutop      | plain   | &nbsp;   |
     15
     16menulink  | menuselect   | link    | mergedvodbRun              | mergedvodbRun.php
     17menulink  | menuselect   | link    | mergedvodbProcessed         | mergedvodbProcessed.php   
     18menulink  | menuselect   | link    | mergedvodbCopy               | mergedvodbCopy.php           
     19
     20menutop   | menutop      | plain   | &nbsp;   |
     21
     22menulink  | menuselect   | link    | dvodbStatus               | dvodbStatus.php
     23menulink  | menuselect   | link    | dvodbFaulted               | dvodbFaulted.php           
     24menulink  | menuselect   | link    | addRun Summary        | addRunSummary.php           
  • branches/eam_branches/ipp-20120405/ippMonitor/raw/ipp.menu.dat

    r31816 r33949  
    2727menutop   | menutop      | link    | Calibration                  | ipp.cal.php
    2828menutop   | menutop      | link    | Plots                        | ipp.plots.php
     29menutop   | menutop      | link    | Czar                         | ipp.czar.php
    2930menutop   | menutop      | link    | Admin and Debug              | ipp.imfiles.php
  • branches/eam_branches/ipp-20120405/ippMonitor/raw/ipp.science.dat

    r28688 r33949  
    3838menulink  | menuselect   | link    | Warp Skyfile Inputs          | warpStageSkyfileInputs.php
    3939menulink  | menuselect   | link    | Warp Processed Skyfiles      | warpProcessedSkyfiles.php
     40#menulink  | menuselect   | link    | Warp Processed Skyfiles w/ Images     | warpProcessedSkyfiles_images.php
    4041menulink  | menuselect   | link    | Warp Failed Skyfiles         | warpFailedSkyfiles.php
    4142
  • branches/eam_branches/ipp-20120405/ippMonitor/raw/nightSummary.php

    r33004 r33949  
    5252  $myMenu = $ID['menu'];
    5353} else {
    54   $myMenu = "ipp.imfiles.dat";
     54  $myMenu = "ipp.czar.dat";
    5555}
    5656
Note: See TracChangeset for help on using the changeset viewer.