mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
instances view changed. memory usage converted to progress-bar. some bandi007 changes applied
This commit is contained in:
parent
6a7f30d4a6
commit
0778116a40
3 changed files with 14 additions and 8 deletions
|
|
@ -85,7 +85,7 @@ def instances(request):
|
|||
comp_info["mem_size"],
|
||||
comp_info["mem_perc"]][vm]['userinstances'] = get_userinstances_info(check_uuid)
|
||||
except Instance.DoesNotExist:
|
||||
check_uuid = Instance(compute_id=comp.id, name=vm, uuid=info['uuid'])
|
||||
check_uuid = Instance(compute_id=comp["id"], name=vm, uuid=info['uuid'])
|
||||
check_uuid.save()
|
||||
|
||||
if not request.user.is_superuser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue