<br/>
<div class='titlediv'>
- <h1 class='newstitle'> Client : <TMPL_VAR NAME=clientname> (<TMPL_VAR NAME=label>)</h1>
+ <h1 class='newstitle'> __Client:__ <TMPL_VAR clientname> (<TMPL_VAR label>)</h1>
</div>
<div class='bodydiv'>
-<form action='?'
- <table id='id<TMPL_VAR NAME=ID>'></table>
- <img src="bgraph.pl?client=<TMPL_VAR NAME=clientname>;graph=job_duration;age=2592000;width=420;height=200" alt='Not enough data' >
- <img src="bgraph.pl?client=<TMPL_VAR NAME=clientname>;graph=job_rate;age=2592000;width=420;height=200" alt='Not enough data'>
- <img src="bgraph.pl?client=<TMPL_VAR NAME=clientname>;graph=job_size;age=2592000;width=420;height=200" alt='Not enough data'>
+<form action='?'>
+ <table id='id<TMPL_VAR ID>'></table>
+ <img src="bgraph.pl?<TMPL_VAR grapharg>=<TMPL_VAR clientname>;graph=job_duration;age=<TMPL_VAR age>;width=420;height=200" alt='Not enough data' >
+ <img src="bgraph.pl?<TMPL_VAR grapharg>=<TMPL_VAR clientname>;graph=job_rate;age=<TMPL_VAR age>;width=420;height=200" alt='Not enough data'>
+ <img src="bgraph.pl?<TMPL_VAR grapharg>=<TMPL_VAR clientname>;graph=job_size;age=<TMPL_VAR age>;width=420;height=200" alt='Not enough data'>
<!-- <div class="otherboxtitle">
- Actions
+ __Actions__
</div>
<div class="otherbox">
<h1>Actions</h1>
- <button name='action' value='job' title='Show last job'><img src='/bweb/zoom.png'></button>
- <button name='action' value='dsp_cur_job' title='Show current job'><img src='/bweb/zoom.png'></button>
- <button name='action' value='client_stat' title='Client stats'><img src='/bweb/zoom.png'></button>
+ <button type="submit" class="bp" name='action' value='job' title='__Show last job__'> <img src='/bweb/zoom.png' alt=''>__View last jobs__</button>
+ <button type="submit" class="bp" name='action' value='dsp_cur_job' title='__Show current job__'> <img src='/bweb/zoom.png' alt=''>__View current jobs__</button>
+ <button type="submit" class="bp" name='action' value='client_stat' title='__Client stats__'> <img src='/bweb/zoom.png' alt=''>__View stats__</button>
</div>
-->
</form>
</div>
-<script language="JavaScript">
-var header = new Array("Name", "Nb Jobs", "Nb Bytes", "Nb Files", "Nb Errors");
+<script type="text/javascript" language="JavaScript">
+var header = new Array("__Name__", "__Nb Jobs__", "__Nb Bytes__", "__Nb Files__", "__Nb Errors__");
var data = new Array();
data.push(
- new Array( "<TMPL_VAR NAME=clientname>",
- "<TMPL_VAR NAME=nb_jobs>",
- "<TMPL_VAR NAME=nb_bytes>",
- "<TMPL_VAR NAME=nb_files>",
- "<TMPL_VAR NAME=nb_err>"
+ new Array( "<TMPL_VAR clientname>",
+ "<TMPL_VAR nb_jobs>",
+ human_size(<TMPL_VAR nb_bytes>),
+ "<TMPL_VAR nb_files>",
+ "<TMPL_VAR nb_err>"
)
) ;
nrsTable.setup(
{
- table_name: "id<TMPL_VAR NAME=ID>",
+ table_name: "id<TMPL_VAR ID>",
table_header: header,
table_data: data,
up_icon: up_icon,
odd_cell_color: odd_cell_color,
header_color: header_color,
page_nav: true,
- rows_per_page: rows_per_page,
-// disable_sorting: new Array(1)
+// disable_sorting: new Array(1),
+ rows_per_page: rows_per_page
}
);
</script>