Remove table column from protocol summary

This commit is contained in:
Zhaofeng Li 2018-11-27 21:18:38 -08:00 committed by Simon Marsh
parent 42bc9cdf87
commit daaf981b32

View File

@ -4,14 +4,13 @@
<h3>{{host}}: {{command}}</h3>
<table class="table table-striped table-bordered table-condensed table-summary">
<thead>
<tr><th>Name</th><th>protocol</th><th>table</th><th>state</th><th>since</th><th>info</th></tr>
<tr><th>Name</th><th>protocol</th><th>state</th><th>since</th><th>info</th></tr>
</thead>
<tbody>
{% for row in summary[host] %}
<tr class="{{ loop.cycle('odd', 'even') }}">
<td><a href="/detail/{{host}}/{{session.proto}}?q={{row.name}}">{{row.name}}</a></td>
<td>{{row.proto}}</td>
<td>{{row.table}}</td>
<td><span class="badge badge-{% if row.state == "up" %}success{% elif row.state == "down" %}info{% else %}danger{% endif %}">{{row.state}}</span></td>
<td>{{row.since}}</td>
<td>{{row.info}}</td>