summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-18 00:13:23 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-18 00:13:23 -0500
commitd1b2d87114bc4a34231d8b1942de97298172c873 (patch)
treea25fc5ed22d0c875a854c34cdff9e9ac09aa6369 /funcweb
parent3133bf8533b8b5de2d8c9790ed200a5d299f696c (diff)
downloadthird_party-func-d1b2d87114bc4a34231d8b1942de97298172c873.tar.gz
third_party-func-d1b2d87114bc4a34231d8b1942de97298172c873.tar.xz
third_party-func-d1b2d87114bc4a34231d8b1942de97298172c873.zip
Display our method results on our current page.
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/templates/method.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/funcweb/funcweb/templates/method.html b/funcweb/funcweb/templates/method.html
index dc228c0..6cd2dc4 100644
--- a/funcweb/funcweb/templates/method.html
+++ b/funcweb/funcweb/templates/method.html
@@ -5,9 +5,12 @@
<body>
<div class="method">
${minion}.${module}.${method}
- <form action="${tg.url('/run/%s/%s/%s' % (minion, module, method))}" method="POST">
- <input type="text" name="arguments" id="methodargs"/>
+
+ <form action="" method="GET" onsubmit="$('#results').load('/run/${minion}/${module}/${method}/').show('slow'); return false;">
+ <input type="text" name="arguments" id="methodargs" class="methodargs"/>
</form>
+ <div class="results" id="results" />
+
<script type="text/javascript">
$(document).ready($("#methodargs").focus());
</script>