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

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

job_monarch/templates/header.tpl:

  • load Grid with paging limits

job_monarch/jobstore.php:

  • sort jobs
  • only return jobs within Ext's paging start/limit

job_monarch/js/jobgrid.js:

  • add paging toolbar to Grid
File size: 1.1 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<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base.js"></script>
10<script type="text/javascript" src="./lib/extjs/adapter/ext/ext-base-debug.js"></script>
11<script type="text/javascript" src="./lib/extjs/ext-all.js"></script>
12<script type="text/javascript" src="./lib/extjs/ext-all-debug.js"></script>
13
14<script type="text/javascript" src="./js/jobgrid.js"></script>
15<script type="text/javascript">
16Ext.onReady( function(){
17  initJobGrid();
18  JobProxy.on('beforeload', function(p, params) {
19        params.c = "{cluster}";
20    });
21  JobsDataStore.load( {params: {start: 0, limit: 30}} );
22  JobListingWindow.show();
23  });
24</script>
25
26</HEAD>
27<BODY BGCOLOR="#FFFFFF">
28
29  <A HREF="https://subtrac.sara.nl/oss/jobmonarch/">
30  <IMG SRC="./jobmonarch.gif" ALT="Job Monarch" BORDER="0"></IMG>
31  </A>
Note: See TracBrowser for help on using the repository browser.