Changeset 28727
- Timestamp:
- Jul 28, 2010, 9:33:54 AM (16 years ago)
- Location:
- trunk/ippMonitor/raw
- Files:
-
- 2 edited
-
czartool_getplot.php (modified) (1 diff)
-
czartool_labels.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_getplot.php
r28726 r28727 19 19 $filePath = "/home/panstarrs/rhenders/czarplot_".$label."_".$stage."_".$type.".png"; 20 20 else if ($type=="h") 21 $filePath = "/home/panstarrs/rhenders/czarplot_".$label."_ ".$type.".png";21 $filePath = "/home/panstarrs/rhenders/czarplot_".$label."_all_stages_".$type.".png"; 22 22 $file = fopen ($filePath, "r"); 23 23 if ($file && !$debug) { -
trunk/ippMonitor/raw/czartool_labels.php
r28726 r28727 77 77 echo "</form>\n"; 78 78 $lastUpdateTime = getLastUpdateTime($czardb); 79 echo "<p align=\"center\"> Current status of pantasks servers and stdscience labels (any faults are shown in parentheses)<br>"; 80 echo "NOTE: This data is good as of: $lastUpdateTime </p>"; 79 echo "<p align=\"center\"> Current status of IPP (any faults are shown in parentheses). NOTE: This data is good as of: $lastUpdateTime </p>"; 81 80 82 81 echo "<table>\n"; … … 85 84 echo "<td> \n"; 86 85 echo "<img src=\"czartool_getplot.php?type=t&label=$selectedLabel&stage=$selectedStage\"><br>\n"; 87 echo "czartool_getplot.php?type=t&label=$selectedLabel&stage=$selectedStage\"<br>\n";88 86 echo "</td>\n"; 89 87 … … 101 99 echo "</td>\n"; 102 100 echo "<td> \n"; 103 createServersTable($pass, $proj,$czardb, $servers );101 createServersTable($pass, $proj,$czardb, $servers, $selectedLabel, $selectedStage); 104 102 echo "</td>\n"; 105 103 … … 222 220 write_table_cell($class, '%s', $link, $label); 223 221 } 222 write_header_cell($class, ""); 224 223 225 224 echo "</tr>\n"; … … 233 232 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $selectedLabel . "&stage=" . $stage; 234 233 write_table_cell($class, '%s', $link, $stage); 235 // write_header_cell($class, $stage); 236 } 234 } 235 236 if ($selectedStage=="all_stages") $link = ""; 237 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=" . $selectedLabel . "&stage=all_stages"; 238 write_table_cell($class, '%s', $link, "All stages"); 237 239 238 240 echo "</tr>\n"; … … 307 309 308 310 if ($selectedLabel == "all_labels") $link = ""; 309 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=all_labels ";311 else $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&label=all_labels&stage=".$selectedStage; 310 312 311 313 echo "<tr><td></td>\n"; … … 411 413 # 412 414 ########################################################################### 413 function createServersTable($pass, $proj, $db, $servers ) {415 function createServersTable($pass, $proj, $db, $servers, $selectedLabel, $selectedStage) { 414 416 415 417 // set up table columns … … 424 426 foreach ($servers as &$server) { 425 427 426 $link = "czartool_labels.php?pass=" . $pass . "&proj=" . $proj . "&server=" . $server;428 $link = "czartool_labels.php?pass=".$pass."&proj=".$proj."&server=".$server."&label=".$selectedLabel."&stage=".$selectedStage; 427 429 // $link = ""; 428 430
Note:
See TracChangeset
for help on using the changeset viewer.
