Commit 774ead8e authored by Francesc Guasch's avatar Francesc Guasch
Browse files

fix(frontend): port status on machine options

parent 18e7ffc8
......@@ -38,9 +38,9 @@
<div class="row" ng-repeat="port in showmachine.ports" style="margin-top: 10px">
<div class="col-lg-2 mt-2">
{{port.internal_port}}
<span ng-show="showmachine.is_active && !port.is_up"
<span ng-show="showmachine.is_active && !port.is_active"
class="badge badge-danger">down</span>
<span ng-show="showmachine.is_active && port.is_up"
<span ng-show="showmachine.is_active && port.is_active"
class="badge badge-info">up</span>
</div>
<div class="col-lg-2 mt-2">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment