54 lines
2.0 KiB
HTML
54 lines
2.0 KiB
HTML
<table style='font-size:1em;'>
|
|
<th>
|
|
<td class='title'></td>
|
|
<td class='title'>source</td>
|
|
<td class='title'>tenant</td>
|
|
<td class='title'>service</td>
|
|
<td class='title'>host</td>
|
|
<td class='title'>event</td>
|
|
<td class='title'>instance</td>
|
|
<td class='title'>when</td>
|
|
</th>
|
|
{% if not rows %}
|
|
<tr><td>No results</td></tr>
|
|
{% endif %}
|
|
{% for row in rows %}
|
|
<tr {% if row.highlight %}style='background-color:#FFD88F;'{% endif %} >
|
|
<td>
|
|
{% if allow_expansion %}
|
|
<a href='#' onclick='expand({{state.tenant.tenant_id}}, {{row.id}});'>[+]</a>
|
|
{% endif %}
|
|
</td>
|
|
|
|
<td>
|
|
<td><span style='{% if row.is_error %}background-color:#ffaaaa;{% endif %}'>
|
|
<a href='#' onclick='details({{state.tenant.tenant_id}}, "routing_key", {{row.id}});'>{{row.routing_key}}</a>
|
|
</span>
|
|
</td>
|
|
<td class='cell-border'>
|
|
<a href='#' onclick='details({{state.tenant.tenant_id}}, "nova_tenant", {{row.id}});'>
|
|
{% if row.nova_tenant %}{{row.nova_tenant}}{% endif %}
|
|
</a>
|
|
</td>
|
|
<td class='cell-border'><a href='#' onclick='details({{state.tenant.tenant_id}}, "service", {{row.id}});'>{{row.service}}</a></td>
|
|
<td class='cell-border'><a href='#' onclick='details({{state.tenant.tenant_id}}, "host", {{row.id}});'>{{row.host}}</a></td>
|
|
<td class='cell-border'><b><a href='#' onclick='details({{state.tenant.tenant_id}}, "event", {{row.id}});'>{{row.event}}</a></b></td>
|
|
<td class='cell-border'>
|
|
<a href='#' onclick='details({{state.tenant.tenant_id}}, "instance", {{row.id}});'>
|
|
{% if row.instance %}
|
|
{{row.instance}}
|
|
{% endif %}
|
|
</a>
|
|
</td>
|
|
<td class='cell-border'><a href='#' onclick='details({{state.tenant.tenant_id}}, "when", {{row.id}});'>{% if show_absolute_time %}{{row.when}} (+{{row.when.microsecond}}){%else%}{{row.when|timesince:utc}} ago{%endif%}</a></td>
|
|
</tr>
|
|
{% if allow_expansion %}
|
|
<tr>
|
|
<td colspan=8>
|
|
<div id='row_expansion_{{row.id}}' style='font-size:1.2em'></div>
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</table>
|