diff --git a/static/css/webvirtcloud.css b/static/css/webvirtcloud.css index 6f8976c..e938c8f 100644 --- a/static/css/webvirtcloud.css +++ b/static/css/webvirtcloud.css @@ -78,4 +78,8 @@ body { .ace_editor { height: 350px; +} + +.search { + margin: 5px; } \ No newline at end of file diff --git a/templates/instances.html b/templates/instances.html index 031b04c..e158ecd 100644 --- a/templates/instances.html +++ b/templates/instances.html @@ -19,6 +19,9 @@
+ {% if request.user.is_superuser %} @@ -31,7 +34,7 @@ - + {% for host, inst in all_host_vms.items %} {% for vm, info in inst.items %} @@ -105,6 +108,9 @@
Actions
{% else %} + @@ -115,8 +121,7 @@ - - + {% for host, vm in all_user_vms.items %} @@ -205,4 +210,17 @@ window.location = "/create/" + compute + "/"; } + {% endblock %} \ No newline at end of file diff --git a/templates/storage.html b/templates/storage.html index 2d46842..3f6e64d 100644 --- a/templates/storage.html +++ b/templates/storage.html @@ -80,7 +80,10 @@ {% if volumes %}
-
Actions
{{ vm.name }}
+ +
@@ -90,7 +93,7 @@ - + {% for volume in volumes %} @@ -202,4 +205,17 @@ } }); + {% endblock %}
#{% trans "Action" %}
{{ forloop.counter }}