adjust admin display
This commit is contained in:
		@ -19,7 +19,7 @@ bp = Blueprint("admin", __name__, url_prefix="/admin")
 | 
			
		||||
def index():
 | 
			
		||||
  hosts = get_model().list_hosts_with_networks()
 | 
			
		||||
  vms_by_host_and_network = get_model().all_non_deleted_vms_by_host_and_network()
 | 
			
		||||
  network_display_width_px = float(250);
 | 
			
		||||
  network_display_width_px = float(500);
 | 
			
		||||
  #operations = get_model().list_all_operations()
 | 
			
		||||
 | 
			
		||||
  display_hosts = []
 | 
			
		||||
@ -48,7 +48,7 @@ def index():
 | 
			
		||||
          network_end_int = int(ipv4_address)
 | 
			
		||||
      
 | 
			
		||||
      network['allocations'] = []
 | 
			
		||||
      network_addresses_width = float((network_end_int-network_start_int)+1)
 | 
			
		||||
      network_addresses_width = float((network_end_int-network_start_int))
 | 
			
		||||
 | 
			
		||||
      if host_id in vms_by_host_and_network:
 | 
			
		||||
        if network['network_name'] in vms_by_host_and_network[host_id]:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user