X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/db21998d48bc1f111410121364027c70b4e7ce5a..69f46741235bec678d9df3d8b741ea3e2d8f2838:/code/templates/info.mako diff --git a/code/templates/info.mako b/code/templates/info.mako index 6d02f06..1fb4284 100644 --- a/code/templates/info.mako +++ b/code/templates/info.mako @@ -5,6 +5,12 @@ Info on ${machine.name} +%if os.path.exists("/etc/invirt/motd.html"): +
+

${open('/etc/invirt/motd.html').read()|n}

+
+%endif + <%def name="infoTable()">

Info

@@ -50,7 +56,7 @@ 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))}