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

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

job_monarch/overview.php:

  • set clusterimage height and width for Ext Window

job_monarch/libtoga.php:

  • added onclick call to node image map

job_monarch/js/jobgrid.js:

  • added seperate Window for ClusterImage?
  • added placeholder function for host selection in clusterimage
  • position window better

job_monarch/templates/overview.tpl:

job_monarch/templates/header.tpl:

File size: 1.8 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<META http-equiv="refresh" content="{refresh}{redirect}" >
7
8<link rel="stylesheet" type="text/css" href="./lib/extjs/resources/css/ext-all.css" />
9<link rel="stylesheet" type="text/css" href="./css/styles.css" />
10<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
11<!-- <script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script> -->
12<script type="text/javascript" src="./lib/extjs/ext-all.js"></script>
13<!-- <script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script> -->
14<script type="text/javascript" src="./lib/extjs/searchfield.js"></script>
15<script type="text/javascript" src="./js/jobgrid.js"></script>
16<script type="text/javascript">
17Ext.onReady( function(){
18  initJobGrid();
19  JobProxy.on('beforeload', function(p, params) {
20        params.c = "{cluster}";
21        newparams = joinMyArray( params, myfilters );
22        myparams = newparams;
23        params = newparams;
24    });
25  ClusterImageWindow.html = '<IMG SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
26  ClusterImageWindow.height = '{clusterimage_height}';
27  ClusterImageWindow.width = '{clusterimage_width}';
28  ClusterImageWindow.show();
29  JobsDataStore.load( {params: {start: 0, limit: 30}} );
30  JobListingWindow.setTitle( "{cluster} Jobs Overview" );
31  JobListingWindow.show();
32  });
33</script>
34
35</HEAD>
36<BODY BGCOLOR="#FFFFFF">
37
38    <MAP NAME="MONARCH_CLUSTER_BIG">
39    <!-- START BLOCK : node_clustermap -->
40    {node_area_map}
41    <!-- END BLOCK : node_clustermap -->
42    </MAP>
43
44  <A HREF="https://subtrac.sara.nl/oss/jobmonarch/">
45  <IMG SRC="./jobmonarch.gif" ALT="Job Monarch" BORDER="0"></IMG>
46  </A>
Note: See TracBrowser for help on using the repository browser.