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

Last change on this file since 596 was 596, checked in by ramonb, 13 years ago

job_monarch/jobstore.php:

  • some fixes for tabbed graph view

job_monarch/templates/header.tpl:

  • enabled ext debugging
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
7<link rel="stylesheet" type="text/css" href="./lib/extjs/resources/css/ext-all.css" />
8<link rel="stylesheet" type="text/css" href="./css/styles.css" />
9<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
10<!-- <script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.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/ext-all-debug.js"></script>
15<script type="text/javascript" src="./lib/extjs/searchfield.js"></script>
16<script type="text/javascript" src="./js/monarch.js"></script>
17<script type="text/javascript">
18
19Ext.onReady( function()
20{
21        Ext.QuickTips.init();
22
23        JobProxy.on('beforeload', function(p, params)
24        {
25                params.c        = "{cluster}";
26                newparams       = joinMyArray( params, myfilters );
27                myparams        = newparams;
28                params          = newparams;
29        });
30
31        ClusterImageArgs['{session_name}']      = '{session_id}';
32        ClusterImageArgs['c']                   = '{cluster}';
33
34        ClusterImageWindow.html                 = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
35        ClusterImageWindow.show();
36        reloadClusterImage();
37
38        JobListingWindow.setTitle( "{cluster} Jobs Overview" );
39        JobListingWindow.show();
40        reloadJobStore();
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});
47</script>
48
49</HEAD>
50<BODY CLASS="background">
51
52    <MAP NAME="MONARCH_CLUSTER_BIG">
53    <!-- START BLOCK : node_clustermap -->
54    {node_area_map}
55    <!-- END BLOCK : node_clustermap -->
56    </MAP>
Note: See TracBrowser for help on using the repository browser.