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

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

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

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