X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/c6a55b3a1fb15ced3603a409081aab943e81a058..eabe84bd3f3ea514893ec700d598a06c2418f37e:/code/templates/info.mako?ds=sidebyside diff --git a/code/templates/info.mako b/code/templates/info.mako index 0d1b66b..e83fef1 100644 --- a/code/templates/info.mako +++ b/code/templates/info.mako @@ -11,6 +11,11 @@ Info on ${machine.name} % for key, value in fields: ${key}:${value} % endfor + % if on: + % if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]: + CPU history:Domain CPU usage + % endif + % endif @@ -45,9 +50,8 @@ Info on ${machine.name} % endif
- ${command_button("Delete VM", "delete", extra='''onclick="return confirm('Are you sure that you want to delete this VM?');"''')} + ${command_button("Delete VM", "delete", extra='''onclick="return confirm('Are you sure that you want to delete this VM (\\\'%s\\\')?');"''' % (machine.name))}
- <%def name="modifyForm()">