source: trunk/web2/addons/job_monarch/templates/header.tpl @ 556

Last change on this file since 556 was 556, checked in by ramonb, 14 years ago

job_monarch/js/jobgrid.js,
job_monarch/templates/header.tpl:

  • better window positioning and sizing stuff
File size: 1.9 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<TITLE>Ganglia :: {longpage_title}</TITLE>
5<META http-equiv="Content-type" content="text/html; charset=utf-8">
6<META http-equiv="refresh" content="{refresh}{redirect}" >
7
8<link rel="stylesheet" type="text/css" href="./lib/extjs/resources/css/ext-all.css" />
9<link rel="stylesheet" type="text/css" href="./css/styles.css" />
10<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
11<!-- <script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script> -->
12<script type="text/javascript" src="./lib/extjs/ext-all.js"></script>
13<!-- <script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script> -->
14<script type="text/javascript" src="./lib/extjs/searchfield.js"></script>
15<script type="text/javascript" src="./js/jobgrid.js"></script>
16<script type="text/javascript">
17Ext.onReady( function(){
18  initJobGrid();
19  JobProxy.on('beforeload', function(p, params)
20    {
21        params.c = "{cluster}";
22        newparams = joinMyArray( params, myfilters );
23        myparams = newparams;
24        params = newparams;
25    });
26
27  ClusterImageArgs['{session_name}'] = '{session_id}';
28  ClusterImageArgs['c'] = '{cluster}';
29
30  ClusterImageWindow.html = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
31  ClusterImageWindow.show();
32  reloadClusterImage();
33
34  JobListingWindow.setTitle( "{cluster} Jobs Overview" );
35  JobListingWindow.show();
36  reloadJobStore();
37
38  GraphSummaryWindow.show();
39
40  Ext.get( 'rjqjgraph' ).update( '<IMG ID="rjqj_graph" SRC="{rjqj_graph}" BORDER=0>' );
41  Ext.get( 'pie' ).update( '<IMG ID="pie" SRC="{pie}" BORDER=0>' );
42});
43</script>
44
45</HEAD>
46<BODY BGCOLOR="#FFFFFF">
47
48    <MAP NAME="MONARCH_CLUSTER_BIG">
49    <!-- START BLOCK : node_clustermap -->
50    {node_area_map}
51    <!-- END BLOCK : node_clustermap -->
52    </MAP>
Note: See TracBrowser for help on using the repository browser.