added firewall checks and notices
[monitor.git] / web / MonitorWeb / monitorweb / templates / pcuview.kid
index 9390bb4..bd6fa58 100644 (file)
@@ -76,7 +76,7 @@ from links import *
                        </tbody>
                </table>
        <div class="oneline" id="legend" py:if="len(pcuquery) == 0">
-               <em>There no PCUs associated with this host.</em>
+               <em>There are no PCUs associated with this host.</em>
        </div>
        <div class="oneline" id="legend" py:if="len(pcuquery) > 0">
                <em>Legend: </em>
@@ -145,10 +145,11 @@ from links import *
                                        <th mochi:format="int"></th>
                                        <th>History (scan)</th>
                                        <th>Hostname</th>
+                                       <th>DNS</th>
                                        <th>last_contact (cached)</th>
                                        <th>last_checked</th>
                                        <th nowrap='true'>Port Status</th>
-                                       <th></th>
+                                       <th>Filter</th>
                                        <th></th>
                                        <th></th>
                                </tr>
@@ -162,12 +163,14 @@ from links import *
                                                <a class="ext-link" href="${plc_node_uri_id(agg.node.plc_node_stats['node_id'])}">
                                                        <span class="icon">${agg.node.hostname}</span></a>
                                        </td>
+                                       <td py:content="agg.node.external_dns_status"></td>
                                        <td py:content="diff_time(agg.node.plc_node_stats['last_contact'])"></td>
                                        <td py:content="diff_time(mktime(agg.node.date_checked.timetuple()))"></td>
                                        <td>
                                                <span py:for="port,state in agg.ports" 
                                                id="port${state}" py:content="'%s, ' % port">80</span>
                                        </td>
+                                       <td py:content="agg.node.firewall"></td>
                                        <td>
                                                <!-- TODO: add some values/code to authenticate the operation.  -->
                                                <!--form action="${link('pcuview', hostname=agg.node.hostname)}" name="externalscan${i}" method='post'>