source: trunk/web/addons/job_monarch/templates/header.tpl @ 627

Last change on this file since 627 was 627, checked in by ramonb, 12 years ago

job_monarch/js/monarch.js,
job_monarch/templates/header.tpl,
job_monarch/lib/extjs-30/StatusBar.js,
job_monarch/lib/extjs-30/searchfield.js:

  • upporting of code to ExtJS 3.0 compatible
File size: 2.4 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" href="./lib/lightbox2/css/lightbox.css" type="text/css" media="screen" />
8
9<script type="text/javascript" src="./lib/lightbox2/js/prototype.js"></script>
10<script type="text/javascript" src="./lib/lightbox2/js/scriptaculous.js?load=effects,builder"></script>
11<script type="text/javascript" src="./lib/lightbox2/js/lightbox.js"></script>
12
13<link rel="stylesheet" type="text/css" href="./lib/extjs/resources/css/ext-all.css" />
14<link rel="stylesheet" type="text/css" href="./css/styles.css" />
15
16<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
17<!-- <script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script> -->
18<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script>
19<script type="text/javascript" src="./lib/extjs/ext-all.js"></script>
20<!-- <script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script> -->
21<script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script>
22<script type="text/javascript" src="./lib/extjs/searchfield.js"></script>
23<script type="text/javascript" src="./lib/extjs/StatusBar.js"></script>
24<script type="text/javascript" src="./js/monarch.js"></script>
25<script type="text/javascript">
26
27Ext.onReady( function()
28{
29        Ext.QuickTips.init();
30
31        JobProxy.on('beforeload', function(p, params)
32        {
33                params.c        = "{cluster}";
34                newparams       = joinMyArray( params, myfilters );
35                myparams        = newparams;
36                params          = newparams;
37        });
38
39        ClusterImageArgs['{session_name}']      = '{session_id}';
40        ClusterImageArgs['c']                   = '{cluster}';
41
42        ClusterImageWindow.html                 = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
43        ClusterImageWindow.show();
44        reloadClusterImage();
45
46        JobListingWindow.setTitle( "{cluster} Jobs Overview" );
47        JobListingWindow.show();
48        reloadJobStore();
49
50        GraphSummaryWindow.show();
51
52        Ext.get( 'rjqjgraph' ).update( '<IMG ID="rjqj_graph" SRC="{rjqj_graph}" BORDER=0>' );
53        Ext.get( 'pie' ).update( '<IMG ID="pie" SRC="{pie}" BORDER=0>' );
54});
55</script>
56
57
58</HEAD>
59<BODY CLASS="background">
60
61    <MAP NAME="MONARCH_CLUSTER_BIG">
62    <!-- START BLOCK : node_clustermap -->
63    {node_area_map}
64    <!-- END BLOCK : node_clustermap -->
65    </MAP>
Note: See TracBrowser for help on using the repository browser.