summaryrefslogtreecommitdiffstats
path: root/funcweb/funcweb/templates/minion.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/minion.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/minion.html')
-rw-r--r--funcweb/funcweb/templates/minion.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/funcweb/funcweb/templates/minion.html b/funcweb/funcweb/templates/minion.html
new file mode 100644
index 0000000..bb36d31
--- /dev/null
+++ b/funcweb/funcweb/templates/minion.html
@@ -0,0 +1,15 @@
+<!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 id="modules" class="modules">
+ <ul py:for="minion, mods in modules.items()">
+ <h2>${minion}</h2>
+ <li py:for="module in mods">
+ <a href="#" onclick="$('#col3').load('/minion/${minion}/${module}')">${module}</a>
+ </li>
+ </ul>
+ </div>
+</body>
+</html>