Differentiate protocols that are passive and in the 'start' state in the protocol summary view.
This is a normal condition, so the protocols shouldn't be flagged with a 'danger' badge.
This commit is contained in:
parent
66df1b2230
commit
2649fafaf9
@ -11,7 +11,7 @@
|
||||
<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><span class="badge badge-{% if row.state == "up" %}success{% elif row.state == "down" %}info{% else %}danger{% endif %}">{{row.state}}</span></td>
|
||||
<td><span class="badge badge-{% if row.state == "up" %}success{% elif row.state == "down" %}default{% elif row.state == "start" and row.info == "Passive" %}info{% else %}danger{% endif %}">{{row.state}}</span></td>
|
||||
<td>{{row.since}}</td>
|
||||
<td>{{row.info}}</td>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user