diff --git a/circle/dashboard/templates/dashboard/vm-detail/home.html b/circle/dashboard/templates/dashboard/vm-detail/home.html index 6f8bee4..d20e0c2 100644 --- a/circle/dashboard/templates/dashboard/vm-detail/home.html +++ b/circle/dashboard/templates/dashboard/vm-detail/home.html @@ -37,9 +37,8 @@
- - - - + + +
diff --git a/circle/dashboard/templates/dashboard/vm-detail/resources.html b/circle/dashboard/templates/dashboard/vm-detail/resources.html index 37c4270..a521f4a 100644 --- a/circle/dashboard/templates/dashboard/vm-detail/resources.html +++ b/circle/dashboard/templates/dashboard/vm-detail/resources.html @@ -57,7 +57,7 @@ {% for d in instance.disks.all %}

- {{ d.name }} - {{ d.size|filesize }} + {{ d.name }} (#{{ d.id }}) - {{ d.size|filesize }}

{% endfor %} diff --git a/circle/dashboard/urls.py b/circle/dashboard/urls.py index 9f5593f..bb2dc21 100644 --- a/circle/dashboard/urls.py +++ b/circle/dashboard/urls.py @@ -7,6 +7,7 @@ from .views import ( TransferOwnershipView, TransferOwnershipConfirmView, NodeDelete, TemplateList, LeaseDetail, NodeCreate, LeaseCreate, TemplateCreate, FavouriteView, NodeStatus, GroupList, TemplateDelete, LeaseDelete, + VmGraphView, ) urlpatterns = patterns( @@ -57,4 +58,8 @@ urlpatterns = patterns( name='dashboard.views.favourite'), url(r'^group/list/$', GroupList.as_view(), name='dashboard.views.group-list'), + url((r'^vm/(?P\d+)/graph/(?Pcpu|memory|network)/' + r'(?P