From: Florian G. <re...@us...> - 2008-02-23 15:23:05
|
Update of /cvsroot/perfparse/_perfparse-phpgui/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18204 Modified Files: default.css mainmenu.tpl.html select_host.tpl.html Added Files: tabber.tpl.html Log Message: more redesign Index: mainmenu.tpl.html =================================================================== RCS file: /cvsroot/perfparse/_perfparse-phpgui/templates/mainmenu.tpl.html,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** mainmenu.tpl.html 13 Feb 2008 23:12:11 -0000 1.13 --- mainmenu.tpl.html 23 Feb 2008 15:23:07 -0000 1.14 *************** *** 3,23 **** <TITLE> PerfParse</TITLE> ! ! <!-- $Id$ --> ! <script type="text/javascript" src="tabber.js"></script> ! <link rel="stylesheet" href="templates/default.css" TYPE="text/css" MEDIA="screen"> ! <link rel="stylesheet" href="templates/print.css" TYPE="text/css" MEDIA="print"> ! ! {literal} ! <script type="text/javascript"> ! ! /* Optional: Temporarily hide the "tabber" class so it does not "flash" ! on the page as plain HTML. After tabber runs, the class is changed ! to "tabberlive" and it will appear. */ ! ! document.write('<style type="text/css">.tabber{display:none;}<\/style>'); ! </script> ! {/literal} ! </HEAD> --- 3,7 ---- <TITLE> PerfParse</TITLE> ! {include file="tabber.tpl.html"} </HEAD> Index: select_host.tpl.html =================================================================== RCS file: /cvsroot/perfparse/_perfparse-phpgui/templates/select_host.tpl.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** select_host.tpl.html 23 Jan 2008 22:33:53 -0000 1.9 --- select_host.tpl.html 23 Feb 2008 15:23:07 -0000 1.10 *************** *** 1,21 **** <HTML> <HEAD> ! <TITLE> ! PerfParse</TITLE> ! <BODY BGcolor="#EEFFFF" TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000"> <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 Host to Graph{/tr}</b><br> ! <a href="perfparse.php">{tr}Click to return to main menu{/tr}.</a> ! </td> ! <td width=60 align=right><font face="Arial, Helvetica" size=1>{$version}</td> ! </tr> ! </table> ! </td></tr></table></p> ! <form action="perfparse.php?page=select_metric" method="POST"> <script type="text/javascript" language="javascript"> {literal} --- 1,29 ---- <HTML> <HEAD> ! <TITLE>PerfParse</TITLE> ! ! <!-- $Id$ --> ! {include file="tabber.tpl.html"} ! ! </HEAD> ! ! <BODY> <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 Host to Graph{/tr}</b><br /> ! <a href="perfparse.php">{tr}Click to return to main menu{/tr}.</a> ! </td><td class="normtext" width="20%"> ! {$version} ! </td> ! </tr> ! </table> ! </span> ! <br /> ! </p> ! <script type="text/javascript" language="javascript"> {literal} *************** *** 52,73 **** </script> ! <p align=center> ! <input type="submit" value="{tr}submit{/tr}"> ! <table width=600 border=1 cellpadding=5 cellspacing=0 bgcolor="#CCCCCC"><tr><td> ! <table width="100%" border=0 cellpadding=0 cellspacing=0> ! {foreach from=$hosts key=group item=hostarray} ! <tr> ! <td align=center> ! <fieldset><legend><b>{tr}Group{/tr}:</b> {$group}</legend> ! <input type="checkbox" id="EnaDis{$group}" onclick="javascript:EnableDisableHostgroup(this,'{$group}')"><b>{tr}All hosts of group{/tr}:</b> {$group}<br /> ! {foreach from=$hostarray key=host_id item=host} ! <nobr><input type="checkbox" name="host_id[]" id="{$group}" value="{$host_id}" onclick="javascript:UncheckHostgroupSwitch(this,'{$group}')" >{$host}</nobr> ! {/foreach} ! </fieldset> ! </td></tr> {/foreach} ! </table> <input type="submit" value="{tr}submit{/tr}"> - </p> </form> </body></html> --- 60,76 ---- </script> ! <form action="perfparse.php?page=select_metric" method="POST"> ! <div class="tabber"> ! {foreach from=$hosts key=group item=hostarray} ! <div class="tabbertab"> ! <h2><b>{tr}Group{/tr}:</b> {$group}</h2> ! <input type="checkbox" id="EnaDis{$group}" onclick="javascript:EnableDisableHostgroup(this,'{$group}')"><b>{tr}All hosts of group{/tr}:</b> {$group}<br /> ! {foreach from=$hostarray key=host_id item=host} ! <nobr><input type="checkbox" name="host_id[]" id="{$group}" value="{$host_id}" onclick="javascript:UncheckHostgroupSwitch(this,'{$group}')" >{$host}</nobr><br /> ! {/foreach} ! </div> {/foreach} ! </div> <input type="submit" value="{tr}submit{/tr}"> </form> </body></html> --- NEW FILE: tabber.tpl.html --- <script type="text/javascript" src="tabber.js"></script> <link rel="stylesheet" href="templates/default.css" TYPE="text/css" MEDIA="screen"> <link rel="stylesheet" href="templates/print.css" TYPE="text/css" MEDIA="print"> {literal} <script type="text/javascript"> /* Optional: Temporarily hide the "tabber" class so it does not "flash" on the page as plain HTML. After tabber runs, the class is changed to "tabberlive" and it will appear. */ document.write('<style type="text/css">.tabber{display:none;}<\/style>'); </script> {/literal} Index: default.css =================================================================== RCS file: /cvsroot/perfparse/_perfparse-phpgui/templates/default.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** default.css 23 Jan 2008 22:33:53 -0000 1.1 --- default.css 23 Feb 2008 15:23:07 -0000 1.2 *************** *** 25,31 **** --- 25,49 ---- } + table { + padding: 1ex; + margin: 1ex; + background-color: #DDE; + } + + .logotext { + text-align: center; + font-family: verdana,arial,serif; + font-size: 12pt; + font-weight: bold; + text-decoration: none; + } + + .normtext { + font-size: 8pt; + } .logo { text-align: center; + font-size: 12pt; width: 600px; border: 0.1ex solid #778; |