Changeset 411


Ignore:
Timestamp:
07/06/07 15:50:48 (14 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/host_view.php:

  • make header properly according to new setup

web/addons/job_monarch/search.php,
web/addons/job_monarch/index.php:

  • use correct metricname parsing
Location:
trunk/web/addons/job_monarch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/host_view.php

    r399 r411  
    7676        $metrics = $metrics[$hostname];
    7777        $mymetrics = array();
     78
     79        $longtitle = "Batch Archive Node Report :: Powered by Job Monarch!";
     80        $title = "Batch Archive Node Report";
     81
     82        makeHeader( 'host_view', $title, $longtitle );
    7883
    7984        foreach( $rrdirs as $rrdir )
  • trunk/web/addons/job_monarch/index.php

    r410 r411  
    107107        global $default_refresh, $filterorder, $view;
    108108        global $JOB_ARCHIVE, $period_start, $period_stop, $h, $id;
    109         global $job_start, $job_stop, $range, $r;
     109        global $job_start, $job_stop, $range, $r, $metricname;
    110110       
    111111        if( isset($default_metric) and !isset($m) )
     
    286286        }
    287287
    288         $m = $metricname;
     288        //$m = $metricname;
    289289
    290290
  • trunk/web/addons/job_monarch/search.php

    r410 r411  
    2323 */
    2424
    25 global $clustername, $tpl;
     25global $clustername, $tpl, $m, $metric;
    2626
    2727function validateFormInput() {
     
    255255        global $end_from_time, $end_to_time, $filter, $default_showhosts, $m, $hosts_up, $hc;
    256256        global $period_start, $period_stop, $sortby, $sortorder, $COLUMN_REQUESTED_MEMORY;
    257         global $SEARCH_RESULT_LIMIT, $COLUMN_NODES;
    258 
    259         $metricname = $m;
     257        global $SEARCH_RESULT_LIMIT, $COLUMN_NODES, $metricname;
     258
     259        //$metricname = $m;
    260260        //printf("job_start = %s job_stop = %s\n", $job_start, $job_stop );
    261261        //printf("start = %s stop = %s\n", $start, $stop );
     262        //printf("m %s\n", $metricname );
    262263
    263264        $longtitle = "Batch Archive Search :: Powered by Job Monarch!";
Note: See TracChangeset for help on using the changeset viewer.