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 List"
5 <html py:layout="'sitemenu.kid'"
6 xmlns:py="http://purl.org/kid/ns#"
7 xmlns:mochi="http://www.mochi.org">
9 <div py:match="item.tag == 'content'">
13 <th><a href="${tg.url('site', filter='good')}">Compliant(${fc['good']})</a></th>
14 <th><a href="${tg.url('site', filter='down')}">Down(${fc['down']})</a></th>
15 <th><a href="${tg.url('site', filter='new')}">New Sites(${fc['new']})</a></th>
16 <th><a href="${tg.url('site', filter='pending')}">Disabled(${fc['pending']})</a></th>
17 <th><a href="${tg.url('site', filter='all')}">All(${fc['all']})</a></th>
23 <table id="sortable_table" class="datagrid" border="1" width="100%">
29 <th mochi:format="int">Slices (created / max)</th>
30 <th mochi:format="int">Nodes (online / registered)</th>
34 <tr py:for="i,site in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
36 <td nowrap="true"><a href="siteview?loginbase=${site.loginbase}">${site.loginbase}</a></td>
37 <td id="site-${site.status}" py:content="site.last_changed"></td>
38 <td>${site.slices_used}/${site.slices_total}</td>
39 <td>${site.nodes_up} / ${site.nodes_total}</td>