1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 layout_params['page_title'] = "MyOps Detail View"
4 from monitor.util import diff_time
5 from monitor import config
6 from time import mktime
7 from pcucontrol.reboot import pcu_name, model_to_object
10 <html xmlns:py="http://purl.org/kid/ns#"
11 xmlns:mochi="http://www.mochi.org">
13 <link href="http://monitor.planet-lab.org/monitor/static/css/style.css" type="text/css" rel="stylesheet" />
16 <h3>Nodes for site ${loginbase}</h3>
17 <p>Working on the color...</p>
18 <p py:if="len(nodequery) == 0">
19 There are no registered nodes for this site.
21 <table py:if="len(nodequery) > 0" id="sortable_table" class="datagrid" border="1" width="100%">
30 <tr py:for="i,agg in enumerate(nodequery)" class="${i%2 and 'odd' or 'even'}" >
31 <td><a target="_blank" href="nodehistory?hostname=${agg.node.hostname}">history</a></td>
32 <td id="node-${agg.node.observed_status}" nowrap="true" >
33 <a class="ext-link" target="_blank" href="${plc_node_uri_id(agg.node.plc_node_stats['node_id'])}">
34 <span class="icon">${agg.node.hostname}</span></a>
36 <td py:content="agg.node.observed_status" nowrap="true" ></td>