IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28688


Ignore:
Timestamp:
Jul 19, 2010, 11:06:08 AM (16 years ago)
Author:
Serge CHASTEL
Message:

Warp Processed Images Scripts

Location:
trunk/ippMonitor
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/Makefile.in

    r28654 r28688  
    6262$(DESTWWW)/plotHistogram.php \
    6363$(DESTWWW)/columns_in_db.php \
    64 $(DESTWWW)/cleanTmpDirectory.php
     64$(DESTWWW)/cleanTmpDirectory.php \
     65$(DESTWWW)/warpProcessedExp_Images.php \
     66$(DESTWWW)/warpProcessedExp.php
    6567
    6668DEFSRC = \
     
    211213$(DESTWWW)/up.png \
    212214$(DESTWWW)/up_sel.png \
    213 $(DESTWWW)/missing.png
     215$(DESTWWW)/missing.png \
     216$(DESTWWW)/noimage.png
    214217
    215218DESTLINK = $(DESTWWW)/index.php
  • trunk/ippMonitor/raw/columns_in_db.php

    r28669 r28688  
    131131  $values = array();
    132132  while ($qry->fetchInto($row)) {
    133     # print "[".$row[0]."]<br>\n";
     133    // print "[".$row[0]."]<br>\n";
    134134    foreach ($row as $index => $value) {
    135135      if ($index == 0) {
     
    138138    }
    139139  }
    140   # print count($values)."<br>\n";
     140  // print count($values)."<br>\n";
    141141  asort($values);
    142   # print count($values)."<br>\n";
     142  // print count($values)."<br>\n";
    143143  foreach ($values as $index => $value) {
    144     #echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".$count." => ".$value."<br>";
    145     $line .= "<option value=\"$value\">$count => $value</option>\n";
     144    // echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".$count." => ".$value."<br>";
     145    // $line .= "<option value=\"$value\">$count => $value</option>\n";
     146    $line .= "<option value=\"$value\">$value</option>\n";
    146147    $count++;
    147148  }
  • trunk/ippMonitor/raw/getimage.php

    r28654 r28688  
    3636}
    3737
    38 # $basename may contain filename@filerule
     38// $basename may contain filename@filerule
    3939$basename = $_GET[name];
     40if ($basename == "noimage.noimage") {
     41  $file = fopen ("noimage.png", "r");//$MISSING?
     42  if ($file && !$debug) {
     43    # do I need to use image/jpg? can I modify this to image/png, etc, based on the type?
     44           header ('Content-Type: image/jpg');
     45    fpassthru ($file);
     46  }
     47  exit ();
     48}
    4049$filerule = $_GET[rule];
    4150$camera   = $_GET[camera];
  • trunk/ippMonitor/raw/ipp.css

    r18193 r28688  
    55 */
    66
    7 body  { bgcolor: #a0d0e0; background-color: #a0d0e0; padding: 5px; margin: 5px }
    8 
    9 a:link, a:visited, a:active { text-decoration: underline; font-weight: bold; color: #ff0000 }
    10 
    11 a.button      { text-decoration: none; font-weight: bold;   color: #000000; background: #0080c0}
    12 a.menutop     { text-decoration: none; font-weight: bold;   color: #ffffff}
    13 a.menutops    { text-decoration: none; font-weight: bold;   color: #80f0ff}
    14 a.menuext     { text-decoration: none; font-weight: bold;   color: #ffffff}
    15 a.menulink    { text-decoration: none; font-weight: normal; color: #000000}
    16 a.menuselect  { text-decoration: none; font-weight: normal; color: #0000ff}
    17 a.piclink     { text-decoration: none; font-weight: normal; color: #0080c0}
    18 
    19 td.menutop    { text-align: left; background: #0080c0; font-size: small; color: #ffffff; padding: 2px; }
    20 td.menutops   { text-align: left; background: #0080c0; font-size: small; color: #000000; padding: 2px; }
    21 td.menuext    { text-align: left; background: #303070; font-size: small; color: #ffffff; padding: 2px; }
    22 td.menulink   { text-align: left; background: #d0d0ff; font-size: small; color: #000000; padding: 2px; font-weight: normal; text-indent: 0px; }
    23 td.menuselect { text-align: left; background: #d0d0ff; font-size: small; color: #ff0000; padding: 2px; font-weight: normal; text-indent: 0px; }
    24 td.menuline   { text-align: left; background: #d0d0ff; font-size: small; color: #000000; padding: 2px; font-weight: normal; text-indent: 0px; }
    25 
    26 td.picture    { text-align: left; background: #00ffff; font-size: small; color: #ff0000; padding: 0px; text-indent: 2px; font-weight: normal; }
    27 td.piclink    { text-align: left; background: #0080c0; font-size: small; color: #ff0000; padding: 0px; text-indent: 0px; font-weight: normal; }
    28 
    29 table.page { border: 0px solid #0080c0; background: #a0d0e0; padding: 0px}
    30 
    31 td.title { background-color: #ff0000; padding: 5px; font-size: x-large; text-align: left; vertical-align: top}
     7body  {
     8    background-color: #a0d0e0;
     9    padding: 5px;
     10    margin: 5px
     11}
     12
     13a:link, a:visited, a:active {
     14    text-decoration: underline;
     15    font-weight: bold;
     16    color: #ff0000
     17}
     18
     19a.button      {
     20    text-decoration: none;
     21    font-weight: bold;   
     22    color: #000000;
     23    background: #0080c0
     24}
     25a.menutop     {
     26    text-decoration: none;
     27    font-weight: bold;   
     28    color: #ffffff
     29}
     30a.menutops    {
     31    text-decoration: none;
     32    font-weight: bold;   
     33    color: #80f0ff
     34}
     35a.menuext     {
     36    text-decoration: none;
     37    font-weight: bold;   
     38    color: #ffffff
     39}
     40a.menulink    {
     41    text-decoration: none;
     42    font-weight: normal;
     43    color: #000000
     44}
     45a.menuselect  {
     46    text-decoration: none;
     47    font-weight: normal;
     48    color: #0000ff
     49}
     50a.piclink     {
     51    text-decoration: none;
     52    font-weight: normal;
     53    color: #0080c0
     54}
     55
     56td.menutop    {
     57    text-align: left;
     58    background: #0080c0;
     59    font-size: small;
     60    color: #ffffff;
     61    padding: 2px;
     62}
     63td.menutops   {
     64    text-align: left;
     65    background: #0080c0;
     66    font-size: small;
     67    color: #000000;
     68    padding: 2px;
     69}
     70td.menuext    {
     71    text-align: left;
     72    background: #303070;
     73    font-size: small;
     74    color: #ffffff;
     75    padding: 2px;
     76}
     77td.menulink   {
     78    text-align: left;
     79    background: #d0d0ff;
     80    font-size: small;
     81    color: #000000;
     82    padding: 2px;
     83    font-weight: normal;
     84    text-indent: 0px;
     85}
     86td.menuselect {
     87    text-align: left;
     88    background: #d0d0ff;
     89    font-size: small;
     90    color: #ff0000;
     91    padding: 2px;
     92    font-weight: normal;
     93    text-indent: 0px;
     94}
     95td.menuline   {
     96    text-align: left;
     97    background: #d0d0ff;
     98    font-size: small;
     99    color: #000000;
     100    padding: 2px;
     101    font-weight: normal;
     102    text-indent: 0px;
     103}
     104
     105td.picture    {
     106    text-align: left;
     107    background: #00ffff;
     108    font-size: small;
     109    color: #ff0000;
     110    padding: 0px;
     111    text-indent: 2px;
     112    font-weight: normal;
     113}
     114td.piclink    {
     115    text-align: left;
     116    background: #0080c0;
     117    font-size: small;
     118    color: #ff0000;
     119    padding: 0px;
     120    text-indent: 0px;
     121    font-weight: normal;
     122}
     123
     124table.page {
     125    border: 0px solid #0080c0;
     126    background: #a0d0e0;
     127    padding: 0px
     128}
     129
     130td.title {
     131    background-color: #ff0000;
     132    padding: 5px;
     133    font-size: x-large;
     134    text-align: left;
     135    vertical-align: top
     136}
    32137
    33138td.body  {
    34139           text-align: left;
    35            font-size: normal; 
     140           font-size: small; 
    36141           font-weight: normal; 
    37142           vertical-align: top;
     
    42147}
    43148
    44 table.menu { text-align: left;
    45              font-size: small;
    46              font-weight: normal;
    47              background: #ff0000;
    48              border: 3px solid #0080c0;
    49              padding: 0px;
    50 }
    51 
    52 table.select { text-align: left;
    53              font-size: small;
    54              font-weight: normal;
    55              background: #0080c0;
    56              border: 1px solid #0080c0;
    57              padding: 0px;
     149table.menu {
     150    text-align: left;
     151    font-size: small;
     152    font-weight: normal;
     153    background: #ff0000;
     154    border: 3px solid #0080c0;
     155    padding: 0px;
     156}
     157
     158table.select {
     159    text-align: left;
     160    font-size: small;
     161    font-weight: normal;
     162    background: #0080c0;
     163    border: 1px solid #0080c0;
     164    padding: 0px;
    58165}
    59166
    60167td.select  {
    61            text-align: left;
    62            font-size: normal; 
    63            font-weight: bold; 
    64            vertical-align: top;
    65            color: #ffffff;
    66            background: #0080c0;
    67            background-color: #0080c0;
    68            border: 2px solid #0080c0;
    69            padding: 2px;
     168    text-align: left;
     169    font-size: small; 
     170    font-weight: bold; 
     171    vertical-align: top;
     172    color: #ffffff;
     173    background: #0080c0;
     174    background-color: #0080c0;
     175    border: 2px solid #0080c0;
     176    padding: 2px;
    70177}
    71178
    72179th.select  {
    73180           text-align: left;
    74            font-size: normal; 
     181           font-size: small; 
    75182           font-weight: bold; 
    76183           vertical-align: top;
     
    92199td.list  {
    93200           text-align: left;
    94            font-size: normal; 
     201           font-size: small; 
    95202           font-weight: normal; 
    96203           vertical-align: top;
     
    103210td.list_off  {
    104211           text-align: left;
    105            font-size: normal; 
     212           font-size: small; 
    106213           font-weight: normal; 
    107214           vertical-align: top;
     
    114221td.list_drop  {
    115222           text-align: left;
    116            font-size: normal; 
     223           font-size: small; 
    117224           font-weight: normal; 
    118225           vertical-align: top;
     
    125232td.list_run  {
    126233           text-align: left;
    127            font-size: normal; 
     234           font-size: small; 
    128235           font-weight: normal; 
    129236           vertical-align: top;
     
    136243td.det_off  {
    137244           text-align: left;
    138            font-size: normal; 
     245           font-size: small; 
    139246           font-weight: normal; 
    140247           vertical-align: top;
     
    147254td.det_drop  {
    148255           text-align: left;
    149            font-size: normal; 
     256           font-size: small; 
    150257           font-weight: normal; 
    151258           vertical-align: top;
     
    158265td.det_add  {
    159266           text-align: left;
    160            font-size: normal; 
     267           font-size: small; 
    161268           font-weight: normal; 
    162269           vertical-align: top;
     
    169276th.list  {
    170277           text-align: left;
    171            font-size: normal; 
     278           font-size: small; 
    172279           font-weight: bold; 
    173280           vertical-align: top;
     
    178285}
    179286
     287td.ul2x2    {
     288    text-align: right;
     289    vertical-align: bottom;
     290    padding: 0px;
     291    text-indent: 0px;
     292}
     293td.ur2x2    {
     294    text-align: left;
     295    vertical-align: bottom;
     296    padding: 0px;
     297    text-indent: 0px;
     298}
     299td.ll2x2    {
     300    text-align: right;
     301    vertical-align: top;
     302    padding: 0px;
     303    text-indent: 0px;
     304}
     305td.lr2x2    {
     306    text-align: left;
     307    vertical-align: top;
     308    padding: 0px;
     309    text-indent: 0px;
     310}
  • trunk/ippMonitor/raw/ipp.php

    r28616 r28688  
    273273}
    274274
     275function head ($title) {
     276  echo "<head>\n";
     277  echo "  <title> $title </title>\n";
     278  /* JavaScript code */
     279  echo "  <script type=\"text/javascript\">\n";
     280  echo "  function changeCell(cellId, newContent){\n";
     281  echo "    document.getElementById(cellId).innerHTML=newContent;\n";
     282  echo "  }\n";
     283  echo "  </script>\n";
     284  echo "</head>\n\n";
     285}
     286
    275287function menu ($source, $title, $sheet, $append, $project) {
    276288
    277   echo "<html><head><title> $title </title></head>\n\n";
     289  echo "<html>\n";
     290  head($title);
    278291  echo "<link rel=\"STYLESHEET\" HREF=\"$sheet\">\n";
    279292  echo "<body>\n";
  • trunk/ippMonitor/raw/ipp.science.dat

    r28654 r28688  
    3333menulink  | menuselect   | link    | Warp Summary                 | warpSummary.php
    3434menulink  | menuselect   | link    | Warp Stage Exp               | warpStageExp.php
     35menulink  | menuselect   | link    | Warp Processed Exp           | warpProcessedExp.php
     36menulink  | menuselect   | link    | Warp Processed Exp w/ Skycell Images | warpProcessedExp_Images.php
    3537menulink  | menuselect   | link    | Warp Stage Skyfiles          | warpStageSkyfiles.php
    3638menulink  | menuselect   | link    | Warp Skyfile Inputs          | warpStageSkyfileInputs.php
Note: See TracChangeset for help on using the changeset viewer.