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 Node List"
4 from monitor.util import diff_time
5 from time import mktime
8 <html py:layout="'sitemenu.kid'"
9 xmlns:py="http://purl.org/kid/ns#"
10 xmlns:mochi="http://www.mochi.org">
12 <div py:match="item.tag == 'content'">
16 <th><a href="${link('node', filter='BOOT')}">Production(${fc['BOOT']})</a></th>
17 <th><a href="${link('node', filter='DEBUG')}">Debug(${fc['DEBUG']})</a></th>
18 <th><a href="${link('node', filter='DOWN')}">Down(${fc['DOWN']})</a></th>
19 <th><a href="${link('node', filter='neverboot')}">Never Booted(${fc['neverboot']})</a></th>
20 <th><a href="${link('node', filter='pending')}">Pending Reply(${fc['pending']})</a></th>
21 <th><a href="${link('node', filter='all')}">All</a></th>
27 <table id="sortable_table" class="datagrid" border="1" width="100%">
30 <th mochi:format="int"></th>
31 ${nodewidget.display(node=None, header=True)}
35 <tr py:for="i,node in enumerate(query)" class="${i%2 and 'odd' or 'even'}" >
37 ${nodewidget.display(node=node, header=None)}