1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

IPv6 Support: Create ipv6 network support added. Some small fixes

This commit is contained in:
catborise 2019-11-08 18:26:47 +03:00
parent 0974193e68
commit 930cef24be
6 changed files with 108 additions and 46 deletions

View file

@ -41,7 +41,7 @@
<div class="col-lg-12">
<div class="alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<i class="fa fa-exclamation-triangle"></i><strong>{% trans "Warning:" %}</strong> {% trans "Hypervisor doesn't have any Networks" %}
<i class="fa fa-exclamation-triangle"></i><strong>{% trans "Warning" %}:</strong> {% trans "Hypervisor doesn't have any network" %}
</div>
</div>
{% else %}
@ -54,8 +54,8 @@
<div class="panel-body">
<div class="row">
<div class="col-xs-4 col-sm-4">
<p><strong>{% trans "Device:" %}</strong></p>
<p><strong>{% trans "Forward:" %}</strong></p>
<p><strong>{% trans "Device" %}:</strong></p>
<p><strong>{% trans "Forward" %}:</strong></p>
</div>
<div class="col-xs-6 col-sm-7">
<p>{{ pool.device }}</p>
@ -81,6 +81,14 @@
$('.bridge_name_form_group_dhcp').show();
}
}).change();
$('#enable_ipv6').change(function (eventObject) {
if ($(this).is(':checked')) {
$('.ipv6_group').show();
} else {
$('.ipv6_group').hide();
}
}).change();
});
</script>
{% endblock %}