diff options
author | Luke Macken <lmacken@redhat.com> | 2008-01-17 22:34:09 -0500 |
---|---|---|
committer | Luke Macken <lmacken@redhat.com> | 2008-01-17 22:34:09 -0500 |
commit | 2643cf6e852807489d9ad2b30803ea62fef28c01 (patch) | |
tree | 40d754e2667e864b167a5053427fb172bee50350 /funcweb | |
parent | 88c80dcd3f09347f8c6d3926ca163c95a6f36ae0 (diff) | |
download | third_party-func-2643cf6e852807489d9ad2b30803ea62fef28c01.tar.gz third_party-func-2643cf6e852807489d9ad2b30803ea62fef28c01.tar.xz third_party-func-2643cf6e852807489d9ad2b30803ea62fef28c01.zip |
Use some sexy jQuery animations.
Diffstat (limited to 'funcweb')
-rw-r--r-- | funcweb/funcweb/templates/minion.html | 2 | ||||
-rw-r--r-- | funcweb/funcweb/templates/minions.html | 4 | ||||
-rw-r--r-- | funcweb/funcweb/templates/module.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/funcweb/funcweb/templates/minion.html b/funcweb/funcweb/templates/minion.html index bb36d31..2223d57 100644 --- a/funcweb/funcweb/templates/minion.html +++ b/funcweb/funcweb/templates/minion.html @@ -7,7 +7,7 @@ <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> + <a href="#" onclick="$('#col4').hide();$('#col3').hide().load('/minion/${minion}/${module}').show('slow');">${module}</a> </li> </ul> </div> diff --git a/funcweb/funcweb/templates/minions.html b/funcweb/funcweb/templates/minions.html index 63e6396..f303a43 100644 --- a/funcweb/funcweb/templates/minions.html +++ b/funcweb/funcweb/templates/minions.html @@ -7,10 +7,10 @@ <body> <div class="col-group"> <div class="col" id="col1"> - <b>Minions</b> <ul> + <li><h2>minions</h2></li> <li py:for="minion in minions.keys()"> - <a onclick="$('#col2').load('/minion/${minion}')" href="#">${minion}</a> + <a onclick="$('#col3').hide();$('#col4').hide();$('#col2').hide().load('/minion/${minion}').show('slow');" href="#">${minion}</a> </li> </ul> </div> diff --git a/funcweb/funcweb/templates/module.html b/funcweb/funcweb/templates/module.html index ff49b98..2d433f6 100644 --- a/funcweb/funcweb/templates/module.html +++ b/funcweb/funcweb/templates/module.html @@ -7,7 +7,7 @@ <ul py:for="minion, methods in modules.items()"> <h2>${module}</h2> <li py:for="method in methods"> - <a href="#" onclick="$('#col4').load('/minion/${minion}/${module}/${method}')">${method}</a> + <a href="#" onclick="$('#col4').hide().load('/minion/${minion}/${module}/${method}').show('slow')">${method}</a> </li> </ul> </div> |