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'] = "Monitor Site View"
5 <html py:layout="'sitemenu.kid'"
6 xmlns:py="http://purl.org/kid/ns#">
8 <div py:match="item.tag == 'content'">
12 <th><a href="${tg.url('site', filter='good')}">Compliant(${fc['good']})</a></th>
13 <th><a href="${tg.url('site', filter='down')}">Down(${fc['down']})</a></th>
14 <th><a href="${tg.url('site', filter='new')}">New Sites(${fc['new']})</a></th>
15 <th><a href="${tg.url('site', filter='pending')}">Disabled(${fc['pending']})</a></th>
16 <th><a href="${tg.url('site', filter='all')}">All(${fc['all']})</a></th>
22 <table id="sub-table" border="1" width="100%">
27 <th>Slices (created / max)</th>
28 <th>Nodes (online / registered)</th>
32 <tr py:for="i,site in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
33 <td nowrap="true"><a href="">${site.loginbase}</a></td>
34 <td id="site-${site.status}" py:content="site.last_changed"></td>
35 <td>${site.slices_used}/${site.slices_total}</td>
36 <td>${site.nodes_up} / ${site.nodes_total}</td>