1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

Feature #4215: Add vrouter to new group wizard

This commit is contained in:
Carlos Martín 2016-01-22 13:02:15 +01:00
parent 8987396057
commit e0ee90f34f
2 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,7 @@ define(function(require) {
});
$("#group_res_net", context).prop("checked", false);
$("#group_res_vr", context).prop("checked", false);
$(context).off("change", ".admin_view_input");
$(context).on("change", ".admin_view_input", function(){

View File

@ -144,6 +144,7 @@
<th>{{tr "VMs"}}</th>
<th>{{tr "VNets"}}</th>
<th>{{tr "Security Groups"}}</th>
<th>{{tr "Virtual Routers"}}</th>
<th>{{tr "Images"}}</th>
<th>{{tr "Templates"}}</th>
<th>{{tr "Documents"}}<span class="tip">{{tr "Documents are a special tool used for general purposes, mainly by OneFlow. If you want to enable users of this group to use service composition via OneFlow, let it checked."}}</span></th>
@ -153,6 +154,7 @@
<td><input type="checkbox" id="group_res_vm" name="group_res_vm" class="resource_cb" value="VM"></input></td>
<td><input type="checkbox" id="group_res_net" name="group_res_net" class="resource_cb" value="NET"></input></td>
<td><input type="checkbox" id="group_res_sg" name="group_res_sg" class="resource_cb" value="SECGROUP"></input></td>
<td><input type="checkbox" id="group_res_vr" name="group_res_vr" class="resource_cb" value="VROUTER"></input></td>
<td><input type="checkbox" id="group_res_image" name="group_res_image" class="resource_cb" value="IMAGE"></input></td>
<td><input type="checkbox" id="group_res_template" name="group_res_template" class="resource_cb" value="TEMPLATE"></input></td>
<td><input type="checkbox" id="group_res_document" name="group_res_document" class="resource_cb" value="DOCUMENT"></input></td>