From: Florian G. <re...@us...> - 2008-02-26 23:41:45
|
Update of /cvsroot/perfparse/_perfparse-phpgui/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12844 Modified Files: select_metric.tpl.html Log Message: new design Index: select_metric.tpl.html =================================================================== RCS file: /cvsroot/perfparse/_perfparse-phpgui/templates/select_metric.tpl.html,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** select_metric.tpl.html 23 Jan 2008 22:33:53 -0000 1.11 --- select_metric.tpl.html 26 Feb 2008 23:41:46 -0000 1.12 *************** *** 1,7 **** <HTML> <HEAD> ! <TITLE> ! PerfParse</TITLE> ! <BODY BGcolor="#EEFFFF" TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000"> <script type="text/javascript" language="javascript"> {literal} --- 1,11 ---- <HTML> <HEAD> ! <TITLE>PerfParse</TITLE> ! ! <!-- $Id$ --> ! {include file="tabber.tpl.html"} ! </HEAD> ! ! <BODY> <script type="text/javascript" language="javascript"> {literal} *************** *** 37,113 **** </script> <p align=center> ! <table width=600 border=1 cellpadding=5 cellspacing=0 bgcolor="#CCCCCC"><tr><td> ! <table width="100%" border=0 cellpadding=0 cellspacing=0> ! <tr> ! <td width=60><img src="{$http_image_path}perfparse-logo-sm.png" border=0></td> ! <td align=center><font face="Arial, Helvetica" size=2> ! <b>{tr}Select Metric to Graph for host(s){/tr}:<br> {foreach from=$hidnames key=n item=host} '{$host}' {/foreach} ! </b><br><br> ! <a href="perfparse.php">{tr}Click to return to main menu{/tr}.</a><br> ! <a href="perfparse.php?page=select_host">{tr}Click to select another host{/tr}.</a> ! </td> ! <td width=60 align=right><font face="Arial, Helvetica" size=1>{$version}</td> </tr> </table> ! </td></tr></table></p> ! <p align=center> ! <table width=600 border=1 cellpadding=5 cellspacing=0 bgcolor="#CCCCCC"> <form action="perfparse.php?page=graph" method="POST"> ! <tr><td><input type="submit" value="{tr}submit{/tr}"></td></tr> {foreach from=$hidnames key=hostid item=host} ! <tr><td> ! <fieldset><legend><b>{tr}Host{/tr}:</b> {$host}</legend> ! <table width="100%" border=0 cellpadding=0 cellspacing=0> ! {foreach from=$metrics[$hostid] key=serviceid item=metric} ! <tr> ! <td align=center> ! <font face="Arial, Helvetica" size=2><b>{tr}Service{/tr}:</b> {$metric.service_description}</font> ! <table width="100%" border=1 cellpadding=5 cellspacing=0 bgcolor="#FFFFFF"> ! <tr> ! {foreach from=$metric.metrics key=metricid item=metricname} ! <td><font face="Arial, Helvetica" size=2> ! <input type="checkbox" name="graphs[{$metricid}][display]" value="true" id="{$metric.service_description}_{$metricname}" onclick="javascript:UncheckMetricSwitch(this,'all_{$metric.service_description}_{$metricname}')"/>{$metricname} ! </td> ! {/foreach} ! </tr></table> ! </td> ! </tr> {/foreach} ! </table> ! </fieldset> ! </td></tr> {/foreach} {if $numhosts > 1} ! <tr><td> ! <fieldset><legend><b>{tr}Select common metrics for all Hosts{/tr}</legend> ! <table width="100%" border=0 cellpadding=0 cellspacing=0> {foreach from=$diffmetrics key=service item=metric} ! <tr> ! <td align=center> ! <font face="Arial, Helvetica" size=2><b>{tr}Service{/tr}:</b> {$service}</font> ! <table width="100%" border=1 cellpadding=5 cellspacing=0 bgcolor="#FFFFFF"> ! <tr> ! {foreach from=$metric key=n item=m} ! <td><font face="Arial, Helvetica" size=2> ! <input type="checkbox" name="all" id="all_{$service}_{$n}" value="true" onclick="javascript:CheckAllMetrics(this,'{$service}_{$n}')" />{$n} ! ({$m.count} {tr}Hosts{/tr}) ! </td> ! {/foreach} ! </tr></table> ! </td> ! </tr> {/foreach} ! </table> ! </fieldset> ! </td></tr> {/if} ! <tr><td><input type="submit" value="{tr}submit{/tr}"></td></tr> </form> - </table></p> </body></html> --- 41,100 ---- </script> + <p align=center> ! <span class="logo"> ! <table class="logotext"> ! <tr><td> ! <img src="{$http_image_path}perfparse-logo-sm.png" border=0> ! </td><td> ! <b>{tr}Select Metric to Graph for host(s){/tr}:<br /> {foreach from=$hidnames key=n item=host} '{$host}' {/foreach} ! </b><br /> ! <a href="perfparse.php">{tr}Click to return to main menu{/tr}.</a><br /> ! <a href="perfparse.php?page=select_host">{tr}Click to select another host{/tr}.</a> ! </td><td class="normtext" width="20%"> ! {$version} ! </td> </tr> </table> ! </span> ! <br /> ! </p> ! <form action="perfparse.php?page=graph" method="POST"> ! <input type="submit" value="{tr}submit{/tr}"> ! <div class="tabber"> {foreach from=$hidnames key=hostid item=host} ! <div class="tabbertab"> ! <h2><b>{tr}Host{/tr}:</b> {$host}</h2> ! {foreach from=$metrics[$hostid] key=serviceid item=metric} ! <fieldset><legend><b>{tr}Service{/tr}:</b> {$metric.service_description}</legend> ! {foreach from=$metric.metrics key=metricid item=metricname} ! <input type="checkbox" name="graphs[{$metricid}][display]" value="true" id="{$metric.service_description}_{$metricname}" onclick="javascript:UncheckMetricSwitch(this,'all_{$metric.service_description}_{$metricname}')"/>{$metricname} ! <br /> ! {/foreach} ! </fieldset><br /> {/foreach} ! </div> {/foreach} {if $numhosts > 1} ! <div class="tabbertab"> ! <h2><b>{tr}Select common metrics for all Hosts{/tr}</b></h2> {foreach from=$diffmetrics key=service item=metric} ! <fieldset><legend><b>{tr}Service{/tr}:</b> {$service}</legend> ! {foreach from=$metric key=n item=m} ! <input type="checkbox" name="all" id="all_{$service}_{$n}" value="true" onclick="javascript:CheckAllMetrics(this,'{$service}_{$n}')" />{$n} ! ({$m.count} {tr}Hosts{/tr})<br /> ! {/foreach} ! </fieldset> {/foreach} ! </div> <!--tabbertab--> {/if} + </div> <!--tabber--> ! <input type="submit" value="{tr}submit{/tr}"> </form> </body></html> |