Changeset 12835
- Timestamp:
- Apr 16, 2007, 3:21:41 PM (19 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 14 edited
-
def/camPendingExp.d (modified) (1 diff)
-
def/camProcessedExp.d (modified) (1 diff)
-
def/chipPendingExp.d (modified) (1 diff)
-
def/chipProcessedExp.d (modified) (1 diff)
-
def/chipProcessedImfile.d (modified) (1 diff)
-
def/detNormalizedExp.d (modified) (1 diff)
-
def/detProcessedExp.d (modified) (1 diff)
-
def/detResidExp.d (modified) (1 diff)
-
def/detRun.d (modified) (1 diff)
-
def/warpInputExp.d (modified) (1 diff)
-
def/warpSkycellMap.d (modified) (1 diff)
-
raw/ipp.css (modified) (1 diff)
-
raw/ipp.php (modified) (4 diffs)
-
raw/ipp.science.dat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/camPendingExp.d
r12081 r12835 1 TABLE camPendingExp 2 TITLE camPendingExp1 TABLE camPendingExp, chipProcessedExp 2 TITLE Camera Pending 3 3 FILE camPendingExp.php 4 4 MENU ipp.science.dat 5 5 6 # field name show link to extras 7 FIELD exp_tag, 20, exposure ID, value, chipProcessedImfile.php, exp_tag=$exp_tag 8 FIELD chip_version, 20, chip version, value, chipProcessedExp.php, exp_tag=$exp_tag 9 FIELD cam_version, 20, cam version 6 WHERE camPendingExp.chip_id = chipProcessedExp.chip_id 7 8 # field size name show link to extras 9 FIELD chipProcessedExp.exp_tag, 20, exposure ID, value, chipProcessedImfile.php, chipProcessedExp.exp_tag=$chipProcessedExp.exp_tag 10 FIELD camPendingExp.chip_id, 20, chip ID, value, chipProcessedExp.php, exp_tag=$chipProcessedExp.exp_tag 11 FIELD camPendingExp.cam_id, 20, cam ID -
trunk/ippMonitor/def/camProcessedExp.d
r12081 r12835 1 TABLE camProcessedExp 2 TITLE camProcessedExp1 TABLE camProcessedExp, chipProcessedExp 2 TITLE Camera-Level Processed Exposures 3 3 FILE camProcessedExp.php 4 4 MENU ipp.science.dat 5 5 6 # field size name show link to extras 7 FIELD exp_tag, 15, Exposure, value 8 FIELD image, 8, image, image=$path_base@PPIMAGE.JPEG2, chipProcessedImfile.php, exp_tag=$exp_tag,image=$path_base@PPIMAGE.JPEG1 9 FIELD bg, 8, backgnd, value 10 FIELD bg_mean_stdev, 8, [stdev], value 11 FIELD bg_stdev, 8, stdev, value 12 FIELD path_base, 20, path_base, none 13 #FIELD recipe, 15, Recipe, value 6 WHERE camProcessedExp.chip_id = chipProcessedExp.chip_id 7 8 # field size name show link to extras 9 FIELD chipProcessedExp.exp_tag, 15, Exposure, value 10 FIELD *, 8, image, image=$camProcessedExp.path_base@PPIMAGE.JPEG2, chipProcessedImfile.php, exp_tag=$chipProcessedExp.exp_tag,image=$$camProcessedExp.path_base@PPIMAGE.JPEG1 11 FIELD camProcessedExp.bg, 8, backgnd, value 12 FIELD camProcessedExp.bg_mean_stdev, 8, [stdev], value 13 FIELD camProcessedExp.bg_stdev, 8, stdev, value 14 FIELD camProcessedExp.path_base, 20, path_base, value 15 FIELD camProcessedExp.uri, 20, uri, value -
trunk/ippMonitor/def/chipPendingExp.d
r12081 r12835 4 4 MENU ipp.science.dat 5 5 6 # field name show link to extras7 FIELD exp_tag, 20, exposure ID, value, rawImfile.php, exp_tag=$exp_tag8 FIELD recipe, 20, recipe9 FIELD guide_version, 20, guide version10 FIELD chip_version, 20, chip version6 # field size name show link to extras 7 FIELD chip_id, 20, chip ID 8 FIELD exp_tag, 20, exposure ID, value, rawImfile.php, exp_tag=$exp_tag 9 FIELD recipe, 20, recipe 10 FIELD guide_id, 20, guide ID -
trunk/ippMonitor/def/chipProcessedExp.d
r12081 r12835 4 4 MENU ipp.science.dat 5 5 6 # field name show link to extras 7 FIELD exp_tag, 20, exposure ID, value, chipProcessedImfile.php, exp_tag=$exp_tag 8 FIELD guide_version, 20, guide version, value, guidePendingExp.php exp_tag=$exp_tag 9 FIELD chip_version, 20, chip version 6 # field name show link to extras 7 FIELD exp_tag, 20, exposure ID, value, chipProcessedImfile.php, exp_tag=$exp_tag 8 FIELD chip_id, 20, Chip ID 9 FIELD guide_id, 20, guide ID, value, guideProcessedExp.php, exp_tag=$exp_tag 10 FIELD label, 20, label 11 FIELD workdir, 20, workdir -
trunk/ippMonitor/def/chipProcessedImfile.d
r12081 r12835 1 TABLE chipProcessedImfile 1 TABLE chipProcessedImfile, chipProcessedExp 2 2 TITLE chipProcessedImfile 3 3 FILE chipProcessedImfile.php 4 4 MENU ipp.imfiles.dat 5 5 6 # field size name show link to extras 7 FIELD exp_tag, 15, Exposure 8 FIELD class_id, 8, Chip ID 9 FIELD bg, 8, backgnd 10 FIELD bg_mean_stdev, 8, [stdev] 11 FIELD bg_stdev, 8, stdev 12 #FIELD guide_version, 20, guide version 13 #FIELD chip_version, 20, chip version 14 #FIELD recipe, 20, recipe 15 #FIELD uri, 20, URI 16 #FIELD path_base, 20, URI path base 6 WHERE chipProcessedImfile.chip_id = chipProcessedExp.chip_id 7 8 # field size name show link to extras 9 FIELD chipProcessedExp.exp_tag, 15, Exposure 10 FIELD chipProcessedImfile.class_id, 8, Chip ID 11 FIELD chipProcessedImfile.bg, 8, backgnd 12 FIELD chipProcessedImfile.bg_mean_stdev, 8, [stdev] 13 FIELD chipProcessedImfile.bg_stdev, 8, stdev 17 14 18 15 TAIL PHP insert_image ('image'); -
trunk/ippMonitor/def/detNormalizedExp.d
r12080 r12835 10 10 FIELD bg_stdev, 8, stdev 11 11 FIELD iteration, 5, iteration 12 FIELD image,8, image, image=$path_base@PPIMAGE.JPEG2, detNormalizedImfile.php, det_id=$det_id,iteration=$iteration,image=$path_base@PPIMAGE.JPEG113 #FIELD path_base, 20, path_base12 FIELD *, 8, image, image=$path_base@PPIMAGE.JPEG2, detNormalizedImfile.php, det_id=$det_id,iteration=$iteration,image=$path_base@PPIMAGE.JPEG1 13 FIELD path_base, 20, path_base, none 14 14 #FIELD recipe, 20, recipe -
trunk/ippMonitor/def/detProcessedExp.d
r12080 r12835 7 7 FIELD det_id, 7, Det ID, value 8 8 FIELD exp_tag, 15, Exposure, value 9 FIELD image, 8, image, image=$path_base@PPIMAGE.JPEG2, detProcessedImfile.php, det_id=$det_id,exp_tag=$exp_tag,image=$path_base@PPIMAGE.JPEG19 FIELD *, 8, image, image=$path_base@PPIMAGE.JPEG2, detProcessedImfile.php, det_id=$det_id,exp_tag=$exp_tag,image=$path_base@PPIMAGE.JPEG1 10 10 FIELD bg, 8, backgnd, value 11 11 FIELD bg_mean_stdev, 8, [stdev], value -
trunk/ippMonitor/def/detResidExp.d
r12080 r12835 7 7 FIELD det_id, 7, Det ID, value 8 8 FIELD exp_tag, 15, Exposure, value, rawImfile.php, exp_tag=$exp_tag 9 FIELD image, 8, image, image=$path_base@PPIMAGE.JPEG2, detResidImfile.php, det_id=$det_id,iteration=$iteration,exp_tag=$exp_tag,image=$path_base@PPIMAGE.JPEG110 9 FIELD bg, 8, backgnd, value 11 10 FIELD bg_mean_stdev, 8, [stdev] 12 11 FIELD bg_stdev, 8, stdev, value 13 12 FIELD iteration, 5, iter, value 13 FIELD *, 8, image, image=$path_base@PPIMAGE.JPEG2, detResidImfile.php, det_id=$det_id,iteration=$iteration,exp_tag=$exp_tag,image=$path_base@PPIMAGE.JPEG1 14 14 FIELD accept, 4, keep, value 15 15 FIELD path_base, 20, path_base, none -
trunk/ippMonitor/def/detRun.d
r10963 r12835 5 5 6 6 # field width name show link to extras 7 FIELD det_id, 7, det ID, value, detRunSummary.php, det_id=$det_id 8 FIELD iteration, 5, iteration 9 FIELD det_type, 8, det_type 10 FIELD state, 5, state 11 FIELD mode, 5, mode 12 FIELD exp_type, 8, exp_type (drop) 13 FIELD filter, 10, filter 14 FIELD airmass, 10, airmass 15 FIELD exp_time, 10, exp_time 16 FIELD ccd_temp, 10, ccd_temp 17 FIELD posang, 10, posang 18 FIELD object, 10, object 19 FIELD registered, 10, registered 20 FIELD use_begin, 10, use_begin 21 FIELD use_end, 10, use_end 7 FIELD det_id, 7, det ID, value, detRunSummary.php, det_id=$det_id 8 FIELD iteration, 5, iteration 9 FIELD det_type, 8, det_type 10 FIELD state, 5, state 11 FIELD mode, 5, mode 12 FIELD filter, 10, filter 13 FIELD airmass_min, 10, min airmass 14 FIELD airmass_max, 5, max 15 FIELD exp_time_min, 10, min exp_time 16 FIELD exp_time_max, 5, max 17 FIELD ccd_temp_min, 10, min ccd_temp 18 FIELD ccd_temp_max, 5, max 19 FIELD posang_min, 10, min posang 20 FIELD posang_max, 5, max 21 FIELD registered, 10, registered 22 FIELD use_begin, 10, use_begin 23 FIELD use_end, 10, use_end -
trunk/ippMonitor/def/warpInputExp.d
r12083 r12835 1 TABLE warpInputExp 1 TABLE warpInputExp, camProcessedExp, chipProcessedExp 2 2 TITLE warpInputExp 3 3 FILE warpInputExp.php 4 4 MENU ipp.warp.dat 5 5 6 # field name show link to extras 7 FIELD warp_id, 20, warp ID 8 FIELD exp_tag, 20, exposure tag 9 FIELD cam_version, 20, cam version 10 FIELD magiced, 20, magic done? 6 WHERE warpInputExp.cam_id = camProcessedExp.cam_id 7 WHERE camProcessedExp.chip_id = chipProcessedExp.chip_id 8 9 # field size name show link to extras 10 FIELD warpInputExp.warp_id, 20, warp ID 11 FIELD chipProcessedExp.exp_tag, 20, exp tag 12 FIELD chipProcessedExp.chip_id, 20, chip ID 13 FIELD camProcessedExp.cam_id, 20, cam ID 14 FIELD magiced, 5, magic? -
trunk/ippMonitor/def/warpSkycellMap.d
r12083 r12835 1 TABLE warpSkyCellMap 1 TABLE warpSkyCellMap, camProcessedExp, chipProcessedExp 2 2 TITLE warpSkyCellMap 3 3 FILE warpSkyCellMap.php 4 4 MENU ipp.warp.dat 5 5 6 # field name show link to extras 7 FIELD warp_id, 20, warp ID 8 FIELD skycell_id, 20, skycell ID 9 FIELD tess_id, 20, tessellation ID 10 FIELD exp_tag, 20, exposure tag 11 FIELD cam_version, 20, cam version 12 FIELD class_id, 20, class ID 6 WHERE warpSkyCellMap.cam_id = camProcessedExp.cam_id 7 WHERE camProcessedExp.chip_id = chipProcessedExp.chip_id 8 9 # field size name show link to extras 10 FIELD warpSkyCellMap.warp_id, 20, warp ID 11 FIELD warpSkyCellMap.skycell_id, 20, skycell ID 12 FIELD warpSkyCellMap.tess_id, 20, tessellation ID 13 FIELD chipProcessedExp.exp_tag, 20, exposure tag 14 FIELD warpSkyCellMap.class_id, 20, class ID -
trunk/ippMonitor/raw/ipp.css
r10621 r12835 50 50 } 51 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; 58 } 59 60 td.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; 70 } 71 72 th.select { 73 text-align: left; 74 font-size: normal; 75 font-weight: bold; 76 vertical-align: top; 77 color: #000000; 78 background: #d0d0ff; 79 background-color: #d0d0ff; 80 border: 0px solid #0080c0; 81 padding: 2px; 82 } 83 52 84 table.list { text-align: left; 53 85 font-size: small; -
trunk/ippMonitor/raw/ipp.php
r11490 r12835 28 28 echo "</form>\n"; 29 29 30 $db = dbconnect('ippadmin'); 31 32 // make this a DB lookup 33 $sql = "SELECT projname FROM projects"; 34 35 $qry = $db->query($sql); 36 if (DB::iserror($db)) { 37 echo "<b>error reading project list</b><br>\n"; 38 menu_end(); 39 } 40 41 echo "<table class=select>\n"; 42 echo "<tr class=select><th class=select> projects </th></tr>\n"; 43 while ($qry->fetchInto($row)) { 44 echo "<tr class=select><td class=select> $row[0] </td></tr>\n"; 45 } 46 echo "</table>\n"; 47 30 48 menu_end (); 31 49 } … … 34 52 35 53 // connect to the database 54 // these should be set on installation 36 55 require_once('DB.php'); 37 $db = DB::connect("mysql://ipp:ipp@alala/$database"); 56 $password = "ipp"; 57 $username = "ipp"; 58 $hostname = "alala"; 59 $db = DB::connect("mysql://$username:$password@$hostname/$database"); 38 60 if (DB::iserror($db)) { 39 61 echo "<b>error accessing database</b><br>\n"; 40 echo "<b>tried mysql:// ipp:ipp@localhost/ipp</b><br>\n";62 echo "<b>tried mysql://$username:$password@$hostname/$database</b><br>\n"; 41 63 menu_end(); 42 64 } … … 57 79 $db = dbconnect('ippadmin'); 58 80 59 // make this a DB lookup81 // get the users from the DB 60 82 $sql = "SELECT username FROM users WHERE username = '$username' AND password = '$password'"; 61 83 … … 227 249 } 228 250 229 $this = $_SERVER[SCRIPT_NAME];251 $thisname = $_SERVER[SCRIPT_NAME]; 230 252 $page = "$root/" . $base; 231 if ($page == $this ) {253 if ($page == $thisname) { 232 254 $style = trim($line[1]); 233 255 } else { -
trunk/ippMonitor/raw/ipp.science.dat
r12083 r12835 27 27 28 28 menutop | menutop | plain | | 29 menu link| menuselect | plain | Guide Processed Exp |29 menutop | menuselect | plain | Guide Processed Exp | 30 30 menulink | menuselect | link | Chip Processed Exp | chipProcessedExp.php 31 31 menulink | menuselect | link | Cam Processed Exp | camProcessedExp.php 32 32 menutop | menutop | plain | | 33 menu link | menuselect | link| Guide Pending Exp | guidePendingExp.php33 menutop | menuselect | plain | Guide Pending Exp | guidePendingExp.php 34 34 menulink | menuselect | link | Chip Pending Exp | chipPendingExp.php 35 35 menulink | menuselect | link | Cam Pending Exp | camPendingExp.php
Note:
See TracChangeset
for help on using the changeset viewer.
