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

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

job_monarch/templates/header.tpl:

  • load Window's after showing, so that loadMask is displayed

job_monarch/jobstore.php:

  • new summary task for summarywindow

job_monarch/js/jobgrid.js:

  • some code cleanup
File size: 2.0 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<META http-equiv="refresh" content="{refresh}{redirect}" >
7
8<link rel="stylesheet" type="text/css" href="./lib/extjs/resources/css/ext-all.css" />
[541]9<link rel="stylesheet" type="text/css" href="./css/styles.css" />
[532]10<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
[546]11<!-- <script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script> -->
[532]12<script type="text/javascript" src="./lib/extjs/ext-all.js"></script>
[546]13<!-- <script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script> -->
[538]14<script type="text/javascript" src="./lib/extjs/searchfield.js"></script>
[532]15<script type="text/javascript" src="./js/jobgrid.js"></script>
[536]16<script type="text/javascript">
17Ext.onReady( function(){
18  initJobGrid();
[553]19  JobProxy.on('beforeload', function(p, params)
20    {
[536]21        params.c = "{cluster}";
[546]22        newparams = joinMyArray( params, myfilters );
23        myparams = newparams;
24        params = newparams;
[536]25    });
[553]26
[549]27  ClusterImageArgs['{session_name}'] = '{session_id}';
28  ClusterImageArgs['c'] = '{cluster}';
[553]29
[549]30  ClusterImageWindow.html = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
[547]31  ClusterImageWindow.height = '{clusterimage_height}';
32  ClusterImageWindow.width = '{clusterimage_width}';
[552]33  ClusterImageWindow.x = (window.innerWidth - ClusterImageWindow.width - 25);
[547]34  ClusterImageWindow.show();
[553]35  reloadClusterImage();
36
[546]37  JobListingWindow.setTitle( "{cluster} Jobs Overview" );
[552]38  JobListingWindow.y = ({clusterimage_height} + 150);
[536]39  JobListingWindow.show();
[553]40  reloadJobStore();
[536]41  });
42</script>
[532]43
44</HEAD>
45<BODY BGCOLOR="#FFFFFF">
46
[547]47    <MAP NAME="MONARCH_CLUSTER_BIG">
48    <!-- START BLOCK : node_clustermap -->
49    {node_area_map}
50    <!-- END BLOCK : node_clustermap -->
51    </MAP>
52
[532]53  <A HREF="https://subtrac.sara.nl/oss/jobmonarch/">
54  <IMG SRC="./jobmonarch.gif" ALT="Job Monarch" BORDER="0"></IMG>
55  </A>
Note: See TracBrowser for help on using the repository browser.