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

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

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

  • code cleanup
File size: 1.8 KB
RevLine 
[532]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" />
[541]8<link rel="stylesheet" type="text/css" href="./css/styles.css" />
[532]9<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
[546]10<!-- <script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script> -->
[532]11<script type="text/javascript" src="./lib/extjs/ext-all.js"></script>
[546]12<!-- <script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script> -->
[538]13<script type="text/javascript" src="./lib/extjs/searchfield.js"></script>
[591]14<script type="text/javascript" src="./js/monarch.js"></script>
[536]15<script type="text/javascript">
[553]16
[593]17Ext.onReady( function()
18{
19        Ext.QuickTips.init();
[553]20
[593]21        JobProxy.on('beforeload', function(p, params)
22        {
23                params.c        = "{cluster}";
24                newparams       = joinMyArray( params, myfilters );
25                myparams        = newparams;
26                params          = newparams;
27        });
[553]28
[593]29        ClusterImageArgs['{session_name}']      = '{session_id}';
30        ClusterImageArgs['c']                   = '{cluster}';
[554]31
[593]32        ClusterImageWindow.html                 = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
33        ClusterImageWindow.show();
34        reloadClusterImage();
[554]35
[593]36        JobListingWindow.setTitle( "{cluster} Jobs Overview" );
37        JobListingWindow.show();
38        reloadJobStore();
39
40        GraphSummaryWindow.show();
41
42        Ext.get( 'rjqjgraph' ).update( '<IMG ID="rjqj_graph" SRC="{rjqj_graph}" BORDER=0>' );
43        Ext.get( 'pie' ).update( '<IMG ID="pie" SRC="{pie}" BORDER=0>' );
[554]44});
[536]45</script>
[532]46
47</HEAD>
[557]48<BODY CLASS="background">
[532]49
[547]50    <MAP NAME="MONARCH_CLUSTER_BIG">
51    <!-- START BLOCK : node_clustermap -->
52    {node_area_map}
53    <!-- END BLOCK : node_clustermap -->
54    </MAP>
Note: See TracBrowser for help on using the repository browser.