Moved sipb-xen-www into a package
[invirt/packages/invirt-web.git] / code / templates / command.tmpl
diff --git a/code/templates/command.tmpl b/code/templates/command.tmpl
new file mode 100644 (file)
index 0000000..4ea55a5
--- /dev/null
@@ -0,0 +1,17 @@
+#from skeleton import skeleton
+#extends skeleton
+
+#def title
+$command $machine.name
+#end def
+
+
+#def body
+<h1>Command successful</h1>
+<p>$command ${machine.name} was successful.</p>
+#if $command == "Delete VM" or True
+<p><a href="list">Return</a></p>
+#else
+<p><a href="info?machine_id=${machine.machine_id}">Return</a></p>
+#end if
+#end def