Changeset 739 for branches/0.4/web/addons/job_monarch/overview.php
- Timestamp:
- 03/24/13 20:18:46 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/overview.php
r738 r739 1121 1121 //printf("last job %s job start %s runningtime %s period start %s", $last_displayed_job, $jobstart, $job_runningtime, $period_start); 1122 1122 $graphargs = ($reports[$metricname]) ? "g=$metricname&" : "m=$metricname&"; 1123 $graphargs .= "z=overview-medium&c=$cluster_url&h=$host_url&l=$load_color&v=".$val['VAL']."&job_start=$job_start&period_start=$period_start&period_stop=$period_end"; 1124 $host_link = "\"?j_view=overview-host&c=$cluster_url&r=$range&h=$host_url&job_start=$jobstart&period_start=$period_start&period_stop=$period_end\""; 1123 $graphargs .= "z=overview-medium&c=$cluster_url&r=$range&h=$host_url&l=$load_color&v=".$val['VAL']."&job_start=$job_start"; 1124 $host_link = "?j_view=overview-host&c=$cluster_url&r=$range&h=$host_url&job_start=$jobstart"; 1125 1126 if( $range == 'job' ) 1127 { 1128 $graphargs .= "&period_start=$period_start&period_stop=$period_end"; 1129 $host_link .= "&period_start=$period_start&period_stop=$period_end"; 1130 } 1131 else 1132 { 1133 $graphargs .= "&st=$period_end"; 1134 $host_link .= "&st=$period_end"; 1135 } 1125 1136 if( $max > 0 ) 1126 1137 { … … 1132 1143 $cell = "<td class=$class>". "<b><a href=$host_link>$host</a></b><br>". "<i>$metricname:</i> <b>$textval</b></td>"; 1133 1144 } else { 1134 $cell = "<td><a href= $host_link>" . "<img src=\"./graph.php?$graphargs\" " . "alt=\"$host\" border=0></a></td>";1145 $cell = "<td><a href=\"$host_link\">" . "<img src=\"./graph.php?$graphargs\" " . "alt=\"$host\" border=0></a></td>"; 1135 1146 } 1136 1147
Note: See TracChangeset
for help on using the changeset viewer.