示例#1
0
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>
示例#2
0
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();
示例#3
0
    """<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();
示例#4
0
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 """
示例#5
0
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();
示例#6
0
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>
示例#7
0
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();
示例#8
0
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()
示例#9
0
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()
示例#10
0
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 """
示例#11
0
文件: adminTab.py 项目: khosrow/metpx
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 """
示例#12
0
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 """