print """ <body onLoad="getTime()" text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <!--<span id="digitalclock" class="clock"></span>--> <script type="text/javascript"> <!--show();--> </script> <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine('pdsClients') template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td bgcolor="#cccccc"> <table color="#cccccc" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="500" height="30" align="right" valign="bottom" bgcolor="#cccccc"> <a href="#" title="Toggle Timer" onclick="toggleState(); return false;"><img border=0 height=21 src="/images/bluec0.gif" width=16 name=dizaines></a> <a href="#" title="Toggle Timer" onclick="toggleState(); return false;"><img border=0 height=21 src="/images/bluec0.gif" width=16 name=unites></a>
headers = ["""<a href="#" title="Sort by Machine" onclick="inputDirTable.sort(0); drawTable(inputDirInfos, 'inputDir_body'); return false;">Machine</a>""", """<a href="#" title="Sort by Quantity" onclick="inputDirTable.sort(1); drawTable(inputDirInfos, 'inputDir_body'); return false;"> Queue </a>"""] print """ <body text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine() template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td valign="top" align="center" bgcolor="#cccccc"> <br> <!-- <script type="text/javascript"> new LiveClock('arial', '2', '#000000', '#ffffff', 'UTC Time: ', '', '300', '0', '', '', '', 0); LC_InitializeClocks();
"""<a href="#" title="Cannot sort by this">Date</a>""", """<a href="#" title="Cannot sort by this">Status</a>""" ] print """ <body text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine() template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td valign="top" align="center" bgcolor="#cccccc"> <br> <!-- <script type="text/javascript"> new LiveClock('arial', '2', '#000000', '#ffffff', 'UTC Time: ', '', '300', '0', '', '', '', 0); LC_InitializeClocks();
if os.path.exists(docRoot + clock): print '<script src="%s"></script>' % clock print """ </head> <body text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine('generalMonitoring') template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td valign="top" align="center" bgcolor="#cccccc"> <br> """ if os.path.exists(docRoot + clock): print """
print """ <body text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <!--<span id="digitalclock" class="clock"></span>--> <script type="text/javascript"> <!--show();--> </script> <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine('pdsSources') template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td valign="top" align="center" bgcolor="#cccccc"> <br> <!-- <script type="text/javascript"> new LiveClock('arial', '2', '#000000', '#ffffff', 'UTC Time: ', '', '300', '0', '', '', '', 0); LC_InitializeClocks();
print """ <body onLoad="getTime()" text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <!--<span id="digitalclock" class="clock"></span>--> <script type="text/javascript"> <!--show();--> </script> <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine('pxCircuits') template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td bgcolor="#cccccc"> <table color="#cccccc" border="0" cellspacing="0" cellpadding="0"> <tr><td valign="top" bgcolor="#cccccc">""" checkMessages()
if os.path.exists(docRoot + clock): print '<script src="%s"></script>' % clock print """ </head> <body text="#000000" bgcolor="#3b87a9" link="#00ff00" vlink="ff00ff" > <center> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="70%" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0"> <tr> """ template.tabsLine('admin') template.printMainImage() print """ </tr> </table> </td> </tr> <tr> <td valign="top" align="center" bgcolor="#cccccc"> <br> """ if os.path.exists(docRoot + clock): print """