added action list, for any current acknowledged problems, as well as un-acknowledged...
[monitor.git] / web / MonitorWeb / monitorweb / templates / nodeview.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <?python
3 layout_params['page_title'] = "Monitor Site View"
4 from monitor.util import diff_time
5 ?>
6 <html   py:layout="'sitemenu.kid'"
7         xmlns:py="http://purl.org/kid/ns#"
8         xmlns:mochi="http://www.mochi.org">
9
10   <div py:match="item.tag == 'content'">
11     <h3>Node Status</h3>
12                 <table id="sortable_table" class="datagrid" border="1" width="100%">
13                         <thead>
14                                 <tr>
15                                         <th mochi:format="int"></th>
16                                         <th mochi:format="str">Site</th>
17                                         <th>Hostname</th>
18                                         <th>ping</th>
19                                         <!--th>ssh</th-->
20                                         <th>pcu</th>
21                                         <th>kernel</th>
22                                         <th>last_contact</th>
23                                 </tr>
24                         </thead>
25                         <tbody>
26                                 <tr py:for="i,node in enumerate(nodequery)" class="${i%2 and 'odd' or 'even'}" >
27                                         <td></td>
28                                         <td><a href="">${node.loginbase}</a></td>
29                                         <td id="node-${node.observed_status}" nowrap="true" py:content="node.hostname"></td>
30                                         <td py:content="node.ping_status"></td>
31                                         <td id="status-${node.pcu_short_status}"><a href="pcuview?pcuid=${node.plc_node_stats['pcu_ids']}" py:content="node.pcu_short_status"></a></td>
32                                         <td nowrap="true" py:content="node.kernel"></td>
33                                         <td py:content="diff_time(node.plc_node_stats['last_contact'])"></td>
34                                 </tr>
35                         </tbody>
36                 </table>
37     <h3 py:if="node.pcu_short_status != 'none'">PCU Status</h3>
38     <h3>Actions Taken</h3>
39   </div>
40
41 </html>