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

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

job_monarch/templates/header.tpl:

  • changed lightbox path
File size: 2.3 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="./js/monarch.js"></script>
24<script type="text/javascript">
25
26Ext.onReady( function()
27{
28        Ext.QuickTips.init();
29
30        JobProxy.on('beforeload', function(p, params)
31        {
32                params.c        = "{cluster}";
33                newparams       = joinMyArray( params, myfilters );
34                myparams        = newparams;
35                params          = newparams;
36        });
37
38        ClusterImageArgs['{session_name}']      = '{session_id}';
39        ClusterImageArgs['c']                   = '{cluster}';
40
41        ClusterImageWindow.html                 = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
42        ClusterImageWindow.show();
43        reloadClusterImage();
44
45        JobListingWindow.setTitle( "{cluster} Jobs Overview" );
46        JobListingWindow.show();
47        reloadJobStore();
48
49        GraphSummaryWindow.show();
50
51        Ext.get( 'rjqjgraph' ).update( '<IMG ID="rjqj_graph" SRC="{rjqj_graph}" BORDER=0>' );
52        Ext.get( 'pie' ).update( '<IMG ID="pie" SRC="{pie}" BORDER=0>' );
53});
54</script>
55
56
57</HEAD>
58<BODY CLASS="background">
59
60    <MAP NAME="MONARCH_CLUSTER_BIG">
61    <!-- START BLOCK : node_clustermap -->
62    {node_area_map}
63    <!-- END BLOCK : node_clustermap -->
64    </MAP>
Note: See TracBrowser for help on using the repository browser.