Commit 2d45c53a by Kálmán Viktor

dashboard: separate ipv4/ipv6 in vm network in case of multiple managed networks

parent b558a8da
......@@ -11,7 +11,7 @@
{% for i in instance.interface_set.all %}
<h3 class="list-group-item-heading dashboard-vm-details-network-h3">
<i class="icon-{% if %}globe{% else %}link{% endif %}"></i> {{ i.vlan }}
<i class="icon-{% if %}globe{% else %}link{% endif %}"></i> {{ }}
{% if not %}(unmanaged) <a href="#" class="btn btn-danger btn-xs">remove</a>{% endif %}
{% if %}
......@@ -31,12 +31,12 @@
<div class="col-md-7">
<ul class="nav nav-pills pull-right">
<li class="active"><a href="#ipv4" data-toggle="pill" class="text-center">IPv4</a></li>
<li><a href="#ipv6" data-toggle="pill" class="text-center">IPv6</a></li>
<li class="active"><a href="#ipv4_{{ }}" data-toggle="pill" class="text-center">IPv4</a></li>
<li><a href="#ipv6_{{ }}" data-toggle="pill" class="text-center">IPv6</a></li>
<h4>Port access</h4>
<div class="tab-content" style="padding-top: 10px;">
<div class="tab-pane active" id="ipv4">
<div class="tab-pane active" id="ipv4_{{ }}">
<table class="table table-striped rule-table">
......@@ -69,7 +69,7 @@
</div> <!-- /ipv4 -->
<div class="tab-pane" id="ipv6">
<div class="tab-pane" id="ipv6_{{ }}">
{% if %}
<table class="table table-striped rule-table">
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 sign in to comment