Ignore:
Timestamp:
04/16/07 16:28:06 (17 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/image.php:

web/addons/job_monarch/overview.php:

  • removed function makeTime -> moved to libtoga.php

web/addons/job_monarch/libtoga.php:

File:
1 edited

Legend:

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

    r300 r303  
    3838if( isset($user) && ($user!='')) $filter[user]=$user;
    3939if( isset($queue) && ($queue!='')) $filter[queue]=$queue;
     40
     41function drawHostImage() {
     42
     43        global $clustername, $hostname;
     44
     45        $data_gatherer = new DataGatherer( $clustername );
     46        $data_gatherer->parseXML();
     47
     48        if( $data_gatherer->isJobmonRunning() )
     49                $ic = new HostImage( $data_gatherer, $clustername, $hostname );
     50        else
     51                $ic = new EmptyImage();
     52
     53        $ic->draw();
     54}
    4055
    4156function drawSmallClusterImage() {
     
    99114                break;
    100115
     116        case "hostimage":
     117
     118                drawHostImage();
     119       
     120                break;
     121
    101122        default:
    102123
Note: See TracChangeset for help on using the changeset viewer.