mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
add instance/options/users tab. lists all owners of the instance
This commit is contained in:
parent
380cc2d09b
commit
e45c712d67
2 changed files with 15 additions and 1 deletions
|
|
@ -302,6 +302,8 @@ def instance(request, compute_id, vname):
|
|||
instance = Instance(compute_id=compute_id, name=vname, uuid=uuid)
|
||||
instance.save()
|
||||
|
||||
userinstances = UserInstance.objects.filter(instance=instance).order_by('user__username')
|
||||
|
||||
if request.method == 'POST':
|
||||
if 'poweron' in request.POST:
|
||||
conn.start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue