remove stripes as plekit table provides the same functionality.
Barış Metin [Mon, 18 May 2009 13:31:09 +0000 (13:31 +0000)]
web/MonitorWeb/monitorweb/templates/actionlist.kid
web/MonitorWeb/monitorweb/templates/nodelist.kid
web/MonitorWeb/monitorweb/templates/sitehistory.kid
web/MonitorWeb/monitorweb/templates/sitelist.kid
web/MonitorWeb/monitorweb/templates/siteview.kid

index d9cc923..ac49259 100644 (file)
@@ -40,7 +40,7 @@ def zabbix_event_ack_link(eventid):
                                </tr>
                        </thead>
                        <tbody>
-                               <tr py:for="i,node in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
+                               <tr py:for="i,node in enumerate(query)">
                                        <td></td>
                                        <td><a href="${link('pcuview', loginbase=node[0])}">${node[0]}</a></td>
                                        <td nowrap="true" py:content="node[1]"></td>
index 95624d9..fdb4536 100644 (file)
@@ -61,7 +61,7 @@ from links import *
   </tr>
   </thead>
   <tbody>
-    <tr py:for="i,node in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
+    <tr py:for="i,node in enumerate(query)">
       ${nodewidget.display(node=node, header=None)}
     </tr>
 
index 66cc0d1..03143a7 100644 (file)
@@ -28,7 +28,7 @@ from links import *
                                </tr>
                        </thead>
                        <tbody>
-                               <tr py:for="i,site in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
+                               <tr py:for="i,site in enumerate(query)">
                                        <td></td>
                                        <td nowrap="true">
                                                <div class='oneline'>
index 6f40828..358b1b0 100644 (file)
@@ -53,7 +53,7 @@ from links import *
     </tr>
   </thead>
   <tbody>
-    <tr py:for="i,site in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
+    <tr py:for="i,site in enumerate(query)">
       <td nowrap="true">
        <div class='oneline'>
          <a class='left' href="${link('pcuview', loginbase=site.loginbase)}">${site.loginbase}</a>
index 0999b31..ea9a762 100644 (file)
@@ -23,7 +23,7 @@ from links import *
                                </tr>
                        </thead>
                        <tbody>
-                               <tr py:for="i,site in enumerate(sitequery)" class="${i%2 and 'odd' or 'even'}" >
+                               <tr py:for="i,site in enumerate(sitequery)">
                                        <td nowrap="true"><a class="ext-link" href="${plc_site_uri(site.loginbase)}">
                                                        <span class="icon">${site.loginbase}</span></a>
                                        </td>
@@ -52,7 +52,7 @@ from links import *
                                </tr>
                        </thead>
                        <tbody>
-                               <tr py:for="i,node in enumerate(nodequery)" class="${i%2 and 'odd' or 'even'}" >
+                               <tr py:for="i,node in enumerate(nodequery)">
                                        <td></td>
                                        <td id="node-${node.observed_status}" nowrap="true">
                                                <a href="${link('pcuview', hostname=node.hostname)}" py:content="node.hostname">your.host.org</a></td>