コード例 #1
0
ファイル: pdsClientsTab.py プロジェクト: hawkeye438/metpx
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
ファイル: pdsSourceInfos.py プロジェクト: hawkeye438/metpx
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
ファイル: pdsClientInfos.py プロジェクト: khosrow/metpx
    """<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
ファイル: pdsClientsTab.py プロジェクト: khosrow/metpx
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
ファイル: pdsSourcesTab.py プロジェクト: hawkeye438/metpx
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
ファイル: pxCircuitsTab.py プロジェクト: hawkeye438/metpx
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
ファイル: pxCircuitsTab.py プロジェクト: khosrow/metpx
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
ファイル: adminTab.py プロジェクト: hawkeye438/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 """
コード例 #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 """