X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/d5c709a5a9d53bbff6fae1e3eab6e0a4acf294bf..a9679b94c0821c37b6fecabfc8839b0da9453157:/code/templates/info.mako?ds=sidebyside
diff --git a/code/templates/info.mako b/code/templates/info.mako
index 5af29bb..5423f3d 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:
+ % endif
+ % endif
%def>
@@ -26,26 +31,27 @@ Info on ${machine.name}
VNC console not enabled; still booting?
% endif
% endif
-
+%def>
- Boot CD:
-${self.fn.cdromList()}
+ ${command_button("Delete VM", "delete", extra="onclick=\"return confirm('Are you sure that you want to delete this VM (\\\'" + machine.name + "\\\')?');\"")}
-
-
-
-
%def>
<%def name="modifyForm()">
@@ -57,8 +63,7 @@ ${self.fn.cdromList()}
% if on:
(To edit ram, disk size, or machine name, turn off the machine first.)
% endif
-