summaryrefslogtreecommitdiffstats
path: root/funcweb/funcweb/templates/method.html
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-17 13:42:44 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-17 13:42:44 -0500
commit97c21048ebfdcd205888c659393ae4e1f66de034 (patch)
tree6fbd7780118b786c8504991e3a87261a9fe02254 /funcweb/funcweb/templates/method.html
parent5beae9e4bee512ad0b52495a6fa8ba94052a3348 (diff)
downloadfunc-97c21048ebfdcd205888c659393ae4e1f66de034.tar.gz
func-97c21048ebfdcd205888c659393ae4e1f66de034.tar.xz
func-97c21048ebfdcd205888c659393ae4e1f66de034.zip
Add ability to execute methods and view minions/modules/methods from funcweb
Diffstat (limited to 'funcweb/funcweb/templates/method.html')
-rw-r--r--funcweb/funcweb/templates/method.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/funcweb/funcweb/templates/method.html b/funcweb/funcweb/templates/method.html
new file mode 100644
index 0000000..daa0578
--- /dev/null
+++ b/funcweb/funcweb/templates/method.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:py="http://genshi.edgewall.org/"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+<body>
+ <div class="method">
+ ${minion}.${module}.${method}
+ <form action="${tg.url('/run?minion=%s&amp;module=%s&amp;method=%s' % (minion, module, method))}" method="POST">
+ <input type="text" name="arguments" />
+ </form>
+ </div>
+</body>
+</html>