Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
2d45c53a
authored
Jan 29, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: separate ipv4/ipv6 in vm network in case of multiple managed networks
parent
b558a8da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
circle/dashboard/templates/dashboard/vm-detail/network.html
+5
-5
No files found.
circle/dashboard/templates/dashboard/vm-detail/network.html
View file @
2d45c53a
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</div>
</div>
{% for i in instance.interface_set.all %}
{% for i in instance.interface_set.all %}
<h3
class=
"list-group-item-heading dashboard-vm-details-network-h3"
>
<h3
class=
"list-group-item-heading dashboard-vm-details-network-h3"
>
<i
class=
"icon-{% if i.host %}globe{% else %}link{% endif %}"
></i>
{{ i.vlan }}
<i
class=
"icon-{% if i.host %}globe{% else %}link{% endif %}"
></i>
{{ i.vlan
.name
}}
{% if not i.host %}(unmanaged)
<a
href=
"#"
class=
"btn btn-danger btn-xs"
>
remove
</a>
{% endif %}
{% if not i.host %}(unmanaged)
<a
href=
"#"
class=
"btn btn-danger btn-xs"
>
remove
</a>
{% endif %}
</h3>
</h3>
{% if i.host %}
{% if i.host %}
...
@@ -31,12 +31,12 @@
...
@@ -31,12 +31,12 @@
</div>
</div>
<div
class=
"col-md-7"
>
<div
class=
"col-md-7"
>
<ul
class=
"nav nav-pills pull-right"
>
<ul
class=
"nav nav-pills pull-right"
>
<li
class=
"active"
><a
href=
"#ipv4"
data-toggle=
"pill"
class=
"text-center"
>
IPv4
</a></li>
<li
class=
"active"
><a
href=
"#ipv4
_{{ i.host.vlan.pk }}
"
data-toggle=
"pill"
class=
"text-center"
>
IPv4
</a></li>
<li><a
href=
"#ipv6"
data-toggle=
"pill"
class=
"text-center"
>
IPv6
</a></li>
<li><a
href=
"#ipv6
_{{ i.host.vlan.pk }}
"
data-toggle=
"pill"
class=
"text-center"
>
IPv6
</a></li>
</ul>
</ul>
<h4>
Port access
</h4>
<h4>
Port access
</h4>
<div
class=
"tab-content"
style=
"padding-top: 10px;"
>
<div
class=
"tab-content"
style=
"padding-top: 10px;"
>
<div
class=
"tab-pane active"
id=
"ipv4"
>
<div
class=
"tab-pane active"
id=
"ipv4
_{{ i.host.vlan.pk }}
"
>
<table
class=
"table table-striped rule-table"
>
<table
class=
"table table-striped rule-table"
>
<thead>
<thead>
<tr><th>
<tr><th>
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</tbody>
</tbody>
</table>
</table>
</div>
<!-- /ipv4 -->
</div>
<!-- /ipv4 -->
<div
class=
"tab-pane"
id=
"ipv6"
>
<div
class=
"tab-pane"
id=
"ipv6
_{{ i.host.vlan.pk }}
"
>
{% if i.host.ipv6 %}
{% if i.host.ipv6 %}
<table
class=
"table table-striped rule-table"
>
<table
class=
"table table-striped rule-table"
>
<thead>
<thead>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment