Changeset 554 for trunk/web2


Ignore:
Timestamp:
07/15/08 17:56:40 (16 years ago)
Author:
ramonb
Message:

job_monarch/jobmonarch.gif:

  • now transparent background

job_monarch/overview.php:

  • only assign graph url to rjqj

job_monarch/js/jobgrid.js:

  • add graph summary window

job_monarch/css/styles.css:

  • cleanup

job_monarch/templates/overview.tpl:

  • set removed rjqj and pie chart

job_monarch/templates/header.tpl:

  • removed logo
Location:
trunk/web2/addons/job_monarch
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/web2/addons/job_monarch/css/styles.css

    r545 r554  
    33   color: blue;
    44   cursor: pointer;
     5}
     6
     7.monarch
     8{
     9   background: none;
    510}
    611
     
    1116   cursor: pointer;
    1217}
    13 
    14 .even
    15 {
    16    background: rgb(255,255,255);
    17 }
    18 
    19 .odd
    20 {
    21    background: rgb(240,240,240);
    22 }
  • trunk/web2/addons/job_monarch/js/jobgrid.js

    r553 r554  
    397397  ClusterImageWindow = new Ext.Window({
    398398      id: 'ClusterImageWindow',
    399       title: 'Cluster Nodes Overview',
    400       closable:true,
     399      title: 'Nodes',
     400      closable: true,
    401401      collapsible: true,
    402402      animCollapse: true,
    403       width:100,
    404       height:100,
     403      width: 100,
     404      height: 100,
    405405      y: 15,
    406       plain:true,
     406      plain: true,
    407407      shadow: true,
    408408      resizable: false,
     
    415415        })
    416416
     417    });
     418
     419  GraphSummaryWindow = new Ext.Window({
     420      id: 'GraphSummaryWindow',
     421      title: 'Graph Summary',
     422      closable: true,
     423      collapsible: true,
     424      animCollapse: true,
     425      width: 300,
     426      height: 500,
     427      y: 15,
     428      plain: true,
     429      shadow: true,
     430      resizable: true,
     431      shadowOffset: 10,
     432      layout: 'table',
     433      layoutConfig: {
     434                columns: 2
     435        },
     436      defaults:{border: false},
     437      items: [{
     438        id: 'monarchlogo',
     439        cls: 'monarch',
     440        bodyStyle: 'background: transparent',
     441        html: '<A HREF="https://subtrac.sara.nl/oss/jobmonarch/" TARGET="_blank"><IMG SRC="./jobmonarch.gif" ALT="Job Monarch" BORDER="0"></A>'
     442        //colspan: 2
     443       },{
     444        id: 'summarycount'
     445       },{
     446        id: 'rjqjgraph'
     447       },{
     448        id: 'pie',
     449        colspan: 2
     450       }],
     451      bbar: new Ext.StatusBar({
     452                defaultText: 'Ready.',
     453                id: 'basic-statusbar',
     454                defaultIconCls: ''
     455        })
    417456    });
    418457
  • trunk/web2/addons/job_monarch/overview.php

    r549 r554  
    596596        {
    597597
    598                 $rjqj_str  = "<A HREF=\"./graph.php?z=large&c=$clustername&g=job_report&r=$range&st=$cluster[LOCALTIME]\">";
    599                 $rjqj_str .= "<IMG BORDER=0 SRC=\"./graph.php?z=small&c=$clustername&g=job_report&r=$range&st=$cluster[LOCALTIME]\">";
    600                 $rjqj_str .= "</A>";
     598                //$rjqj_str  = "<A HREF=\"./graph.php?z=large&c=$clustername&g=job_report&r=$range&st=$cluster[LOCALTIME]\">";
     599                //$rjqj_str .= "<IMG BORDER=0 SRC=\"./graph.php?z=small&c=$clustername&g=job_report&r=$range&st=$cluster[LOCALTIME]\">";
     600                $rjqj_str .= "./graph.php?z=small&c=$clustername&g=job_report&r=$range&st=$cluster[LOCALTIME]";
     601                //$rjqj_str .= "</A>";
    601602
    602603                $tpl->gotoBlock( "_ROOT" );
  • trunk/web2/addons/job_monarch/templates/header.tpl

    r553 r554  
    3939  JobListingWindow.show();
    4040  reloadJobStore();
    41   });
     41
     42  GraphSummaryWindow.show();
     43
     44  Ext.get( 'rjqjgraph' ).update( '<IMG ID="rjqj_graph" SRC="{rjqj_graph}" BORDER=0>' );
     45  Ext.get( 'pie' ).update( '<IMG ID="pie" SRC="{pie}" BORDER=0>' );
     46});
    4247</script>
    4348
     
    5055    <!-- END BLOCK : node_clustermap -->
    5156    </MAP>
    52 
    53   <A HREF="https://subtrac.sara.nl/oss/jobmonarch/">
    54   <IMG SRC="./jobmonarch.gif" ALT="Job Monarch" BORDER="0"></IMG>
    55   </A>
  • trunk/web2/addons/job_monarch/templates/overview.tpl

    r547 r554  
    1 <P>
    2 All tasks of parallel and array jobs appear as a single &lsquo;job&rsquo;.
    3 <BR></P>
    4 
    51</FORM>
    62
     
    128124
    129125<BR>
    130 {rjqj_graph}
    131 
    132126  <TD ALIGN="CENTER"><CENTER>
    133127    <BR>
     
    137131  </TD>
    138132  <TD ALIGN="CENTER">
    139     <IMG SRC="{pie}">
    140133  </TD>
    141134</TR>
Note: See TracChangeset for help on using the changeset viewer.