IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2011, 2:45:28 PM (15 years ago)
Author:
rhenders
Message:

Improvments to formatting

File:
1 edited

Legend:

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

    r30558 r30559  
    2424
    2525$date = $_POST['date'];
     26$survey = $_POST['survey'];
    2627
    2728// if no date chosen, use today
    2829if ($date == "") $date = date("Y-m-d");
     30if ($survey == "") $survey = "";
    2931
    3032
     
    3739
    3840
    39 echo "<form method=post action=czartool_exposures.php?pass=$pass&proj=$proj&date=$date>";
    40 echo "<p  align=\"center\"> Current status of all exposures taken on (UTC) ";
    41 echo "<input type=text name=date value='$date'>";
     41echo "<form method=post action=czartool_exposures.php?pass=$pass&proj=$proj&date=$date&survey=$survey>";
     42echo "<p  align=\"center\"> Current status of all exposures taken on (UTC) <input type=text name=date value='$date'>";
     43echo " for survey <input type=text name=survey value='$survey'> (leave blank for all surveys)";
    4244echo "<input type=submit value=Submit>";
    4345echo "</p>";
     
    4547echo "</form>\n";
    4648
    47 createTableForThisSurvey($gpc1db, $date, "");
     49createTableForThisSurvey($gpc1db, $date, $survey);
    4850
    4951menu_end();
     
    7577    $qry->fetchInto($count);
    7678
    77     if ($surveyStr == "") $surveyText = "all surveys"; 
     79    if ($surveyStr == "") $surveyText = "all surveys";
    7880    else $surveyText = "$surveyStr survey";
    7981
     
    100102    $ssDiffProduced = array(); getSSDiffProduced($db, $date, $surveyStr, &$ssDiffProduced);
    101103
    102     $class = "list";
    103     //echo "<table class=$class >\n";
    104         echo "<table border=\"1\" cellspacing=\"0\" cellpadding=\"4\" >\n";
    105 
     104    // create table
     105    echo "<table border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n";
     106
     107    // table headers
    106108    echo "<tr><td></td>\n";
    107109    echo "<th></th>";
Note: See TracChangeset for help on using the changeset viewer.