[Kimchi-devel] [PATCH] [Kimchi] Enabling multiselect for VEPA networks

sguimaraes943 at gmail.com sguimaraes943 at gmail.com
Tue Mar 22 21:25:32 UTC 2016


From: Samuel Guimarães <sguimaraes943 at gmail.com>

This patch enables multiselect when the user chooses a VEPA network in "Add a Network" modal window.
-Multiselect is enabled when interfaces > 1
-If nothing is selected, "Create" button won't be disabled but an error message will be displayed.
-Default text when multiselect is enabled is "Select an Interface"
-Search/filter is enabled when interfaces > 10

This won't work unless the latest version of Bootstrap-select is applied (patch sent to ML).

Samuel Guimarães (1):
  Enabling multiselect for VEPA networks

 ui/js/src/kimchi.network_add_main.js | 10 ++++++++++
 ui/pages/network-add.html.tmpl       |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

-- 
1.8.3.1




More information about the Kimchi-devel mailing list