mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Signed-off-by: Frederick Borges <fborges@opennebula.io> (cherry picked from commit 52b314a73f360d490eb12d84c8ffe98c9ed415ae)
This commit is contained in:
parent
4e25145e9b
commit
c4d65dcd2f
@ -835,7 +835,7 @@ define(function(require) {
|
||||
}
|
||||
|
||||
// If it has less than "numIPs" IPs
|
||||
var numIPs = 3;
|
||||
var numIPs = 2;
|
||||
if ((ips.length < numIPs)) return ipsStr;
|
||||
|
||||
// Take the first x
|
||||
@ -847,7 +847,7 @@ define(function(require) {
|
||||
|
||||
// Format the other IPs inside a dropdown
|
||||
if (ips.length){
|
||||
html += '<ul class="dropdown menu ips-dropdown" data-dropdown-menu><li><a style="padding-top:0em;padding-bottom:0em;color:gray">'+insideHtml+'...</a><ul class="menu" style="max-height: 25em; overflow: scroll;">';
|
||||
html += '<ul class="dropdown menu ips-dropdown" style=" text-align:left;" data-dropdown-menu><li><a style="padding-top:0em;padding-bottom:0em;padding-left:0em;color:gray">'+insideHtml+'</a><ul class="menu" style="max-height: 25em; overflow: scroll;">';
|
||||
$.each(ips, function(index, value){
|
||||
html+='<li><a style="color:gray">' + value + '</a></li>';
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user