source: trunk/web/addons/toga/image.php @ 110

Last change on this file since 110 was 110, checked in by bastiaans, 18 years ago

web/addons/toga/toga-functions.php:

Renamed -> libtoga.php

web/addons/toga/libtoga.php:

new toga-functions.php:

  • Now nodes are correctly marked in clusterimage with a 'j' for single processor jobs and a 'J' for multi processor jobs

web/addons/toga/image.php:

  • Script for generating images

web/addons/toga/conf.php:

  • Configuration for web frontend

web/templates/toga/cluster_extra.tpl:

  • Plugin html template for ganglia

client:

  • Leftover removal from first tree
  • This is named 'plugin' atm
File size: 418 bytes
Line 
1<?php
2
3include_once "./libtoga.php";
4
5$httpvars = new HTTPVariables();
6
7$view = $httpvars->getHttpVar( "view" );
8
9function drawSmallClusterImage() {
10
11        $ic = new ClusterImage();
12        $ic->draw();
13}
14
15function drawBigClusterImage() {
16
17        // iets
18}
19
20switch( $view ) {
21
22        case "small-clusterimage":
23
24                drawSmallClusterImage();
25               
26                break;
27
28        case "big-clusterimage":
29
30                drawBigClusterImage();
31       
32                break;
33
34        default:
35
36                break;
37}
38
39?>
Note: See TracBrowser for help on using the repository browser.