Commit dbb37bcf by Kálmán Viktor

dashboard: network tab in vm details

parent 2b12660d
......@@ -3,13 +3,18 @@
<h3 class="list-group-item-heading"><i class="icon-globe"></i> vmnet </h3>
{% for i in instance.interface_set.all %}
<h3 class="list-group-item-heading">
<i class="icon-{% if %}globe{% else %}link{% endif %}"></i> {{ i.vlan }}
{% if not %}(unmanaged) <a href="#" class="btn btn-danger btn-xs">remove</a>{% endif %}
{% if %}
<div class="row">
<div class="col-md-5">
<dt>IPv4 address:</dt> <dd></dd>
<dt>IPv6 address:</dt> <dd> 2001:2001:2001:2001:2001:2001::</dd>
<dt>DNS name:</dt> <dd></dd>
<dt>IPv4 address:</dt> <dd>{{ }}</dd>
<dt>IPv6 address:</dt> <dd>{{ }}</dd>
<dt>DNS name:</dt> <dd>{{ }}</dd>
<div class="col-md-7">
......@@ -78,6 +83,5 @@ Interfaces</h2>
<h3 class="list-group-item-heading"><i class="icon-link"></i> grid (unmanaged) <a href="#" class="btn btn-danger btn-xs">remove</a></h3>
<h3 class="list-group-item-heading"><i class="icon-link"></i> asdasd (unmanaged) <a href="#" class="btn btn-danger btn-xs">remove</a></h3>
{% endif %}
{% endfor %}
......@@ -4,7 +4,7 @@
{% block content %}
<div class="body-content">
<div class="page-header">
<h1>{{ }} <small>{{ }}</small></h1>
<h1>{{ }} <small>{{ instance.get_connect_host }}</small></h1>
<div class="row">
<div class="col-md-4" id="vm-info-pane">
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