X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/97a1b45c11a71728664e994cbcdca4801baa8635..refs/tags/0.1.16:/code/templates/info.mako diff --git a/code/templates/info.mako b/code/templates/info.mako index b98e7c2..6d02f06 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 @@ -28,7 +33,7 @@ Info on ${machine.name} % endif <%def name="command_button(title, value, cdrom=False, extra='')">
- + % if cdrom: Boot CD: ${self.fn.cdromList()} @@ -47,7 +52,6 @@ Info on ${machine.name}
${command_button("Delete VM", "delete", extra='''onclick="return confirm('Are you sure that you want to delete this VM?');"''')}
-
<%def name="modifyForm()"> @@ -59,8 +63,7 @@ Info on ${machine.name} % if on: (To edit ram, disk size, or machine name, turn off the machine first.) % endif -
- +
Description:
Owner${self.fn.helppopup("Owner")}: